diff options
-rw-r--r-- | sca-java-2.x/trunk/modules/domain-node/src/test/java/org/apache/tuscany/sca/impl/ContributionClassLoaderTestCase.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/modules/domain-node/src/test/java/org/apache/tuscany/sca/impl/ContributionClassLoaderTestCase.java b/sca-java-2.x/trunk/modules/domain-node/src/test/java/org/apache/tuscany/sca/impl/ContributionClassLoaderTestCase.java index f7f7f9f6bc..298c20b093 100644 --- a/sca-java-2.x/trunk/modules/domain-node/src/test/java/org/apache/tuscany/sca/impl/ContributionClassLoaderTestCase.java +++ b/sca-java-2.x/trunk/modules/domain-node/src/test/java/org/apache/tuscany/sca/impl/ContributionClassLoaderTestCase.java @@ -40,7 +40,10 @@ public class ContributionClassLoaderTestCase { Contribution contribution = node.getContribution(curi);
Assert.assertNull(contribution.getClassLoader());
node.validateContribution(curi);
- Assert.assertNotNull(contribution.getClassLoader());
+ ClassLoader cl1 = contribution.getClassLoader();
+ Assert.assertNotNull(cl1);
+ node.startComposite(curi, "helloworld.composite");
+ Assert.assertEquals(cl1, node.getContribution(curi).getClassLoader());
}
}
|