You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by na...@apache.org on 2008/06/12 12:32:30 UTC
svn commit: r667036 - in
/incubator/tuscany/java/sca/vtest/java-api/apis/callablereference/src:
main/java/org/apache/tuscany/sca/vtest/javaapi/apis/callablereference/
main/java/org/apache/tuscany/sca/vtest/javaapi/apis/callablereference/impl/
test/java...
Author: nash
Date: Thu Jun 12 03:32:29 2008
New Revision: 667036
URL: http://svn.apache.org/viewvc?rev=667036&view=rev
Log:
Update callable reference test to match correct behaviour of getConversation() method
Modified:
incubator/tuscany/java/sca/vtest/java-api/apis/callablereference/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/callablereference/BComponent.java
incubator/tuscany/java/sca/vtest/java-api/apis/callablereference/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/callablereference/impl/BComponentImpl.java
incubator/tuscany/java/sca/vtest/java-api/apis/callablereference/src/test/java/org/apache/tuscany/sca/vtest/javaapi/apis/callablereference/CallableReferenceTestCase.java
Modified: incubator/tuscany/java/sca/vtest/java-api/apis/callablereference/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/callablereference/BComponent.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/vtest/java-api/apis/callablereference/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/callablereference/BComponent.java?rev=667036&r1=667035&r2=667036&view=diff
==============================================================================
--- incubator/tuscany/java/sca/vtest/java-api/apis/callablereference/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/callablereference/BComponent.java (original)
+++ incubator/tuscany/java/sca/vtest/java-api/apis/callablereference/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/callablereference/BComponent.java Thu Jun 12 03:32:29 2008
@@ -33,6 +33,6 @@
public void testCallback();
public void testConversationID();
- public void testNullConversation();
+ public void testNonNullConversation();
}
Modified: incubator/tuscany/java/sca/vtest/java-api/apis/callablereference/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/callablereference/impl/BComponentImpl.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/vtest/java-api/apis/callablereference/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/callablereference/impl/BComponentImpl.java?rev=667036&r1=667035&r2=667036&view=diff
==============================================================================
--- incubator/tuscany/java/sca/vtest/java-api/apis/callablereference/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/callablereference/impl/BComponentImpl.java (original)
+++ incubator/tuscany/java/sca/vtest/java-api/apis/callablereference/src/main/java/org/apache/tuscany/sca/vtest/javaapi/apis/callablereference/impl/BComponentImpl.java Thu Jun 12 03:32:29 2008
@@ -63,8 +63,8 @@
Assert.assertEquals("AConversationID", cid);
}
- public void testNullConversation() {
- Assert.assertNull(componentContext.getRequestContext().getServiceReference().getConversation());
+ public void testNonNullConversation() {
+ Assert.assertNotNull(componentContext.getRequestContext().getServiceReference().getConversation());
}
}
Modified: incubator/tuscany/java/sca/vtest/java-api/apis/callablereference/src/test/java/org/apache/tuscany/sca/vtest/javaapi/apis/callablereference/CallableReferenceTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/vtest/java-api/apis/callablereference/src/test/java/org/apache/tuscany/sca/vtest/javaapi/apis/callablereference/CallableReferenceTestCase.java?rev=667036&r1=667035&r2=667036&view=diff
==============================================================================
--- incubator/tuscany/java/sca/vtest/java-api/apis/callablereference/src/test/java/org/apache/tuscany/sca/vtest/javaapi/apis/callablereference/CallableReferenceTestCase.java (original)
+++ incubator/tuscany/java/sca/vtest/java-api/apis/callablereference/src/test/java/org/apache/tuscany/sca/vtest/javaapi/apis/callablereference/CallableReferenceTestCase.java Thu Jun 12 03:32:29 2008
@@ -100,7 +100,7 @@
@Test
public void testGetConversation() throws Exception {
a.testConversationID();
- b.testNullConversation();
+ b.testNonNullConversation();
}
/**