felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r1203120 - in /felix/trunk/configadmin/src/test/java/org/apache/felix/cm/integration: MultiServiceFactoryPIDTest.java MultiServicePIDTest.java
Date Thu, 17 Nov 2011 09:11:18 GMT
Author: fmeschbe
Date: Thu Nov 17 09:11:18 2011
New Revision: 1203120

URL: http://svn.apache.org/viewvc?rev=1203120&view=rev
Log:
Fix test cases

Modified:
    felix/trunk/configadmin/src/test/java/org/apache/felix/cm/integration/MultiServiceFactoryPIDTest.java
    felix/trunk/configadmin/src/test/java/org/apache/felix/cm/integration/MultiServicePIDTest.java

Modified: felix/trunk/configadmin/src/test/java/org/apache/felix/cm/integration/MultiServiceFactoryPIDTest.java
URL: http://svn.apache.org/viewvc/felix/trunk/configadmin/src/test/java/org/apache/felix/cm/integration/MultiServiceFactoryPIDTest.java?rev=1203120&r1=1203119&r2=1203120&view=diff
==============================================================================
--- felix/trunk/configadmin/src/test/java/org/apache/felix/cm/integration/MultiServiceFactoryPIDTest.java
(original)
+++ felix/trunk/configadmin/src/test/java/org/apache/felix/cm/integration/MultiServiceFactoryPIDTest.java
Thu Nov 17 09:11:18 2011
@@ -66,7 +66,7 @@ public class MultiServiceFactoryPIDTest 
 
         // assert activater has configuration (two calls, one per pid)
         TestCase.assertNotNull( "Expect Properties after Service Registration", tester.configs.get(
pid ) );
-        TestCase.assertEquals( "Expect a single update call", 1, tester.numManagedServiceFactoryUpdatedCalls
);
+        TestCase.assertEquals( "Expect two update calls", 2, tester.numManagedServiceFactoryUpdatedCalls
);
 
         TestCase.assertEquals( bundle.getLocation(), config.getBundleLocation() );
 

Modified: felix/trunk/configadmin/src/test/java/org/apache/felix/cm/integration/MultiServicePIDTest.java
URL: http://svn.apache.org/viewvc/felix/trunk/configadmin/src/test/java/org/apache/felix/cm/integration/MultiServicePIDTest.java?rev=1203120&r1=1203119&r2=1203120&view=diff
==============================================================================
--- felix/trunk/configadmin/src/test/java/org/apache/felix/cm/integration/MultiServicePIDTest.java
(original)
+++ felix/trunk/configadmin/src/test/java/org/apache/felix/cm/integration/MultiServicePIDTest.java
Thu Nov 17 09:11:18 2011
@@ -67,7 +67,7 @@ public class MultiServicePIDTest extends
 
         // assert activater has configuration (two calls, one per pid)
         TestCase.assertNotNull( "Expect Properties after Service Registration", tester.props
);
-        TestCase.assertEquals( "Expect a single update call", 2, tester.numManagedServiceUpdatedCalls
);
+        TestCase.assertEquals( "Expect two update calls", 2, tester.numManagedServiceUpdatedCalls
);
 
         TestCase.assertEquals( bundle.getLocation(), config.getBundleLocation() );
 



Mime
View raw message