summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/itest/ws/http-ssl/src/test/java
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-02-26 14:46:05 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-02-26 14:46:05 +0000
commitc98af2296d261e2d109da546b1a0bb60bb66e914 (patch)
treedb84713fd95fa86b38f6b4c6b43650b1e7bead4f /sca-java-2.x/trunk/itest/ws/http-ssl/src/test/java
parente4359749c3a2a8e0f44668c53d505e3353a24a96 (diff)
Extend test case for binding with no explicit URL
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@916697 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/itest/ws/http-ssl/src/test/java')
-rw-r--r--sca-java-2.x/trunk/itest/ws/http-ssl/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/HTTPSTestCase.java13
1 files changed, 8 insertions, 5 deletions
diff --git a/sca-java-2.x/trunk/itest/ws/http-ssl/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/HTTPSTestCase.java b/sca-java-2.x/trunk/itest/ws/http-ssl/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/HTTPSTestCase.java
index 9ebd7cbe05..f117c5d4ec 100644
--- a/sca-java-2.x/trunk/itest/ws/http-ssl/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/HTTPSTestCase.java
+++ b/sca-java-2.x/trunk/itest/ws/http-ssl/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/HTTPSTestCase.java
@@ -30,18 +30,21 @@ public class HTTPSTestCase extends TestCase {
private Node node;
private HelloWorld helloWorld;
-
- public void testCalculator() throws Exception {
- assertEquals("Hello petra", helloWorld.getGreetings("petra"));
- }
-
+ private HelloWorld helloWorld2;
+
@Override
protected void setUp() throws Exception {
node = NodeFactory.newInstance().createNode(new Contribution("test", "target/classes"));
node.start();
helloWorld = node.getService(HelloWorld.class, "HelloWorldClient");
+ helloWorld2 = node.getService(HelloWorld.class, "HelloWorldClient2");
}
+ public void testCalculator() throws Exception {
+ assertEquals("Hello petra", helloWorld.getGreetings("petra"));
+ assertEquals("Hello petra", helloWorld2.getGreetings("petra"));
+ }
+
@Override
protected void tearDown() throws Exception {
node.stop();