X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=system%2Fgeneral%2Fsrc%2Ftest%2Fjava%2Forg%2Fwamblee%2Fsystem%2Fadapters%2FClassConfigurationTest.java;h=da5ff6f83834adc6c76ea2f502a0614bd4eda6f8;hb=81fe8784a2182e25f92a7591ec5b0fba00afb828;hp=8d5703dd603810c4a5f5dc2aefb0484cccf3bb67;hpb=9475fda37f427b7e42a2e7822985eddf4b07124b;p=utils diff --git a/system/general/src/test/java/org/wamblee/system/adapters/ClassConfigurationTest.java b/system/general/src/test/java/org/wamblee/system/adapters/ClassConfigurationTest.java index 8d5703dd..da5ff6f8 100644 --- a/system/general/src/test/java/org/wamblee/system/adapters/ClassConfigurationTest.java +++ b/system/general/src/test/java/org/wamblee/system/adapters/ClassConfigurationTest.java @@ -41,8 +41,8 @@ public class ClassConfigurationTest extends AdapterTestCase { required.get(0).setProvider(provided); - _scope.publishInterface(provided, "hello"); - classConfig.create(_scope); + scope.publishInterface(provided, "hello"); + classConfig.create(scope); AssertionUtils.assertEquals(new String[] { "x1(hello)" }, AdapterTestCase.EVENT_TRACKER.getEvents(Thread.currentThread()) @@ -67,10 +67,10 @@ public class ClassConfigurationTest extends AdapterTestCase { required.get(0).setProvider(providedBoolean); required.get(1).setProvider(providedHost); - _scope.publishInterface(providedBoolean, true); - _scope.publishInterface(providedHost, "host.name.org"); + scope.publishInterface(providedBoolean, true); + scope.publishInterface(providedHost, "host.name.org"); - Object obj = classConfig.create(_scope); + Object obj = classConfig.create(scope); assertTrue(obj instanceof X7); X7 x7 = (X7)obj; assertNotNull(x7.getBoolean()); @@ -78,7 +78,7 @@ public class ClassConfigurationTest extends AdapterTestCase { assertNull(x7.getHost()); assertNull(x7.getPort()); - classConfig.inject(_scope, obj); + classConfig.inject(scope, obj); assertEquals("host.name.org", x7.getHost()); assertEquals(10, x7.getPort().intValue());