Package net.minecraft.test
Class TestSet
java.lang.Object
net.minecraft.test.TestSet
public class TestSet extends Object
- Mappings:
Namespace Name official mb
intermediary net/minecraft/class_4524
named net/minecraft/test/TestSet
-
Field Summary
Fields Modifier and Type Field Description private Collection<TestListener>
listeners
private Collection<GameTest>
tests
-
Constructor Summary
Constructors Constructor Description TestSet()
TestSet(Collection<GameTest> tests)
-
Method Summary
Modifier and Type Method Description void
add(GameTest test)
void
addListener(Consumer<GameTest> onFailed)
void
addListener(TestListener listener)
boolean
failed()
int
getCompletedTestCount()
int
getFailedOptionalTestCount()
int
getFailedRequiredTestCount()
String
getResultString()
int
getTestCount()
boolean
hasFailedOptionalTests()
boolean
isDone()
String
toString()
-
Field Details
-
tests
- Mappings:
Namespace Name Mixin selector official a
Lmb;a:Ljava/util/Collection;
intermediary field_20577
Lnet/minecraft/class_4524;field_20577:Ljava/util/Collection;
named tests
Lnet/minecraft/test/TestSet;tests:Ljava/util/Collection;
-
listeners
- Mappings:
Namespace Name Mixin selector official b
Lmb;b:Ljava/util/Collection;
intermediary field_25303
Lnet/minecraft/class_4524;field_25303:Ljava/util/Collection;
named listeners
Lnet/minecraft/test/TestSet;listeners:Ljava/util/Collection;
-
-
Constructor Details
-
TestSet
public TestSet() -
TestSet
- Mappings:
Namespace Name Mixin selector official <init>
Lmb;<init>(Ljava/util/Collection;)V
intermediary <init>
Lnet/minecraft/class_4524;<init>(Ljava/util/Collection;)V
named <init>
Lnet/minecraft/test/TestSet;<init>(Ljava/util/Collection;)V
-
-
Method Details
-
add
- Mappings:
Namespace Name Mixin selector official a
Lmb;a(Llq;)V
intermediary method_22230
Lnet/minecraft/class_4524;method_22230(Lnet/minecraft/class_4517;)V
named add
Lnet/minecraft/test/TestSet;add(Lnet/minecraft/test/GameTest;)V
-
addListener
- Mappings:
Namespace Name Mixin selector official a
Lmb;a(Llr;)V
intermediary method_22231
Lnet/minecraft/class_4524;method_22231(Lnet/minecraft/class_4518;)V
named addListener
Lnet/minecraft/test/TestSet;addListener(Lnet/minecraft/test/TestListener;)V
-
addListener
- Mappings:
Namespace Name Mixin selector official a
Lmb;a(Ljava/util/function/Consumer;)V
intermediary method_29407
Lnet/minecraft/class_4524;method_29407(Ljava/util/function/Consumer;)V
named addListener
Lnet/minecraft/test/TestSet;addListener(Ljava/util/function/Consumer;)V
-
getFailedRequiredTestCount
public int getFailedRequiredTestCount()- Mappings:
Namespace Name Mixin selector official a
Lmb;a()I
intermediary method_22229
Lnet/minecraft/class_4524;method_22229()I
named getFailedRequiredTestCount
Lnet/minecraft/test/TestSet;getFailedRequiredTestCount()I
-
getFailedOptionalTestCount
public int getFailedOptionalTestCount()- Mappings:
Namespace Name Mixin selector official b
Lmb;b()I
intermediary method_22234
Lnet/minecraft/class_4524;method_22234()I
named getFailedOptionalTestCount
Lnet/minecraft/test/TestSet;getFailedOptionalTestCount()I
-
getCompletedTestCount
public int getCompletedTestCount()- Mappings:
Namespace Name Mixin selector official c
Lmb;c()I
intermediary method_22235
Lnet/minecraft/class_4524;method_22235()I
named getCompletedTestCount
Lnet/minecraft/test/TestSet;getCompletedTestCount()I
-
failed
public boolean failed()- Mappings:
Namespace Name Mixin selector official d
Lmb;d()Z
intermediary method_22236
Lnet/minecraft/class_4524;method_22236()Z
named failed
Lnet/minecraft/test/TestSet;failed()Z
-
hasFailedOptionalTests
public boolean hasFailedOptionalTests()- Mappings:
Namespace Name Mixin selector official e
Lmb;e()Z
intermediary method_22237
Lnet/minecraft/class_4524;method_22237()Z
named hasFailedOptionalTests
Lnet/minecraft/test/TestSet;hasFailedOptionalTests()Z
-
getTestCount
public int getTestCount()- Mappings:
Namespace Name Mixin selector official h
Lmb;h()I
intermediary method_22238
Lnet/minecraft/class_4524;method_22238()I
named getTestCount
Lnet/minecraft/test/TestSet;getTestCount()I
-
isDone
public boolean isDone()- Mappings:
Namespace Name Mixin selector official i
Lmb;i()Z
intermediary method_22239
Lnet/minecraft/class_4524;method_22239()Z
named isDone
Lnet/minecraft/test/TestSet;isDone()Z
-
getResultString
- Mappings:
Namespace Name Mixin selector official j
Lmb;j()Ljava/lang/String;
intermediary method_22240
Lnet/minecraft/class_4524;method_22240()Ljava/lang/String;
named getResultString
Lnet/minecraft/test/TestSet;getResultString()Ljava/lang/String;
-
toString
-