Examples of WebArchiveBuilder


Examples of org.jboss.cdi.tck.shrinkwrap.WebArchiveBuilder

@SpecVersion(spec = "cdi", version = "20091101")
public class EnterpriseBeanWithIllegalDependencyTest extends AbstractTest {

    @Deployment
    public static WebArchive createTestArchive() {
        return new WebArchiveBuilder().withTestClassPackage(EnterpriseBeanWithIllegalDependencyTest.class).build();
    }
View Full Code Here

Examples of org.jboss.cdi.tck.shrinkwrap.WebArchiveBuilder

    @ShouldThrowException(DeploymentException.class)
    @Deployment
    public static WebArchive createTestArchive() {
        // Originally EAR but no enterprise feature used
        return new WebArchiveBuilder().withTestClassPackage(NonPassivationCapableProducerMethodTest.class).build();
    }
View Full Code Here

Examples of org.jboss.cdi.tck.shrinkwrap.WebArchiveBuilder

public class NonPassivatingInjectedFieldTest extends AbstractTest {

    @ShouldThrowException(DeploymentException.class)
    @Deployment
    public static WebArchive createTestArchive() {
        return new WebArchiveBuilder().withTestClassPackage(NonPassivatingInjectedFieldTest.class).build();
    }
View Full Code Here

Examples of org.jboss.cdi.tck.shrinkwrap.WebArchiveBuilder

    @ShouldThrowException(DeploymentException.class)
    @Deployment
    public static WebArchive createTestArchive() {
        // Originally EAR but no enterprise feature used
        return new WebArchiveBuilder().withTestClassPackage(NonPassivationCapableProducerFieldTest.class).build();
    }
View Full Code Here

Examples of org.jboss.cdi.tck.shrinkwrap.WebArchiveBuilder

@SpecVersion(spec = "cdi", version = "20091101")
public class EnterpriseBeanWithIllegalDependencyTest extends AbstractTest {

    @Deployment
    public static WebArchive createTestArchive() {
        return new WebArchiveBuilder().withTestClassPackage(EnterpriseBeanWithIllegalDependencyTest.class).build();
    }
View Full Code Here

Examples of org.jboss.cdi.tck.shrinkwrap.WebArchiveBuilder

public class ManagedBeanWithNonSerializableInterceptorClassTest extends AbstractTest {

    @ShouldThrowException(DeploymentException.class)
    @Deployment
    public static WebArchive createTestArchive() {
        return new WebArchiveBuilder().withTestClassPackage(ManagedBeanWithNonSerializableInterceptorClassTest.class).build();
    }
View Full Code Here

Examples of org.jboss.cdi.tck.shrinkwrap.WebArchiveBuilder

public class EnterpriseBeanWithNonPassivatingInterceptorTest extends AbstractTest {

    @ShouldThrowException(DeploymentException.class)
    @Deployment
    public static WebArchive createTestArchive() {
        return new WebArchiveBuilder()
                .withTestClassPackage(EnterpriseBeanWithNonPassivatingInterceptorTest.class)
                .withBeansXml(
                        Descriptors.create(BeansDescriptor.class).createInterceptors()
                                .clazz(DigitalInterceptor.class.getName()).up()).build();
    }
View Full Code Here

Examples of org.jboss.cdi.tck.shrinkwrap.WebArchiveBuilder

public class EnterpriseBeanWithNonPassivatingInjectedFieldInInterceptorTest extends AbstractTest {

    @ShouldThrowException(DeploymentException.class)
    @Deployment
    public static WebArchive createTestArchive() {
        return new WebArchiveBuilder().withTestClassPackage(
                EnterpriseBeanWithNonPassivatingInjectedFieldInInterceptorTest.class).build();
    }
View Full Code Here

Examples of org.jboss.cdi.tck.shrinkwrap.WebArchiveBuilder

public class NonPassivationManagedBeanHasPassivatingScopeTest extends AbstractTest {

    @ShouldThrowException(DeploymentException.class)
    @Deployment
    public static WebArchive createTestArchive() {
        return new WebArchiveBuilder().withTestClassPackage(NonPassivationManagedBeanHasPassivatingScopeTest.class).build();
    }
View Full Code Here

Examples of org.jboss.cdi.tck.shrinkwrap.WebArchiveBuilder

    @ShouldThrowException(DeploymentException.class)
    @Deployment
    public static WebArchive createTestArchive() {
        // Originally EAR but no enterprise feature used
        return new WebArchiveBuilder()
                .withTestClassPackage(ManagedBeanWithNonPassivatingDecoratorTest.class)
                .withBeansXml(
                        Descriptors.create(BeansDescriptor.class).createDecorators()
                                .clazz(MaarianhaminaDecorator.class.getName()).up()).build();
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.