summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/composite-diagram/src/test/resources/input
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2011-09-22 05:44:17 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2011-09-22 05:44:17 +0000
commit0524f6a2c2a44d8f63484a1e74c92b0ed823621b (patch)
treee5f3e6f8b7d79ca255ac60f3725cc6acee6c75ee /sca-java-2.x/trunk/modules/composite-diagram/src/test/resources/input
parent9c6777cd9df0a0c0d0410a31bf2b526372a179bb (diff)
Enhance the layout using topological sorting of the entities
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1173950 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/composite-diagram/src/test/resources/input')
-rwxr-xr-xsca-java-2.x/trunk/modules/composite-diagram/src/test/resources/input/Calculator2.xml30
1 files changed, 25 insertions, 5 deletions
diff --git a/sca-java-2.x/trunk/modules/composite-diagram/src/test/resources/input/Calculator2.xml b/sca-java-2.x/trunk/modules/composite-diagram/src/test/resources/input/Calculator2.xml
index ff2723dac7..81384ef840 100755
--- a/sca-java-2.x/trunk/modules/composite-diagram/src/test/resources/input/Calculator2.xml
+++ b/sca-java-2.x/trunk/modules/composite-diagram/src/test/resources/input/Calculator2.xml
@@ -17,10 +17,8 @@
* specific language governing permissions and limitations
* under the License.
-->
-<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
- targetNamespace="http://sample"
- xmlns:sample="http://sample"
- name="Calculator2">
+<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" targetNamespace="http://sample"
+ xmlns:sample="http://sample" name="Calculator2">
<component name="CalculatorServiceComponent">
<implementation.java class="calculator.CalculatorServiceImpl" />
@@ -28,11 +26,17 @@
<reference name="subtractService" target="SubtractServiceComponent" />
<reference name="multiplyService" target="MultiplyServiceComponent" />
<reference name="divideService" target="DivideServiceComponent" />
-
+
<reference name="addService2" target="AddServiceComponent2" />
<reference name="subtractService2" target="SubtractServiceComponent2" />
<reference name="multiplyService2" target="MultiplyServiceComponent2" />
<reference name="divideService2" target="DivideServiceComponent2" />
+
+ <reference name="addService3" target="AddServiceComponent3" />
+ <reference name="subtractService3" target="SubtractServiceComponent3" />
+ <reference name="multiplyService3" target="MultiplyServiceComponent3" />
+ <reference name="divideService3" target="DivideServiceComponent3" />
+
</component>
<component name="AddServiceComponent">
@@ -67,4 +71,20 @@
<implementation.java class="calculator.DivideServiceImpl" />
</component>
+ <component name="AddServiceComponent3">
+ <implementation.java class="calculator.AddServiceImpl" />
+ </component>
+
+ <component name="SubtractServiceComponent3">
+ <implementation.java class="calculator.SubtractServiceImpl" />
+ </component>
+
+ <component name="MultiplyServiceComponent3">
+ <implementation.java class="calculator.MultiplyServiceImpl" />
+ </component>
+
+ <component name="DivideServiceComponent3">
+ <implementation.java class="calculator.DivideServiceImpl" />
+ </component>
+
</composite> \ No newline at end of file