Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WELD-584, and make sure tests use the docs recommendations for config
- Loading branch information
Showing
13 changed files
with
163 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 25 additions & 25 deletions
50
...st/tomcat/lookup/FilterInjectionTest.java → ...t/test/injection/FilterInjectionTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
package org.jboss.weld.environment.servlet.test.tomcat.lookup; | ||
|
||
import static org.jboss.arquillian.api.RunModeType.AS_CLIENT; | ||
import static org.jboss.weld.environment.servlet.test.util.JettyDeployments.JETTY_ENV; | ||
import static org.jboss.weld.environment.servlet.test.util.JettyDeployments.JETTY_WEB; | ||
|
||
import org.jboss.arquillian.api.Deployment; | ||
import org.jboss.arquillian.api.Run; | ||
import org.jboss.arquillian.junit.Arquillian; | ||
import org.jboss.shrinkwrap.api.spec.WebArchive; | ||
import org.jboss.weld.environment.servlet.test.injection.FilterInjectionTestBase; | ||
import org.junit.runner.RunWith; | ||
|
||
@RunWith(Arquillian.class) | ||
@Run(AS_CLIENT) | ||
public class FilterInjectionTest extends FilterInjectionTestBase | ||
{ | ||
|
||
@Deployment | ||
public static WebArchive deployment() | ||
{ | ||
return FilterInjectionTestBase.deployment().addWebResource(JETTY_ENV, "jetty-env.xml").addWebResource(JETTY_WEB, "jetty-web.xml"); | ||
} | ||
|
||
} | ||
package org.jboss.weld.environment.servlet.test.injection; | ||
|
||
import static org.jboss.arquillian.api.RunModeType.AS_CLIENT; | ||
import static org.jboss.weld.environment.servlet.test.util.JettyDeployments.JETTY_ENV; | ||
import static org.jboss.weld.environment.servlet.test.util.JettyDeployments.JETTY_WEB; | ||
|
||
import org.jboss.arquillian.api.Deployment; | ||
import org.jboss.arquillian.api.Run; | ||
import org.jboss.arquillian.junit.Arquillian; | ||
import org.jboss.shrinkwrap.api.spec.WebArchive; | ||
import org.jboss.weld.environment.servlet.test.injection.FilterInjectionTestBase; | ||
import org.junit.runner.RunWith; | ||
|
||
@RunWith(Arquillian.class) | ||
@Run(AS_CLIENT) | ||
public class FilterInjectionTest extends FilterInjectionTestBase | ||
{ | ||
|
||
@Deployment | ||
public static WebArchive deployment() | ||
{ | ||
return FilterInjectionTestBase.deployment().addWebResource(JETTY_ENV, "jetty-env.xml").addWebResource(JETTY_WEB, "jetty-web.xml"); | ||
} | ||
|
||
} |
50 changes: 25 additions & 25 deletions
50
.../tomcat/lookup/ListenerInjectionTest.java → ...test/injection/ListenerInjectionTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
package org.jboss.weld.environment.servlet.test.tomcat.lookup; | ||
|
||
import static org.jboss.arquillian.api.RunModeType.AS_CLIENT; | ||
import static org.jboss.weld.environment.servlet.test.util.JettyDeployments.JETTY_ENV; | ||
import static org.jboss.weld.environment.servlet.test.util.JettyDeployments.JETTY_WEB; | ||
|
||
import org.jboss.arquillian.api.Deployment; | ||
import org.jboss.arquillian.api.Run; | ||
import org.jboss.arquillian.junit.Arquillian; | ||
import org.jboss.shrinkwrap.api.spec.WebArchive; | ||
import org.jboss.weld.environment.servlet.test.injection.ListenerInjectionTestBase; | ||
import org.junit.runner.RunWith; | ||
|
||
@RunWith(Arquillian.class) | ||
@Run(AS_CLIENT) | ||
public class ListenerInjectionTest extends ListenerInjectionTestBase | ||
{ | ||
|
||
@Deployment | ||
public static WebArchive deployment() | ||
{ | ||
return ListenerInjectionTestBase.deployment().addWebResource(JETTY_ENV, "jetty-env.xml").addWebResource(JETTY_WEB, "jetty-web.xml"); | ||
} | ||
|
||
} | ||
package org.jboss.weld.environment.servlet.test.injection; | ||
|
||
import static org.jboss.arquillian.api.RunModeType.AS_CLIENT; | ||
import static org.jboss.weld.environment.servlet.test.util.JettyDeployments.JETTY_ENV; | ||
import static org.jboss.weld.environment.servlet.test.util.JettyDeployments.JETTY_WEB; | ||
|
||
import org.jboss.arquillian.api.Deployment; | ||
import org.jboss.arquillian.api.Run; | ||
import org.jboss.arquillian.junit.Arquillian; | ||
import org.jboss.shrinkwrap.api.spec.WebArchive; | ||
import org.jboss.weld.environment.servlet.test.injection.ListenerInjectionTestBase; | ||
import org.junit.runner.RunWith; | ||
|
||
@RunWith(Arquillian.class) | ||
@Run(AS_CLIENT) | ||
public class ListenerInjectionTest extends ListenerInjectionTestBase | ||
{ | ||
|
||
@Deployment | ||
public static WebArchive deployment() | ||
{ | ||
return ListenerInjectionTestBase.deployment().addWebResource(JETTY_ENV, "jetty-env.xml").addWebResource(JETTY_WEB, "jetty-web.xml"); | ||
} | ||
|
||
} |
2 changes: 1 addition & 1 deletion
2
...ervlet/test/tomcat/lookup/LookupTest.java → ...nt/servlet/test/injection/LookupTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...t/tomcat/lookup/ServletInjectionTest.java → .../test/injection/ServletInjectionTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 24 additions & 24 deletions
48
...st/tomcat/lookup/FilterInjectionTest.java → ...t/test/injection/FilterInjectionTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
package org.jboss.weld.environment.servlet.test.tomcat.lookup; | ||
|
||
import static org.jboss.arquillian.api.RunModeType.AS_CLIENT; | ||
import static org.jboss.weld.environment.servlet.test.util.TomcatDeployments.CONTEXT_XML; | ||
|
||
import org.jboss.arquillian.api.Deployment; | ||
import org.jboss.arquillian.api.Run; | ||
import org.jboss.arquillian.junit.Arquillian; | ||
import org.jboss.shrinkwrap.api.spec.WebArchive; | ||
import org.jboss.weld.environment.servlet.test.injection.FilterInjectionTestBase; | ||
import org.junit.runner.RunWith; | ||
|
||
@RunWith(Arquillian.class) | ||
@Run(AS_CLIENT) | ||
public class FilterInjectionTest extends FilterInjectionTestBase | ||
{ | ||
|
||
@Deployment | ||
public static WebArchive deployment() | ||
{ | ||
return FilterInjectionTestBase.deployment().add(CONTEXT_XML, "META-INF/context.xml"); | ||
} | ||
|
||
} | ||
package org.jboss.weld.environment.servlet.test.injection; | ||
|
||
import static org.jboss.arquillian.api.RunModeType.AS_CLIENT; | ||
import static org.jboss.weld.environment.servlet.test.util.TomcatDeployments.CONTEXT_XML; | ||
|
||
import org.jboss.arquillian.api.Deployment; | ||
import org.jboss.arquillian.api.Run; | ||
import org.jboss.arquillian.junit.Arquillian; | ||
import org.jboss.shrinkwrap.api.spec.WebArchive; | ||
import org.jboss.weld.environment.servlet.test.injection.FilterInjectionTestBase; | ||
import org.junit.runner.RunWith; | ||
|
||
@RunWith(Arquillian.class) | ||
@Run(AS_CLIENT) | ||
public class FilterInjectionTest extends FilterInjectionTestBase | ||
{ | ||
|
||
@Deployment | ||
public static WebArchive deployment() | ||
{ | ||
return FilterInjectionTestBase.deployment().add(CONTEXT_XML, "META-INF/context.xml"); | ||
} | ||
|
||
} |
50 changes: 25 additions & 25 deletions
50
.../tomcat/lookup/ListenerInjectionTest.java → ...test/injection/ListenerInjectionTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
package org.jboss.weld.environment.servlet.test.tomcat.lookup; | ||
|
||
import static org.jboss.arquillian.api.RunModeType.AS_CLIENT; | ||
import static org.jboss.weld.environment.servlet.test.util.TomcatDeployments.CONTEXT_XML; | ||
|
||
import org.jboss.arquillian.api.Deployment; | ||
import org.jboss.arquillian.api.Run; | ||
import org.jboss.arquillian.junit.Arquillian; | ||
import org.jboss.shrinkwrap.api.spec.WebArchive; | ||
import org.jboss.weld.environment.servlet.test.injection.ListenerInjectionTestBase; | ||
import org.junit.runner.RunWith; | ||
|
||
|
||
@RunWith(Arquillian.class) | ||
@Run(AS_CLIENT) | ||
public class ListenerInjectionTest extends ListenerInjectionTestBase | ||
{ | ||
|
||
@Deployment | ||
public static WebArchive deployment() | ||
{ | ||
return ListenerInjectionTestBase.deployment().add(CONTEXT_XML, "META-INF/context.xml"); | ||
} | ||
|
||
} | ||
package org.jboss.weld.environment.servlet.test.injection; | ||
|
||
import static org.jboss.arquillian.api.RunModeType.AS_CLIENT; | ||
import static org.jboss.weld.environment.servlet.test.util.TomcatDeployments.CONTEXT_XML; | ||
|
||
import org.jboss.arquillian.api.Deployment; | ||
import org.jboss.arquillian.api.Run; | ||
import org.jboss.arquillian.junit.Arquillian; | ||
import org.jboss.shrinkwrap.api.spec.WebArchive; | ||
import org.jboss.weld.environment.servlet.test.injection.ListenerInjectionTestBase; | ||
import org.junit.runner.RunWith; | ||
|
||
|
||
@RunWith(Arquillian.class) | ||
@Run(AS_CLIENT) | ||
public class ListenerInjectionTest extends ListenerInjectionTestBase | ||
{ | ||
|
||
@Deployment | ||
public static WebArchive deployment() | ||
{ | ||
return ListenerInjectionTestBase.deployment().add(CONTEXT_XML, "META-INF/context.xml"); | ||
} | ||
|
||
} |
2 changes: 1 addition & 1 deletion
2
...ervlet/test/tomcat/lookup/LookupTest.java → ...nt/servlet/test/injection/LookupTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...t/tomcat/lookup/ServletInjectionTest.java → .../test/injection/ServletInjectionTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters