felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r1690697 - /felix/trunk/resolver/src/test/java/org/apache/felix/resolver/test/ResolverTest.java
Date Mon, 13 Jul 2015 15:16:13 GMT
Author: gnodet
Date: Mon Jul 13 15:16:13 2015
New Revision: 1690697

URL: http://svn.apache.org/r1690697
Log:
[FELIX-4942] Add some missing capabilities to a test.

Modified:
    felix/trunk/resolver/src/test/java/org/apache/felix/resolver/test/ResolverTest.java

Modified: felix/trunk/resolver/src/test/java/org/apache/felix/resolver/test/ResolverTest.java
URL: http://svn.apache.org/viewvc/felix/trunk/resolver/src/test/java/org/apache/felix/resolver/test/ResolverTest.java?rev=1690697&r1=1690696&r2=1690697&view=diff
==============================================================================
--- felix/trunk/resolver/src/test/java/org/apache/felix/resolver/test/ResolverTest.java (original)
+++ felix/trunk/resolver/src/test/java/org/apache/felix/resolver/test/ResolverTest.java Mon
Jul 13 15:16:13 2015
@@ -614,10 +614,12 @@ public class ResolverTest
         ResourceImpl c1 = new ResourceImpl("C");
         c1.addCapability(new BundleCapability(c1, "C"));
         Capability c1_p1 = new PackageCapability(c1, "p1");
+        c1.addCapability(c1_p1);
 
         ResourceImpl c2 = new ResourceImpl("C");
         c2.addCapability(new BundleCapability(c2, "C"));
         Capability c2_p1 = new PackageCapability(c2, "p1");
+        c2.addCapability(c2_p1);
 
         ResourceImpl d1 = new ResourceImpl("D");
         GenericCapability d1_generic = new GenericCapability(d1, "generic");



Mime
View raw message