Package org.glassfish.pfl.test
Class TestCaseTools
java.lang.Object
org.glassfish.pfl.test.TestCaseTools
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThis 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 enum -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static Stringstatic junit.framework.TestSuitemakeTestSuite(Class cls) Method to create a collection of nested TestSuites out of nested classes.static junit.framework.TestSuitemakeTestSuite(Class cls, TestCaseTools.TestSuiteType type) private static StringmakeTestSuiteName(Class cls) static voidreportTiming(int repCount, PrintStream out, List<TimedTest> timedTests)
-
Constructor Details
-
TestCaseTools
public TestCaseTools()
-
-
Method Details
-
reportTiming
-
getSuffix
-
makeTestSuiteName
-
makeTestSuite
Method to create a collection of nested TestSuites out of nested classes. Can either create standard JUnit TestSuites, or SingleInstanceTestSuites. -
makeTestSuite
-