activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cepo...@apache.org
Subject svn commit: r1495907 - in /activemq/activemq-apollo/trunk/apollo-util/src/test: resources/META-INF/services/org.apache.activemq.apollo/ scala/org/apache/activemq/apollo/util/ scala/org/apache/activemq/apollo/util/test/
Date Mon, 24 Jun 2013 02:50:04 GMT
Author: ceposta
Date: Mon Jun 24 02:50:04 2013
New Revision: 1495907

URL: http://svn.apache.org/r1495907
Log:
previously committed wrong version of DtoModuleTest.. fixed it up now..

Modified:
    activemq/activemq-apollo/trunk/apollo-util/src/test/resources/META-INF/services/org.apache.activemq.apollo/dto-module.index
    activemq/activemq-apollo/trunk/apollo-util/src/test/scala/org/apache/activemq/apollo/util/DtoModuleTest.java
    activemq/activemq-apollo/trunk/apollo-util/src/test/scala/org/apache/activemq/apollo/util/test/DtoModule1.java
    activemq/activemq-apollo/trunk/apollo-util/src/test/scala/org/apache/activemq/apollo/util/test/DtoModule2.java
    activemq/activemq-apollo/trunk/apollo-util/src/test/scala/org/apache/activemq/apollo/util/test/DtoModule3.java

Modified: activemq/activemq-apollo/trunk/apollo-util/src/test/resources/META-INF/services/org.apache.activemq.apollo/dto-module.index
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-util/src/test/resources/META-INF/services/org.apache.activemq.apollo/dto-module.index?rev=1495907&r1=1495906&r2=1495907&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-util/src/test/resources/META-INF/services/org.apache.activemq.apollo/dto-module.index
(original)
+++ activemq/activemq-apollo/trunk/apollo-util/src/test/resources/META-INF/services/org.apache.activemq.apollo/dto-module.index
Mon Jun 24 02:50:04 2013
@@ -1,3 +1,3 @@
 org.apache.activemq.apollo.util.test.DtoModule1
 org.apache.activemq.apollo.util.test.DtoModule2
-org.apache.activemq.apollo1.util.test.DtoModule3
\ No newline at end of file
+org.apache.activemq.apollo.util.test.DtoModule3
\ No newline at end of file

Modified: activemq/activemq-apollo/trunk/apollo-util/src/test/scala/org/apache/activemq/apollo/util/DtoModuleTest.java
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-util/src/test/scala/org/apache/activemq/apollo/util/DtoModuleTest.java?rev=1495907&r1=1495906&r2=1495907&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-util/src/test/scala/org/apache/activemq/apollo/util/DtoModuleTest.java
(original)
+++ activemq/activemq-apollo/trunk/apollo-util/src/test/scala/org/apache/activemq/apollo/util/DtoModuleTest.java
Mon Jun 24 02:50:04 2013
@@ -27,6 +27,9 @@ public class DtoModuleTest {
 
     @Test
     public void testDtoSingletons() {
-        assertEquals(0, DtoModule$.MODULE$.packages().length);
+        assertEquals(3, DtoModule$.MODULE$.extension_classes().length);
+
+        // why should this return 3?? there is really only one pacakge
+        assertEquals(3, DtoModule$.MODULE$.packages().length);
     }
 }

Modified: activemq/activemq-apollo/trunk/apollo-util/src/test/scala/org/apache/activemq/apollo/util/test/DtoModule1.java
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-util/src/test/scala/org/apache/activemq/apollo/util/test/DtoModule1.java?rev=1495907&r1=1495906&r2=1495907&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-util/src/test/scala/org/apache/activemq/apollo/util/test/DtoModule1.java
(original)
+++ activemq/activemq-apollo/trunk/apollo-util/src/test/scala/org/apache/activemq/apollo/util/test/DtoModule1.java
Mon Jun 24 02:50:04 2013
@@ -31,6 +31,6 @@ public class DtoModule1 implements DtoMo
 
     @Override
     public Class<?>[] extension_classes() {
-        return new Class<?>[0];
+        return new Class<?>[]{DtoModule1.class, DtoModule2.class, DtoModule3.class};
     }
 }

Modified: activemq/activemq-apollo/trunk/apollo-util/src/test/scala/org/apache/activemq/apollo/util/test/DtoModule2.java
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-util/src/test/scala/org/apache/activemq/apollo/util/test/DtoModule2.java?rev=1495907&r1=1495906&r2=1495907&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-util/src/test/scala/org/apache/activemq/apollo/util/test/DtoModule2.java
(original)
+++ activemq/activemq-apollo/trunk/apollo-util/src/test/scala/org/apache/activemq/apollo/util/test/DtoModule2.java
Mon Jun 24 02:50:04 2013
@@ -29,6 +29,6 @@ public class DtoModule2 implements DtoMo
 
     @Override
     public Class<?>[] extension_classes() {
-        return new Class<?>[0];
+        return new Class<?>[] {DtoModule1.class, DtoModule2.class, DtoModule3.class};
     }
 }

Modified: activemq/activemq-apollo/trunk/apollo-util/src/test/scala/org/apache/activemq/apollo/util/test/DtoModule3.java
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-util/src/test/scala/org/apache/activemq/apollo/util/test/DtoModule3.java?rev=1495907&r1=1495906&r2=1495907&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-util/src/test/scala/org/apache/activemq/apollo/util/test/DtoModule3.java
(original)
+++ activemq/activemq-apollo/trunk/apollo-util/src/test/scala/org/apache/activemq/apollo/util/test/DtoModule3.java
Mon Jun 24 02:50:04 2013
@@ -29,6 +29,6 @@ public class DtoModule3 implements DtoMo
 
     @Override
     public Class<?>[] extension_classes() {
-        return new Class<?>[0];
+        return new Class<?>[]{DtoModule1.class, DtoModule2.class, DtoModule3.class};
     }
 }



Mime
View raw message