Package org.glassfish.pfl.test
Class TestCaseTools
java.lang.Object
org.glassfish.pfl.test.TestCaseTools
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
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 enum
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static String
static junit.framework.TestSuite
makeTestSuite
(Class cls) Method to create a collection of nested TestSuites out of nested classes.static junit.framework.TestSuite
makeTestSuite
(Class cls, TestCaseTools.TestSuiteType type) private static String
makeTestSuiteName
(Class cls) static void
reportTiming
(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
-