harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r509131 - /harmony/enhanced/classlib/trunk/modules/security/src/test/impl/java.injected/java/security/Security_ImplTest.java
Date Mon, 19 Feb 2007 08:42:42 GMT
Author: smishura
Date: Mon Feb 19 00:42:41 2007
New Revision: 509131

URL: http://svn.apache.org/viewvc?view=rev&rev=509131
Log:
Minor update

Modified:
    harmony/enhanced/classlib/trunk/modules/security/src/test/impl/java.injected/java/security/Security_ImplTest.java

Modified: harmony/enhanced/classlib/trunk/modules/security/src/test/impl/java.injected/java/security/Security_ImplTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/security/src/test/impl/java.injected/java/security/Security_ImplTest.java?view=diff&rev=509131&r1=509130&r2=509131
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/security/src/test/impl/java.injected/java/security/Security_ImplTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/security/src/test/impl/java.injected/java/security/Security_ImplTest.java
Mon Feb 19 00:42:41 2007
@@ -22,8 +22,8 @@
 
 package java.security;
 
+import java.util.HashMap;
 import java.util.Map;
-import java.util.Properties;
 import java.util.Set;
 
 import junit.framework.TestCase;
@@ -68,7 +68,7 @@
     }
 
     /**
-     * java.security.Security#getProviders(String)
+     * @tests java.security.Security#getProviders(String)
      */
     public final void test_getProvidersLjava_lang_String() {
         // Regression for Harmony-3154 (non-bug difference)
@@ -80,11 +80,11 @@
     }
 
     /**
-     * java.security.Security#getProviders(Map)
+     * @tests java.security.Security#getProviders(Map)
      */
     public final void test_getProvidersLjava_util_Map() {
         // Regression for Harmony-3154 (non-bug difference)
-        Map m = new Properties();
+        Map<String, String> m = new HashMap<String, String>();
         m.put("AAA.BBB CCC", "");
         m.put("AAA.BBB", "");
         try {
@@ -119,6 +119,7 @@
         }
     }
 
+    @SuppressWarnings("serial")
     class MyProvider extends Provider {
         MyProvider() {
             super("MyProvider", 1.0, "Provider for testing");



Mime
View raw message