incubator-aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From awojtun...@apache.org
Subject svn commit: r929337 - /incubator/aries/trunk/jmx/jmx-core/src/test/java/org/apache/aries/jmx/framework/FrameworkTest.java
Date Tue, 30 Mar 2010 23:10:23 GMT
Author: awojtuniak
Date: Tue Mar 30 23:10:23 2010
New Revision: 929337

URL: http://svn.apache.org/viewvc?rev=929337&view=rev
Log:
ARIES-30 updating framework test

Modified:
    incubator/aries/trunk/jmx/jmx-core/src/test/java/org/apache/aries/jmx/framework/FrameworkTest.java

Modified: incubator/aries/trunk/jmx/jmx-core/src/test/java/org/apache/aries/jmx/framework/FrameworkTest.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/jmx/jmx-core/src/test/java/org/apache/aries/jmx/framework/FrameworkTest.java?rev=929337&r1=929336&r2=929337&view=diff
==============================================================================
--- incubator/aries/trunk/jmx/jmx-core/src/test/java/org/apache/aries/jmx/framework/FrameworkTest.java
(original)
+++ incubator/aries/trunk/jmx/jmx-core/src/test/java/org/apache/aries/jmx/framework/FrameworkTest.java
Tue Mar 30 23:10:23 2010
@@ -140,7 +140,7 @@ public class FrameworkTest {
         Assert.assertNotNull(batch2.getError());
         Assert.assertEquals("file:test.jar", batch2.getBundleInError());
         Assert.assertNotNull(batch2.getRemainingLocationItems());
-        Assert.assertEquals(0, batch2.getRemainingLocationItems()); 
+        Assert.assertEquals(0, batch2.getRemainingLocationItems().length); 
     }
 
     @Test
@@ -166,12 +166,12 @@ public class FrameworkTest {
         BatchInstallResult batch2 = BatchInstallResult.from(data2);
         Assert.assertNotNull(batch2);
         Assert.assertNotNull(batch2.getCompleted());
-        Assert.assertEquals(0, batch2.getCompleted());
+        Assert.assertEquals(0, batch2.getCompleted().length);
         Assert.assertFalse(batch2.isSuccess());
         Assert.assertNotNull(batch2.getError());
         Assert.assertEquals("file:test.jar", batch2.getBundleInError());
         Assert.assertNotNull(batch2.getRemainingLocationItems());
-        Assert.assertEquals(0, batch2.getRemainingLocationItems());     
+        Assert.assertEquals(0, batch2.getRemainingLocationItems().length);     
     }
 
     @Test



Mime
View raw message