summaryrefslogtreecommitdiffstats
path: root/sca-java-1.x/trunk/itest/serialization/src/test/java/org/apache
diff options
context:
space:
mode:
authornash <nash@13f79535-47bb-0310-9956-ffa450edef68>2011-11-20 21:07:24 +0000
committernash <nash@13f79535-47bb-0310-9956-ffa450edef68>2011-11-20 21:07:24 +0000
commitf86212d3e102a4f383fc85fc1c77563b84665bb3 (patch)
treed383a289f04ac8be78f6e019f6934b083919212a /sca-java-1.x/trunk/itest/serialization/src/test/java/org/apache
parent628701e626a0fbf4b345396f1bfbf22aa640ae13 (diff)
Add test for serializing a service reference to XML
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1204264 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-1.x/trunk/itest/serialization/src/test/java/org/apache')
-rw-r--r--sca-java-1.x/trunk/itest/serialization/src/test/java/org/apache/tuscany/sca/itest/servicereference/SerializeServiceReferenceTestCase.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/sca-java-1.x/trunk/itest/serialization/src/test/java/org/apache/tuscany/sca/itest/servicereference/SerializeServiceReferenceTestCase.java b/sca-java-1.x/trunk/itest/serialization/src/test/java/org/apache/tuscany/sca/itest/servicereference/SerializeServiceReferenceTestCase.java
index 76e77284fb..5bde6900b4 100644
--- a/sca-java-1.x/trunk/itest/serialization/src/test/java/org/apache/tuscany/sca/itest/servicereference/SerializeServiceReferenceTestCase.java
+++ b/sca-java-1.x/trunk/itest/serialization/src/test/java/org/apache/tuscany/sca/itest/servicereference/SerializeServiceReferenceTestCase.java
@@ -74,6 +74,20 @@ public class SerializeServiceReferenceTestCase {
}
/**
+ * Tests Serializing a Stateless ServiceReference to XML as managed
+ * SCA code
+ *
+ * @throws Exception Test failed
+ */
+ @Test
+ public void testSerializeStatelessServiceReferenceInsideSCAtoXML() throws Exception {
+ SCAManagedClient client = domain.getService(
+ SCAManagedClient.class, "SCAManagedClientComponent");
+
+ client.testSerializeStatelessServiceReferenceXML();
+ }
+
+ /**
* Tests Serializing a Nested Stateless ServiceReference as managed
* SCA code.
*