public final class RunModeUtils extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
isLocalContainer(Container container)
Check if this Container DEFAULTs to the Local protocol.
|
static boolean |
isRunAsClient(Deployment deployment,
org.jboss.arquillian.test.spi.TestClass testClass,
Method testMethod)
Returns if the given test should run as client.
|
static boolean |
isRunAsClientAndCheck(Deployment deployment,
org.jboss.arquillian.test.spi.TestClass testClass,
Method testMethod)
Returns if the given test should run as client and also checks for a confusing use case, when the test is not
intended to be run as a client test - in this case logs a warning. see: ARQ-1937
|
public static boolean isRunAsClient(Deployment deployment, org.jboss.arquillian.test.spi.TestClass testClass, Method testMethod)
Verify @Deployment.testable vs @RunAsClient on Class or Method level
public static boolean isRunAsClientAndCheck(Deployment deployment, org.jboss.arquillian.test.spi.TestClass testClass, Method testMethod)
public static boolean isLocalContainer(Container container)
Hack to get around ARQ-391
Copyright © 2017 JBoss by Red Hat. All rights reserved.