From b397f64ef05011a0273d76e656b8a4f672b8cfe8 Mon Sep 17 00:00:00 2001 From: antelder Date: Tue, 15 Feb 2011 10:47:37 +0000 Subject: 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 --- .../tuscany/sca/itest/scdl/ContributionTestCase.java | 2 +- .../sample-binding-sca-calculator-contribution.jar | Bin 0 -> 11431 bytes 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 sca-java-2.x/trunk/testing/itest/scdl/src/test/resources/sample-binding-sca-calculator-contribution.jar (limited to 'sca-java-2.x/trunk/testing/itest/scdl') 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 Binary files /dev/null and b/sca-java-2.x/trunk/testing/itest/scdl/src/test/resources/sample-binding-sca-calculator-contribution.jar differ -- cgit v1.2.3