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=0d8d8f24656e585ee75558cfd6a4c661f8f14985;hp=8d5703dd603810c4a5f5dc2aefb0484cccf3bb67;hpb=da48a523c81e59fe0eac34e43d12937396161f25;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());