Package org.apache.ziplock

Examples of org.apache.ziplock.WebModule


@RunWith(Arquillian.class)
public class AnnotatedApplicationTest extends JaxrsTest {

    @Deployment(testable = false)
    public static WebArchive archive() {
        return new WebModule(AnnotatedApplicationTest.class).getArchive();
    }
View Full Code Here


@RunWith(Arquillian.class)
public class ListedApplicationTest extends JaxrsTest {

    @Deployment(testable = false)
    public static WebArchive archive() {
        return new WebModule(ListedApplicationTest.class).getArchive();
    }
View Full Code Here

@RunWith(Arquillian.class)
public class JAXRSCDIPojoTest extends JaxrsTest {

    @Deployment(testable = false)
    public static WebArchive archive() {
        return new WebModule(JAXRSCDIPojoTest.class).getArchive()
                .addAsWebInfResource(EmptyAsset.INSTANCE, ArchivePaths.create("beans.xml"));
    }
View Full Code Here

@RunWith(Arquillian.class)
public class NoAppTest extends JaxrsTest {

    @Deployment(testable = false)
    public static WebArchive archive() {
        return new WebModule(NoAppTest.class).getArchive();
    }
View Full Code Here

*/
@RunWith(Arquillian.class)
public class PathParamTest extends JaxrsTest {
    @Deployment(testable = false)
    public static WebArchive archive() {
        return new WebModule(PathParamTest.class).getArchive();
    }
View Full Code Here

@RunWith(Arquillian.class)
public class BasicAppilcationTest extends JaxrsTest {

    @Deployment(testable = false)
    public static WebArchive archive() {
        return new WebModule(BasicAppilcationTest.class).getArchive();
    }
View Full Code Here

@RunWith(Arquillian.class)
public class ScannedApplicationTest extends JaxrsTest {

    @Deployment(testable = false)
    public static WebArchive archive() {
        return new WebModule(ScannedApplicationTest.class).getArchive();
    }
View Full Code Here

        assertTrue(secondOutput.contains("disposed=true")); // check the previous cycle disposed the bean
    }

    @Deployment(testable = false)
    public static WebArchive createDeployment() {
        return new WebModule(ServletDisposeRequestScopeTest.class, ServletDisposeRequestScopeTest.class)
                .getArchive()
                .setWebXML(new StringAsset(Descriptors.create(WebAppDescriptor.class).version(WebAppVersionType._3_0).exportAsString()))
                .addAsWebInfResource(EmptyAsset.INSTANCE, ArchivePaths.create("beans.xml"));
    }
View Full Code Here

TOP

Related Classes of org.apache.ziplock.WebModule

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.