summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/testing/itest/scdl
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-02-15 10:47:37 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-02-15 10:47:37 +0000
commitb397f64ef05011a0273d76e656b8a4f672b8cfe8 (patch)
tree2639504ae7d1834117ace1bcfd9af1a4bdb24b22 /sca-java-2.x/trunk/testing/itest/scdl
parent6a01fa465bd4d5d90b4e6a2177ae17b25858633e (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')
-rw-r--r--sca-java-2.x/trunk/testing/itest/scdl/src/test/java/org/apache/tuscany/sca/itest/scdl/ContributionTestCase.java2
-rw-r--r--sca-java-2.x/trunk/testing/itest/scdl/src/test/resources/sample-binding-sca-calculator-contribution.jarbin0 -> 11431 bytes
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
new 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
Binary files differ