Examples of RunDiscovery


Examples of org.rhq.test.arquillian.RunDiscovery

        super(annotationClass);
    }

    @Override
    protected boolean isApplicableToTest(TestEvent testEvent) {
        RunDiscovery runDiscovery = RunDiscoveryExecutor.getRunDiscoveryForTest(testEvent);
        return runDiscovery != null && (runDiscovery.discoverServers() || runDiscovery.discoverServices());
    }
View Full Code Here

Examples of org.rhq.test.arquillian.RunDiscovery

* @author Lukas Krejci
*/
public class RunDiscoveryExecutor implements PluginContainerOperation {

    public static RunDiscovery getRunDiscoveryForTest(TestEvent event) {
        RunDiscovery runDiscovery = event.getTestMethod().getAnnotation(RunDiscovery.class);

        if (runDiscovery == null) {
            runDiscovery = event.getTestClass().getAnnotation(RunDiscovery.class);
        }
       
View Full Code Here

Examples of org.rhq.test.arquillian.RunDiscovery

        return runDiscovery;
    }
   
    @Override
    public void execute(PluginContainer pluginContainer, TestEvent event) {
        RunDiscovery runDiscovery = getRunDiscoveryForTest(event);
       
        if (runDiscovery != null) {
            runDiscovery(runDiscovery, pluginContainer);
        }
    }
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.