public class TestSet
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private boolean |
allScheduled |
private java.util.concurrent.atomic.AtomicInteger |
numberOfCompletedChildren |
private java.util.concurrent.atomic.AtomicInteger |
numberOfTests |
private java.util.concurrent.atomic.AtomicBoolean |
played |
private static java.lang.InheritableThreadLocal<TestSet> |
TEST_SET |
private java.lang.String |
testClassName |
private java.util.Collection<TestMethod> |
testMethods |
Constructor and Description |
---|
TestSet(java.lang.String testClassName) |
Modifier and Type | Method and Description |
---|---|
private void |
addTestMethod(TestMethod testMethod) |
void |
attachToThread() |
private TestSetReportEntry |
createReportEntry(java.lang.Integer elapsed,
java.util.Map<java.lang.String,java.lang.String> systemProps) |
private TestSetReportEntry |
createReportEntryCompleted(int elapsed) |
private TestSetReportEntry |
createReportEntryStarted() |
TestMethod |
createThreadAttachedTestMethod(ReportEntry description) |
static TestSet |
getThreadTestSet() |
void |
incrementFinishedTests(RunListener reporterManager,
boolean reportImmediately) |
void |
incrementTestMethodCount() |
private boolean |
isAllTestsDone() |
void |
replay(RunListener target) |
void |
setAllScheduled(RunListener reporterManager) |
private static final java.lang.InheritableThreadLocal<TestSet> TEST_SET
private final java.lang.String testClassName
private final java.util.Collection<TestMethod> testMethods
private final java.util.concurrent.atomic.AtomicBoolean played
private final java.util.concurrent.atomic.AtomicInteger numberOfCompletedChildren
private final java.util.concurrent.atomic.AtomicInteger numberOfTests
private volatile boolean allScheduled
public void replay(RunListener target)
public TestMethod createThreadAttachedTestMethod(ReportEntry description)
private TestSetReportEntry createReportEntryStarted()
private TestSetReportEntry createReportEntryCompleted(int elapsed)
private TestSetReportEntry createReportEntry(java.lang.Integer elapsed, java.util.Map<java.lang.String,java.lang.String> systemProps)
public void incrementTestMethodCount()
private void addTestMethod(TestMethod testMethod)
public void incrementFinishedTests(RunListener reporterManager, boolean reportImmediately)
public void setAllScheduled(RunListener reporterManager)
private boolean isAllTestsDone()
public void attachToThread()
public static TestSet getThreadTestSet()