harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject svn commit: r376274 - /incubator/harmony/enhanced/classlib/trunk/modules/security2/test/common/unit/java/security/
Date Thu, 09 Feb 2006 12:34:58 GMT
Author: geirm
Date: Thu Feb  9 04:34:57 2006
New Revision: 376274

URL: http://svn.apache.org/viewcvs?rev=376274&view=rev
Log:
class name changes - my quest towards *Test.java


Added:
    incubator/harmony/enhanced/classlib/trunk/modules/security2/test/common/unit/java/security/KeyPairGenerator1Test.java
      - copied, changed from r376142, incubator/harmony/enhanced/classlib/trunk/modules/security2/test/common/unit/java/security/KeyPairGeneratorTest1.java
    incubator/harmony/enhanced/classlib/trunk/modules/security2/test/common/unit/java/security/KeyPairGenerator2Test.java
      - copied, changed from r376142, incubator/harmony/enhanced/classlib/trunk/modules/security2/test/common/unit/java/security/KeyPairGeneratorTest2.java
    incubator/harmony/enhanced/classlib/trunk/modules/security2/test/common/unit/java/security/KeyPairGenerator3Test.java
      - copied, changed from r376142, incubator/harmony/enhanced/classlib/trunk/modules/security2/test/common/unit/java/security/KeyPairGeneratorTest3.java
    incubator/harmony/enhanced/classlib/trunk/modules/security2/test/common/unit/java/security/KeyPairGeneratorSpiTest.java
      - copied, changed from r376142, incubator/harmony/enhanced/classlib/trunk/modules/security2/test/common/unit/java/security/KeyPairGeneratorSpiTests.java
Removed:
    incubator/harmony/enhanced/classlib/trunk/modules/security2/test/common/unit/java/security/KeyPairGeneratorSpiTests.java
    incubator/harmony/enhanced/classlib/trunk/modules/security2/test/common/unit/java/security/KeyPairGeneratorTest1.java
    incubator/harmony/enhanced/classlib/trunk/modules/security2/test/common/unit/java/security/KeyPairGeneratorTest2.java
    incubator/harmony/enhanced/classlib/trunk/modules/security2/test/common/unit/java/security/KeyPairGeneratorTest3.java

Copied: incubator/harmony/enhanced/classlib/trunk/modules/security2/test/common/unit/java/security/KeyPairGenerator1Test.java
(from r376142, incubator/harmony/enhanced/classlib/trunk/modules/security2/test/common/unit/java/security/KeyPairGeneratorTest1.java)
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/security2/test/common/unit/java/security/KeyPairGenerator1Test.java?p2=incubator/harmony/enhanced/classlib/trunk/modules/security2/test/common/unit/java/security/KeyPairGenerator1Test.java&p1=incubator/harmony/enhanced/classlib/trunk/modules/security2/test/common/unit/java/security/KeyPairGeneratorTest1.java&r1=376142&r2=376274&rev=376274&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/security2/test/common/unit/java/security/KeyPairGeneratorTest1.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/security2/test/common/unit/java/security/KeyPairGenerator1Test.java
Thu Feb  9 04:34:57 2006
@@ -33,14 +33,14 @@
  * 
  */
 
-public class KeyPairGeneratorTest1 extends TestCase {
+public class KeyPairGenerator1Test extends TestCase {
 
     /**
      * Constructor for KayPairGeneratorTest.
      * 
      * @param arg0
      */
-    public KeyPairGeneratorTest1(String arg0) {
+    public KeyPairGenerator1Test(String arg0) {
         super(arg0);
     }
 
@@ -498,6 +498,6 @@
     }
 
     public static void main(String args[]) {
-        junit.textui.TestRunner.run(KeyPairGeneratorTest1.class);    
+        junit.textui.TestRunner.run(KeyPairGenerator1Test.class);
     }
 }

Copied: incubator/harmony/enhanced/classlib/trunk/modules/security2/test/common/unit/java/security/KeyPairGenerator2Test.java
(from r376142, incubator/harmony/enhanced/classlib/trunk/modules/security2/test/common/unit/java/security/KeyPairGeneratorTest2.java)
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/security2/test/common/unit/java/security/KeyPairGenerator2Test.java?p2=incubator/harmony/enhanced/classlib/trunk/modules/security2/test/common/unit/java/security/KeyPairGenerator2Test.java&p1=incubator/harmony/enhanced/classlib/trunk/modules/security2/test/common/unit/java/security/KeyPairGeneratorTest2.java&r1=376142&r2=376274&rev=376274&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/security2/test/common/unit/java/security/KeyPairGeneratorTest2.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/security2/test/common/unit/java/security/KeyPairGenerator2Test.java
Thu Feb  9 04:34:57 2006
@@ -36,7 +36,7 @@
  * 
  */
 
-public class KeyPairGeneratorTest2 extends TestCase {
+public class KeyPairGenerator2Test extends TestCase {
     private String KeyPairGeneratorProviderClass = "";
 
     private static final String KeyPairGeneratorProviderClass1 = "java.security.MyKeyPairGenerator1";
@@ -73,7 +73,7 @@
 
     protected void setProv() {
         mProv = (new SpiEngUtils()).new MyProvider("MyKPGenProvider".concat(post),
-                "Testing provider", KeyPairGeneratorTest1.srvKeyPairGenerator.concat(".")
+                "Testing provider", KeyPairGenerator1Test.srvKeyPairGenerator.concat(".")
                         .concat(defaultAlg.concat(post)),
                 KeyPairGeneratorProviderClass);
         Security.insertProviderAt(mProv, 1);
@@ -84,7 +84,7 @@
      * 
      * @param arg0
      */
-    public KeyPairGeneratorTest2(String arg0) {
+    public KeyPairGenerator2Test(String arg0) {
         super(arg0);
     }
 
@@ -431,6 +431,6 @@
         GetInstance03(4);
     }
     public static void main(String args[]) {
-        junit.textui.TestRunner.run(KeyPairGeneratorTest2.class);    
+        junit.textui.TestRunner.run(KeyPairGenerator2Test.class);
     }
 }

Copied: incubator/harmony/enhanced/classlib/trunk/modules/security2/test/common/unit/java/security/KeyPairGenerator3Test.java
(from r376142, incubator/harmony/enhanced/classlib/trunk/modules/security2/test/common/unit/java/security/KeyPairGeneratorTest3.java)
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/security2/test/common/unit/java/security/KeyPairGenerator3Test.java?p2=incubator/harmony/enhanced/classlib/trunk/modules/security2/test/common/unit/java/security/KeyPairGenerator3Test.java&p1=incubator/harmony/enhanced/classlib/trunk/modules/security2/test/common/unit/java/security/KeyPairGeneratorTest3.java&r1=376142&r2=376274&rev=376274&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/security2/test/common/unit/java/security/KeyPairGeneratorTest3.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/security2/test/common/unit/java/security/KeyPairGenerator3Test.java
Thu Feb  9 04:34:57 2006
@@ -33,14 +33,14 @@
  * 
  */
 
-public class KeyPairGeneratorTest3 extends TestCase {
+public class KeyPairGenerator3Test extends TestCase {
 
     /**
-     * Constructor for KeyPairGeneratorTest3.
+     * Constructor for KeyPairGenerator3Test.
      * 
      * @param arg0
      */
-    public KeyPairGeneratorTest3(String arg0) {
+    public KeyPairGenerator3Test(String arg0) {
         super(arg0);
     }
 
@@ -50,30 +50,30 @@
 
     private static boolean DSASupported = false;
     
-    private static String NotSupportMsg = KeyPairGeneratorTest1.NotSupportMsg;
+    private static String NotSupportMsg = KeyPairGenerator1Test.NotSupportMsg;
 
     static {
         validProvider = SpiEngUtils.isSupport(
-                KeyPairGeneratorTest1.validAlgName,
-                KeyPairGeneratorTest1.srvKeyPairGenerator);
+                KeyPairGenerator1Test.validAlgName,
+                KeyPairGenerator1Test.srvKeyPairGenerator);
         DSASupported = (validProvider != null);
         validProviderName = (DSASupported ? validProvider.getName() : null);
     }
 
     protected KeyPairGenerator[] createKPGen() {
         if (!DSASupported) {
-            fail(KeyPairGeneratorTest1.validAlgName
+            fail(KeyPairGenerator1Test.validAlgName
                     + " algorithm is not supported");
             return null;
         }
         KeyPairGenerator[] kpg = new KeyPairGenerator[3];
         try {
             kpg[0] = KeyPairGenerator
-                    .getInstance(KeyPairGeneratorTest1.validAlgName);
+                    .getInstance(KeyPairGenerator1Test.validAlgName);
             kpg[1] = KeyPairGenerator.getInstance(
-                    KeyPairGeneratorTest1.validAlgName, validProvider);
+                    KeyPairGenerator1Test.validAlgName, validProvider);
             kpg[2] = KeyPairGenerator.getInstance(
-                    KeyPairGeneratorTest1.validAlgName, validProviderName);
+                    KeyPairGenerator1Test.validAlgName, validProviderName);
             return kpg;
         } catch (Exception e) {
             e.printStackTrace();
@@ -134,7 +134,7 @@
     }
 
     public static void main(String args[]) {
-        junit.textui.TestRunner.run(KeyPairGeneratorTest3.class);    
+        junit.textui.TestRunner.run(KeyPairGenerator3Test.class);
     }
     
 }

Copied: incubator/harmony/enhanced/classlib/trunk/modules/security2/test/common/unit/java/security/KeyPairGeneratorSpiTest.java
(from r376142, incubator/harmony/enhanced/classlib/trunk/modules/security2/test/common/unit/java/security/KeyPairGeneratorSpiTests.java)
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/security2/test/common/unit/java/security/KeyPairGeneratorSpiTest.java?p2=incubator/harmony/enhanced/classlib/trunk/modules/security2/test/common/unit/java/security/KeyPairGeneratorSpiTest.java&p1=incubator/harmony/enhanced/classlib/trunk/modules/security2/test/common/unit/java/security/KeyPairGeneratorSpiTests.java&r1=376142&r2=376274&rev=376274&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/security2/test/common/unit/java/security/KeyPairGeneratorSpiTests.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/security2/test/common/unit/java/security/KeyPairGeneratorSpiTest.java
Thu Feb  9 04:34:57 2006
@@ -31,14 +31,14 @@
  * 
  */
 
-public class KeyPairGeneratorSpiTests extends TestCase {
+public class KeyPairGeneratorSpiTest extends TestCase {
 
     /**
-     * Constructor for KeyPairGeneratorSpiTests.
+     * Constructor for KeyPairGeneratorSpiTest.
      * 
      * @param arg0
      */
-    public KeyPairGeneratorSpiTests(String arg0) {
+    public KeyPairGeneratorSpiTest(String arg0) {
         super(arg0);
     }
 
@@ -77,7 +77,7 @@
         assertNull("Not null KeyPair", kp);
     }
     public static void main(String args[]) {
-        junit.textui.TestRunner.run(KeyPairGeneratorSpiTests.class);
+        junit.textui.TestRunner.run(KeyPairGeneratorSpiTest.class);
     }
 
 }



Mime
View raw message