From 66baeeee93acd1da563063313179996c32bf1eaa Mon Sep 17 00:00:00 2001 From: erik Date: Wed, 28 Jul 2010 18:22:25 +0000 Subject: [PATCH] --- ...actoryBuilderTest.java => InjectorBuilderTest.java} | 6 +++--- .../test/java/org/wamblee/cdi/SimpleInjectorTest.java | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) rename support/cdi/src/test/java/org/wamblee/cdi/{InjectorFactoryBuilderTest.java => InjectorBuilderTest.java} (88%) diff --git a/support/cdi/src/test/java/org/wamblee/cdi/InjectorFactoryBuilderTest.java b/support/cdi/src/test/java/org/wamblee/cdi/InjectorBuilderTest.java similarity index 88% rename from support/cdi/src/test/java/org/wamblee/cdi/InjectorFactoryBuilderTest.java rename to support/cdi/src/test/java/org/wamblee/cdi/InjectorBuilderTest.java index 5fdc111e..dd1210fb 100644 --- a/support/cdi/src/test/java/org/wamblee/cdi/InjectorFactoryBuilderTest.java +++ b/support/cdi/src/test/java/org/wamblee/cdi/InjectorBuilderTest.java @@ -25,10 +25,10 @@ import org.junit.Test; import org.wamblee.cdi.SimpleInjectorTest.X; import org.wamblee.cdi.SimpleInjectorTest.Y; import org.wamblee.inject.InjectorFactory; -import org.wamblee.inject.InjectorFactoryBuilder; +import org.wamblee.inject.InjectorBuilder; import org.wamblee.test.jndi.StubInitialContextFactory; -public class InjectorFactoryBuilderTest extends BaseTestFixture { +public class InjectorBuilderTest extends BaseTestFixture { @Test @@ -39,7 +39,7 @@ public class InjectorFactoryBuilderTest extends BaseTestFixture { InitialContext ctx = new InitialContext(); ctx.bind(BeanManagerLookup.BEAN_MANAGER_JNDI, setup.getBeanManager()); try { - InjectorFactory factory = InjectorFactoryBuilder.getInjectorFactory(); + InjectorFactory factory = InjectorBuilder.getInjectorFactory(); assertTrue(factory instanceof CdiInjectorFactory); } finally { setup.shutdown(); diff --git a/support/cdi/src/test/java/org/wamblee/cdi/SimpleInjectorTest.java b/support/cdi/src/test/java/org/wamblee/cdi/SimpleInjectorTest.java index f9e77a5d..93f260e2 100644 --- a/support/cdi/src/test/java/org/wamblee/cdi/SimpleInjectorTest.java +++ b/support/cdi/src/test/java/org/wamblee/cdi/SimpleInjectorTest.java @@ -27,7 +27,7 @@ import org.junit.Before; import org.junit.Test; import org.wamblee.inject.Injector; import org.wamblee.inject.InjectorFactory; -import org.wamblee.inject.InjectorFactoryBuilder; +import org.wamblee.inject.InjectorBuilder; import org.wamblee.inject.SimpleInjector; import org.wamblee.test.jndi.StubInitialContextFactory; @@ -104,15 +104,15 @@ public class SimpleInjectorTest extends BaseTestFixture { @Test public void testInjectStorage() throws Exception { X x = new X(); - InjectorFactoryBuilder.setInjectorFactory(null); - InjectorFactoryBuilder.getInjector().inject(x); + InjectorBuilder.setInjectorFactory(null); + InjectorBuilder.getInjector().inject(x); } @Test public void testInjectStorage2() { X x = new X(); - InjectorFactoryBuilder.setInjectorFactory(null); - InjectorFactoryBuilder.getInjector().inject(x); + InjectorBuilder.setInjectorFactory(null); + InjectorBuilder.getInjector().inject(x); } } -- 2.31.1