Class TestSet
java.lang.Object
org.apache.maven.surefire.junitcore.TestSet
* Represents the test-state of a testset that is run.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate final AtomicIntegerprivate final AtomicIntegerprivate final AtomicBooleanprivate static final InheritableThreadLocal<TestSet>private final Stringprivate final Collection<TestMethod> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddTestMethod(TestMethod testMethod) voidprivate TestSetReportEntrycreateReportEntry(Integer elapsed, Map<String, String> systemProps) private TestSetReportEntrycreateReportEntryCompleted(int elapsed) private TestSetReportEntrycreateThreadAttachedTestMethod(ReportEntry description) static TestSetvoidincrementFinishedTests(RunListener reporterManager, boolean reportImmediately) voidprivate booleanvoidreplay(RunListener target) voidsetAllScheduled(RunListener reporterManager)
-
Field Details
-
TEST_SET
-
testClassName
-
testMethods
-
played
-
numberOfCompletedChildren
-
numberOfTests
-
allScheduled
private volatile boolean allScheduled
-
-
Constructor Details
-
TestSet
-
-
Method Details
-
replay
-
createThreadAttachedTestMethod
-
createReportEntryStarted
-
createReportEntryCompleted
-
createReportEntry
-
incrementTestMethodCount
public void incrementTestMethodCount() -
addTestMethod
-
incrementFinishedTests
-
setAllScheduled
-
isAllTestsDone
private boolean isAllTestsDone() -
attachToThread
public void attachToThread() -
getThreadTestSet
-