summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/testing/itest
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2012-02-10 09:43:24 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2012-02-10 09:43:24 +0000
commit0cc7b6691596eec2822d4d4c6b35b25e5f905efc (patch)
treeadc5da684cf391798e85fc02e35bc792729a7e0b /sca-java-2.x/trunk/testing/itest
parent59412d176cd4e7950cb48e48580a6de6fb8fec70 (diff)
TUSCANY-3924 - revert some of the previous changes. we need to look at whether we are interpreting the spec correctly
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1242718 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/testing/itest')
-rw-r--r--sca-java-2.x/trunk/testing/itest/properties/src/main/resources/CTCalcTest.composite4
-rw-r--r--sca-java-2.x/trunk/testing/itest/properties/src/test/java/org/apache/tuscany/sca/itest/ctcalc/CTCalcTestCase.java3
2 files changed, 2 insertions, 5 deletions
diff --git a/sca-java-2.x/trunk/testing/itest/properties/src/main/resources/CTCalcTest.composite b/sca-java-2.x/trunk/testing/itest/properties/src/main/resources/CTCalcTest.composite
index e562568492..db7b3be2d2 100644
--- a/sca-java-2.x/trunk/testing/itest/properties/src/main/resources/CTCalcTest.composite
+++ b/sca-java-2.x/trunk/testing/itest/properties/src/main/resources/CTCalcTest.composite
@@ -35,10 +35,8 @@
<component name="Annotated2Component">
<implementation.java class="org.apache.tuscany.sca.itest.ctcalc.Annotated2CTCalcComponentImpl" />
- <property name="aPropertyAnnotated" value="xyz"/>
-<!-- TUSCANY-3924 playing with whether we should take note of inherited annotations as per JSR-250
+ <property name="aPropertyAnnotated" value="xyz"/>
<property name="aPropertyPublic" value="abc"/>
- -->
</component>
</composite>
diff --git a/sca-java-2.x/trunk/testing/itest/properties/src/test/java/org/apache/tuscany/sca/itest/ctcalc/CTCalcTestCase.java b/sca-java-2.x/trunk/testing/itest/properties/src/test/java/org/apache/tuscany/sca/itest/ctcalc/CTCalcTestCase.java
index c77dbb1232..b0bd9ec8fe 100644
--- a/sca-java-2.x/trunk/testing/itest/properties/src/test/java/org/apache/tuscany/sca/itest/ctcalc/CTCalcTestCase.java
+++ b/sca-java-2.x/trunk/testing/itest/properties/src/test/java/org/apache/tuscany/sca/itest/ctcalc/CTCalcTestCase.java
@@ -84,7 +84,7 @@ public class CTCalcTestCase {
@Test
public void testUnannotatedExtension() {
assertEquals("Unannotated", unannotatedComponent.test());
- assertEquals(2, ((NodeImpl)node).getDomainComposite().getComponents().get(1).getProperties().size());
+ assertEquals(4, ((NodeImpl)node).getDomainComposite().getComponents().get(1).getProperties().size());
System.out.println(((NodeImpl)node).getDomainComposite().getComponents().get(1).getProperties());
}
@@ -95,7 +95,6 @@ public class CTCalcTestCase {
System.out.println(((NodeImpl)node).getDomainComposite().getComponents().get(2).getProperties());
}
- @Ignore("TUSCANY-3924 playing with whether we should take note of inherited annotations as per JSR-250")
@Test
public void testAnnotated2Extension() {
assertEquals("Annotated", annotatedComponent.test());