public class TestExecutionManager extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TestExecutionManager.TestInfo |
| Constructor and Description |
|---|
TestExecutionManager() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
assertionsMustBeEnabled() |
TestEnvironment |
getEnvironment() |
long |
getTimeoutForCurrentTest() |
boolean |
hasTimedOut() |
boolean |
hasTimeOut() |
void |
maybeInitTypeSystem() |
protected TestClass |
maybeUnwrapTestClass(TestClass testClass) |
protected void |
runTestClass(TestClass testClass,
junit.framework.TestResult result) |
protected void |
runTestClassBare(TestClass testClass) |
boolean |
runViaStaticSuiteMethod()
A convenience method for running this suite from a main method.
|
void |
setAssertionsMustBeEnabled(boolean assertionsMustBeEnabled) |
void |
setEnvironment(TestEnvironment environment) |
void |
setSuiteTimeoutInMillis(long suiteTimeoutInMillis) |
void |
setTestsFromSuite(List<junit.framework.TestSuite> testWrappers) |
public void setEnvironment(TestEnvironment environment)
public void setTestsFromSuite(List<junit.framework.TestSuite> testWrappers)
public void setSuiteTimeoutInMillis(long suiteTimeoutInMillis)
public boolean assertionsMustBeEnabled()
public void setAssertionsMustBeEnabled(boolean assertionsMustBeEnabled)
public TestEnvironment getEnvironment()
protected void runTestClass(TestClass testClass, junit.framework.TestResult result)
protected void runTestClassBare(TestClass testClass) throws Throwable
Throwablepublic void maybeInitTypeSystem()
public final boolean runViaStaticSuiteMethod()
public static void main(String[] args) {
System.exit( new GosuSuite().runSuite() ? 0 : 1 );
}
public final boolean hasTimeOut()
public final long getTimeoutForCurrentTest()
public final boolean hasTimedOut()
Copyright © 2019. All rights reserved.