From 81b2296a6e4e816f1c01a1caabd4b264deb64d3a Mon Sep 17 00:00:00 2001 From: lresende Date: Wed, 23 Sep 2009 02:47:53 +0000 Subject: 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 --- .../java/org/apache/tuscany/sca/itest/references/AComponentImpl.java | 2 +- .../tuscany/sca/itest/references/ManualWiredReferenceTestCase.java | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'java/sca/itest/references') 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()); -- cgit v1.2.3