diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2008-09-17 05:53:17 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2008-09-17 05:53:17 +0000 |
commit | adbae7c20364b79ce3ec4fe5b1c14cac2e4cce41 (patch) | |
tree | 6dcbfacdea8738157106ff320ff3f80686a774f2 /branches/sca-equinox/vtest | |
parent | b6f3a77061869d3efadb83ae7bac6d4b3fb95605 (diff) |
TUSCANY-2243 You can't get at references that are not defined in the component type (see TUSCANY-2501) so I've fixed this test to retrieve a a reference to "b" which is defined in the component type.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@696166 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-equinox/vtest')
2 files changed, 2 insertions, 2 deletions
diff --git a/branches/sca-equinox/vtest/java-api/conversation/lifetime/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/lifetime/impl/AServiceImpl.java b/branches/sca-equinox/vtest/java-api/conversation/lifetime/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/lifetime/impl/AServiceImpl.java index 1a1574561d..56bfcabfc4 100644 --- a/branches/sca-equinox/vtest/java-api/conversation/lifetime/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/lifetime/impl/AServiceImpl.java +++ b/branches/sca-equinox/vtest/java-api/conversation/lifetime/src/main/java/org/apache/tuscany/sca/vtest/javaapi/conversation/lifetime/impl/AServiceImpl.java @@ -57,7 +57,7 @@ public class AServiceImpl implements AService, AServiceCallback { } public void testConversationStarted2() { - ServiceReference<CService> ref = context.getServiceReference(CService.class, "c"); + ServiceReference<BService> ref = context.getServiceReference(BService.class, "b"); ref.getService().setState("Some state"); Assert.assertNotNull(ref.getConversation().getConversationID()); } diff --git a/branches/sca-equinox/vtest/java-api/conversation/lifetime/src/test/java/org/apache/tuscany/sca/vtest/javaapi/conversation/lifetime/LifetimeTestCase.java b/branches/sca-equinox/vtest/java-api/conversation/lifetime/src/test/java/org/apache/tuscany/sca/vtest/javaapi/conversation/lifetime/LifetimeTestCase.java index 2e5785f7d3..987ac3539f 100644 --- a/branches/sca-equinox/vtest/java-api/conversation/lifetime/src/test/java/org/apache/tuscany/sca/vtest/javaapi/conversation/lifetime/LifetimeTestCase.java +++ b/branches/sca-equinox/vtest/java-api/conversation/lifetime/src/test/java/org/apache/tuscany/sca/vtest/javaapi/conversation/lifetime/LifetimeTestCase.java @@ -73,7 +73,7 @@ public class LifetimeTestCase { * method of the service is called. */ @Test - @Ignore("TUSCANY-2243") + //@Ignore("TUSCANY-2243") public void lifetime2() throws Exception { aService.testConversationStarted2(); } |