Package org.jboss.arquillian.container.test.api

Examples of org.jboss.arquillian.container.test.api.OperateOnDeployment


    public void observeBeforeTest(@Observes(precedence = Integer.MAX_VALUE) Before event) {
        TestMethodReport testMethodReport = new TestMethodReport();
        testMethodReport.setName(event.getTestMethod().getName());

        if (event.getTestMethod().isAnnotationPresent(OperateOnDeployment.class)) {
            OperateOnDeployment ood = event.getTestMethod().getAnnotation(OperateOnDeployment.class);
            testMethodReport.setOperateOnDeployment(ood.value());
        } else {
            testMethodReport.setOperateOnDeployment("_DEFAULT_");
        }

        testMethodReport.setRunAsClient(event.getTestMethod().isAnnotationPresent(RunAsClient.class));
View Full Code Here

TOP

Related Classes of org.jboss.arquillian.container.test.api.OperateOnDeployment

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.