updated coding rules.
[utils] / system / general / src / test / java / org / wamblee / system / adapters / ClassConfigurationTest.java
index 8d5703dd603810c4a5f5dc2aefb0484cccf3bb67..da5ff6f83834adc6c76ea2f502a0614bd4eda6f8 100644 (file)
@@ -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());