Package gw.test
Class TestEnvironment
- java.lang.Object
-
- gw.test.TestEnvironment
-
public class TestEnvironment extends java.lang.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 java.util.List<IDirectory>constructClasspathFromSystemClasspath()java.lang.Object[]getConstructorArguments()voidinitializeTypeSystem()booleanisDynamicallyDeterminedEnvironment()booleanisRemoteExecutionEnvironment()
-
-
-
Method Detail
-
initializeTypeSystem
public void initializeTypeSystem()
-
isRemoteExecutionEnvironment
public boolean isRemoteExecutionEnvironment()
-
isDynamicallyDeterminedEnvironment
public boolean isDynamicallyDeterminedEnvironment()
-
constructClasspathFromSystemClasspath
protected java.util.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 java.lang.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:
java.lang.Exception
-
getConstructorArguments
public java.lang.Object[] getConstructorArguments()
-
afterRemoteExecution
public void afterRemoteExecution() throws java.lang.ExceptionThis 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.- Throws:
java.lang.Exception
-
-