diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2008-08-26 14:54:18 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2008-08-26 14:54:18 +0000 |
commit | 1558a09905b8dcc0a5ca917364293704fe076c07 (patch) | |
tree | 3829da9d17111109c22bafb29a68021a07fb1132 /java/sca/vtest/java-api/annotations/reference/src/main/resources/ab.composite | |
parent | 130f96c02971b259b328283c50b702bb9b5c22fb (diff) |
TUSCANY-2501 reference should either be all annotated or all not annotated. Here change the vtests to test these cases separately. Currently mixing annotated and unannotated fields as references causes any unannotated reference to be overlooked. Change the reference not found warning to an error to catch cases where they are mixed by accident. Changes to other tests to take account of this. Also change implementation.widget to pick up the string name of the reference in javascript rather than the name of the variable to which the reference is assigned.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@689102 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/vtest/java-api/annotations/reference/src/main/resources/ab.composite')
-rw-r--r-- | java/sca/vtest/java-api/annotations/reference/src/main/resources/ab.composite | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/java/sca/vtest/java-api/annotations/reference/src/main/resources/ab.composite b/java/sca/vtest/java-api/annotations/reference/src/main/resources/ab.composite index 9937173894..b4ad1e77d5 100644 --- a/java/sca/vtest/java-api/annotations/reference/src/main/resources/ab.composite +++ b/java/sca/vtest/java-api/annotations/reference/src/main/resources/ab.composite @@ -26,9 +26,6 @@ <reference name="b1" target="BComponent"/> <reference name="b2" target="BComponent"/> <reference name="b3" target="BComponent"/> - <reference name="b4" target="BComponent"/> - <reference name="b5" target="BComponent"/> - <reference name="b6" target="BComponent"/> <reference name="b7" target="BComponent"/> <reference name="b8" target="BComponent"/> <reference name="b9" target="BComponent"/> @@ -40,8 +37,8 @@ <reference name="b15" multiplicity="1..n" target="BComponent BComponent"/> </component> - <component name="AnotherAComponent"> - <implementation.java class="org.apache.tuscany.sca.vtest.javaapi.annotations.reference.impl.AnotherAServiceImpl"/> + <component name="AUnannotatedComponent"> + <implementation.java class="org.apache.tuscany.sca.vtest.javaapi.annotations.reference.impl.AUnannotatedServiceImpl"/> <reference name="b4" target="BComponent"/> <reference name="b5" target="BComponent"/> <reference name="b6" target="BComponent"/> |