|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.baselinetest.TestSuite
public class TestSuite
Need to execute init and cleanup in reverse order of each other. Create the appropriate connection methods to junit so that we can control the execution order of the test cases; this can be tricky.
Constructor Summary | |
---|---|
TestSuite(TestContext testContext,
java.io.File suiteDir,
java.io.File resultsDir,
java.util.Set<java.lang.String> validContexts,
boolean skipped)
|
|
TestSuite(TestContext testContext,
java.io.File suiteDir,
java.io.File resultsDir,
java.util.Set<java.lang.String> validContexts,
boolean skipped,
java.lang.String encoding)
|
Method Summary | |
---|---|
void |
addTestCase(TestCase testCase)
|
BaselineWriter |
getBaselineWriter()
Get the BaselineWriter. |
TestCase |
getCurrentTestCase()
Get the current TestCase. |
java.io.File |
getResultsDir()
Gets the directory for the test results for the test suite. |
ArgumentCollection |
getSuiteArguments()
Get the arguments for the TestSuite. |
java.io.File |
getSuiteDir()
Gets the directory for the TestSuite. |
TestSuiteResults |
getSuiteResults()
|
TestContext |
getTestContext()
Get the TestContext. |
TestLogger |
getTestLogger()
Get the TestLogger for this TestSuite. |
TestState |
getTestState()
Get the current TestState. |
boolean |
isSkipped()
Gets the skipped flag. |
void |
setSuiteResults(TestSuiteResults suiteResults)
|
boolean |
supportsContext(java.lang.String contextName)
Check whether the given context is supported by this TestSuite. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestSuite(TestContext testContext, java.io.File suiteDir, java.io.File resultsDir, java.util.Set<java.lang.String> validContexts, boolean skipped, java.lang.String encoding)
public TestSuite(TestContext testContext, java.io.File suiteDir, java.io.File resultsDir, java.util.Set<java.lang.String> validContexts, boolean skipped)
Method Detail |
---|
public void addTestCase(TestCase testCase)
public ArgumentCollection getSuiteArguments()
public BaselineWriter getBaselineWriter()
public TestLogger getTestLogger()
public java.io.File getResultsDir()
public java.io.File getSuiteDir()
public boolean isSkipped()
public TestContext getTestContext()
public TestState getTestState()
public TestCase getCurrentTestCase()
public boolean supportsContext(java.lang.String contextName)
contextName
- the name of the context to check.
public TestSuiteResults getSuiteResults()
public void setSuiteResults(TestSuiteResults suiteResults)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |