summaryrefslogtreecommitdiffstats
path: root/java/sca/itest/references/src
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-09-23 02:47:53 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-09-23 02:47:53 +0000
commit81b2296a6e4e816f1c01a1caabd4b264deb64d3a (patch)
tree35ec49f276c8fc64480742e044c7594571d9ff31 /java/sca/itest/references/src
parent536352a54507e044006bc0234f50d7a089dba746 (diff)
Modifying iTest to exercise injection in private fields + enabling working tests that were ignored
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@817937 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/itest/references/src')
-rw-r--r--java/sca/itest/references/src/main/java/org/apache/tuscany/sca/itest/references/AComponentImpl.java2
-rw-r--r--java/sca/itest/references/src/test/java/org/apache/tuscany/sca/itest/references/ManualWiredReferenceTestCase.java1
2 files changed, 1 insertions, 2 deletions
diff --git a/java/sca/itest/references/src/main/java/org/apache/tuscany/sca/itest/references/AComponentImpl.java b/java/sca/itest/references/src/main/java/org/apache/tuscany/sca/itest/references/AComponentImpl.java
index 477d9b6721..cd0aad3eea 100644
--- a/java/sca/itest/references/src/main/java/org/apache/tuscany/sca/itest/references/AComponentImpl.java
+++ b/java/sca/itest/references/src/main/java/org/apache/tuscany/sca/itest/references/AComponentImpl.java
@@ -30,7 +30,7 @@ public class AComponentImpl implements AComponent {
protected BComponent b;
@Reference
- protected CComponent cReference;
+ private CComponent cReference;
@Reference(required = false)
protected DComponent dReference;
diff --git a/java/sca/itest/references/src/test/java/org/apache/tuscany/sca/itest/references/ManualWiredReferenceTestCase.java b/java/sca/itest/references/src/test/java/org/apache/tuscany/sca/itest/references/ManualWiredReferenceTestCase.java
index 6349e4f827..2fce95401e 100644
--- a/java/sca/itest/references/src/test/java/org/apache/tuscany/sca/itest/references/ManualWiredReferenceTestCase.java
+++ b/java/sca/itest/references/src/test/java/org/apache/tuscany/sca/itest/references/ManualWiredReferenceTestCase.java
@@ -67,7 +67,6 @@ public class ManualWiredReferenceTestCase {
acomponent.fooD1();
}
- @Ignore
@Test
public void testD2Reference() {
assertEquals("DComponent", acomponent.fooD2());