diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2011-02-15 10:47:37 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2011-02-15 10:47:37 +0000 |
commit | b397f64ef05011a0273d76e656b8a4f672b8cfe8 (patch) | |
tree | 2639504ae7d1834117ace1bcfd9af1a4bdb24b22 /sca-java-2.x/trunk/testing/itest/scdl/src/test | |
parent | 6a01fa465bd4d5d90b4e6a2177ae17b25858633e (diff) |
Update to embed the calculator contribution in the itest now that the samples are empty
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1070832 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/testing/itest/scdl/src/test')
2 files changed, 1 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/testing/itest/scdl/src/test/java/org/apache/tuscany/sca/itest/scdl/ContributionTestCase.java b/sca-java-2.x/trunk/testing/itest/scdl/src/test/java/org/apache/tuscany/sca/itest/scdl/ContributionTestCase.java index 50587caf27..64329a3303 100644 --- a/sca-java-2.x/trunk/testing/itest/scdl/src/test/java/org/apache/tuscany/sca/itest/scdl/ContributionTestCase.java +++ b/sca-java-2.x/trunk/testing/itest/scdl/src/test/java/org/apache/tuscany/sca/itest/scdl/ContributionTestCase.java @@ -47,7 +47,7 @@ public class ContributionTestCase { @Test
public void testRead() throws Exception {
Deployer deployer = new DefaultDeployer();
- File file = new File("../../../samples/learning-more/binding-sca/calculator-contribution/target/sample-binding-sca-calculator-contribution.jar");
+ File file = new File("src/test/resources/sample-binding-sca-calculator-contribution.jar");
URL url = file.toURI().toURL();
Monitor monitor = deployer.createMonitor();
Contribution contribution = deployer.loadContribution(url.toURI(), url, monitor);
diff --git a/sca-java-2.x/trunk/testing/itest/scdl/src/test/resources/sample-binding-sca-calculator-contribution.jar b/sca-java-2.x/trunk/testing/itest/scdl/src/test/resources/sample-binding-sca-calculator-contribution.jar Binary files differnew file mode 100644 index 0000000000..8a79413c1b --- /dev/null +++ b/sca-java-2.x/trunk/testing/itest/scdl/src/test/resources/sample-binding-sca-calculator-contribution.jar |