public class TestCaseTools
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
TestCaseTools.SingleInstanceTestSuite
This is a special version of TestSuite that fixes, once and for
all, the irritating design of JUnit to invoke the constructor
multiple times on a test class.
|
static class |
TestCaseTools.TestSuiteType |
Constructor and Description |
---|
TestCaseTools() |
Modifier and Type | Method and Description |
---|---|
static junit.framework.TestSuite |
makeTestSuite(java.lang.Class cls)
Method to create a collection of nested TestSuites out of
nested classes.
|
static junit.framework.TestSuite |
makeTestSuite(java.lang.Class cls,
TestCaseTools.TestSuiteType type) |
static void |
reportTiming(int repCount,
java.io.PrintStream out,
java.util.List<TimedTest> timedTests) |
public static void reportTiming(int repCount, java.io.PrintStream out, java.util.List<TimedTest> timedTests)
public static junit.framework.TestSuite makeTestSuite(java.lang.Class cls)
public static junit.framework.TestSuite makeTestSuite(java.lang.Class cls, TestCaseTools.TestSuiteType type)