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 boolean
private final AtomicInteger
private final AtomicInteger
private final AtomicBoolean
private static final InheritableThreadLocal<TestSet>
private final String
private final Collection<TestMethod>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
addTestMethod
(TestMethod testMethod) void
private TestSetReportEntry
createReportEntry
(Integer elapsed, Map<String, String> systemProps) private TestSetReportEntry
createReportEntryCompleted
(int elapsed) private TestSetReportEntry
createThreadAttachedTestMethod
(ReportEntry description) static TestSet
void
incrementFinishedTests
(RunListener reporterManager, boolean reportImmediately) void
private boolean
void
replay
(RunListener target) void
setAllScheduled
(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
-