harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r418811 - /incubator/harmony/enhanced/classlib/trunk/modules/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/ExemptionMechanismTest.java
Date Mon, 03 Jul 2006 17:27:59 GMT
Author: tellison
Date: Mon Jul  3 10:27:58 2006
New Revision: 418811

URL: http://svn.apache.org/viewvc?rev=418811&view=rev
Log:
Rename mock test class.

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/ExemptionMechanismTest.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/ExemptionMechanismTest.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/ExemptionMechanismTest.java?rev=418811&r1=418810&r2=418811&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/ExemptionMechanismTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/ExemptionMechanismTest.java
Mon Jul  3 10:27:58 2006
@@ -64,7 +64,7 @@
                 ExemptionMechanismProviderClass);
         
         ExemptionMechanismSpi spi = new MyExemptionMechanismSpi();
-        ExemptionMechanism em = new myEM(spi, mProv, defaultAlg);
+        ExemptionMechanism em = new MyMechanism(spi, mProv, defaultAlg);
         
         assertEquals("Incorrect provider", em.getProvider(), mProv);
         assertEquals("Incorrect algorithm", em.getName(), defaultAlg);
@@ -78,7 +78,7 @@
             fail("IllegalStateException must be thrown");
         } catch (IllegalStateException e) {
         }        
-        em = new myEM(null, null, null);
+        em = new MyMechanism(null, null, null);
         assertNull("Incorrect mechanism", em.getName());
         assertNull("Incorrect provider", em.getProvider());
         try {
@@ -94,9 +94,9 @@
     }
 }
 
-class myEM extends ExemptionMechanism {
+class MyMechanism extends ExemptionMechanism {
 
-    public myEM(ExemptionMechanismSpi spi, Provider prov, String mechanism) {
+    public MyMechanism(ExemptionMechanismSpi spi, Provider prov, String mechanism) {
         super(spi, prov, mechanism);
     }
 



Mime
View raw message