Package gw.test
Class TestEnvironment
- java.lang.Object
-
- gw.test.TestEnvironment
-
public class TestEnvironment extends Object
-
-
Constructor Summary
Constructors Constructor Description TestEnvironment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterRemoteExecution()This is a hook that gets executed on the remote server (not the local server) after execution of a suite that would normally run in this environment when running locally.voidafterTestClass()voidafterTestMethod()voidafterTestSuite()voidbeforeRemoteExecution()This is a hook that gets executed on the remote server (not the local server) prior to execution of a suite that would normally run in this environment when running locally.voidbeforeTestClass()voidbeforeTestMethod()voidbeforeTestSuite()protected List<IDirectory>constructClasspathFromSystemClasspath()Object[]getConstructorArguments()voidinitializeTypeSystem()booleanisDynamicallyDeterminedEnvironment()booleanisRemoteExecutionEnvironment()
-
-
-
Method Detail
-
initializeTypeSystem
public void initializeTypeSystem()
-
isRemoteExecutionEnvironment
public boolean isRemoteExecutionEnvironment()
-
isDynamicallyDeterminedEnvironment
public boolean isDynamicallyDeterminedEnvironment()
-
constructClasspathFromSystemClasspath
protected List<IDirectory> constructClasspathFromSystemClasspath()
-
beforeTestSuite
public void beforeTestSuite()
-
afterTestSuite
public void afterTestSuite()
-
beforeTestClass
public void beforeTestClass()
-
afterTestClass
public void afterTestClass()
-
beforeTestMethod
public void beforeTestMethod()
-
afterTestMethod
public void afterTestMethod()
-
beforeRemoteExecution
public void beforeRemoteExecution() throws ExceptionThis is a hook that gets executed on the remote server (not the local server) prior to execution of a suite that would normally run in this environment when running locally.- Throws:
Exception
-
getConstructorArguments
public Object[] getConstructorArguments()
-
-