diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2011-12-14 13:24:50 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2011-12-14 13:24:50 +0000 |
commit | 235fc4303ddf893f928f6c1803bf7eb9d9aeebd9 (patch) | |
tree | 9460031a6c1202acfac3fe21579e614cd32b1153 /sca-java-2.x/trunk/testing/itest/properties/src/test | |
parent | 423e9741c50730f2f9c509889227f2c614a35e8e (diff) |
TUSCANY-3924 playing with whether we should take note of inherited annotations as per JSR-250. Test ignored but I don't want to loose it.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1214234 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/testing/itest/properties/src/test')
-rw-r--r-- | sca-java-2.x/trunk/testing/itest/properties/src/test/java/org/apache/tuscany/sca/itest/ctcalc/CTCalcTestCase.java | 9 |
1 files changed, 9 insertions, 0 deletions
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 a13a6d1b3f..c77dbb1232 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 @@ -28,6 +28,7 @@ import org.apache.tuscany.sca.node.NodeFactory; import org.apache.tuscany.sca.node.impl.NodeImpl;
import org.junit.AfterClass;
import org.junit.BeforeClass;
+import org.junit.Ignore;
import org.junit.Test;
/**
@@ -93,4 +94,12 @@ public class CTCalcTestCase { assertEquals(1, ((NodeImpl)node).getDomainComposite().getComponents().get(2).getProperties().size());
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());
+ assertEquals(2, ((NodeImpl)node).getDomainComposite().getComponents().get(3).getProperties().size());
+ System.out.println(((NodeImpl)node).getDomainComposite().getComponents().get(3).getProperties());
+ }
}
|