From 65716670460fff72be3ff7975ab6d0fb699089ed Mon Sep 17 00:00:00 2001 From: rfeng Date: Thu, 22 Jan 2009 01:00:00 +0000 Subject: Fix the test case so that they can work with OSGi git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@736511 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/test/java/calculator/CalculatorRMIReferenceTestCase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'java/sca/samples/calculator-rmi-reference/src') diff --git a/java/sca/samples/calculator-rmi-reference/src/test/java/calculator/CalculatorRMIReferenceTestCase.java b/java/sca/samples/calculator-rmi-reference/src/test/java/calculator/CalculatorRMIReferenceTestCase.java index f14191c411..b7aa70f122 100644 --- a/java/sca/samples/calculator-rmi-reference/src/test/java/calculator/CalculatorRMIReferenceTestCase.java +++ b/java/sca/samples/calculator-rmi-reference/src/test/java/calculator/CalculatorRMIReferenceTestCase.java @@ -46,7 +46,7 @@ public class CalculatorRMIReferenceTestCase { Registry rmiRegistry = LocateRegistry.createRegistry(8099); rmiRegistry.bind("CalculatorRMIService", rmiCalculatorImpl); - String uri = ContributionLocationHelper.getContributionLocation("CalculatorRMIReference.composite"); + String uri = ContributionLocationHelper.getContributionLocation(CalculatorService.class); Contribution contribution = new Contribution("c1", uri); node = NodeFactory.newInstance().createNode("CalculatorRMIReference.composite", contribution); node.start(); -- cgit v1.2.3