Package net.minecraft.test
Class TestResultList
- java.lang.Object
-
- net.minecraft.test.TestResultList
-
public class TestResultList extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Collection<ITestCallback>
listeners
private java.util.Collection<TestTracker>
tests
-
Constructor Summary
Constructors Constructor Description TestResultList()
TestResultList(java.util.Collection<TestTracker> p_i226072_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addFailureListener(java.util.function.Consumer<TestTracker> p_240556_1_)
void
addListener(ITestCallback p_240558_1_)
void
addTestToTrack(TestTracker p_229579_1_)
int
getDoneCount()
int
getFailedOptionalCount()
int
getFailedRequiredCount()
java.lang.String
getProgressBar()
int
getTotalCount()
boolean
hasFailedOptional()
boolean
hasFailedRequired()
boolean
isDone()
java.lang.String
toString()
-
-
-
Field Detail
-
tests
private final java.util.Collection<TestTracker> tests
-
listeners
@Nullable private java.util.Collection<ITestCallback> listeners
-
-
Constructor Detail
-
TestResultList
public TestResultList()
-
TestResultList
public TestResultList(java.util.Collection<TestTracker> p_i226072_1_)
-
-
Method Detail
-
addTestToTrack
public void addTestToTrack(TestTracker p_229579_1_)
-
addListener
public void addListener(ITestCallback p_240558_1_)
-
addFailureListener
public void addFailureListener(java.util.function.Consumer<TestTracker> p_240556_1_)
-
getFailedRequiredCount
public int getFailedRequiredCount()
-
getFailedOptionalCount
public int getFailedOptionalCount()
-
getDoneCount
public int getDoneCount()
-
hasFailedRequired
public boolean hasFailedRequired()
-
hasFailedOptional
public boolean hasFailedOptional()
-
getTotalCount
public int getTotalCount()
-
isDone
public boolean isDone()
-
getProgressBar
public java.lang.String getProgressBar()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-