Class TestSet

java.lang.Object
net.minecraft.test.TestSet

public class TestSet extends Object
Mappings:
Namespace Name
official ml
intermediary net/minecraft/class_4524
named net/minecraft/test/TestSet
  • Field Details

    • NOT_STARTED

      private static final char NOT_STARTED
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official a Lml;a:C
      intermediary field_33168 Lnet/minecraft/class_4524;field_33168:C
      named NOT_STARTED Lnet/minecraft/test/TestSet;NOT_STARTED:C
    • RUNNING

      private static final char RUNNING
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official b Lml;b:C
      intermediary field_33169 Lnet/minecraft/class_4524;field_33169:C
      named RUNNING Lnet/minecraft/test/TestSet;RUNNING:C
    • PASS

      private static final char PASS
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official c Lml;c:C
      intermediary field_33170 Lnet/minecraft/class_4524;field_33170:C
      named PASS Lnet/minecraft/test/TestSet;PASS:C
    • OPTIONAL_FAIL

      private static final char OPTIONAL_FAIL
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official d Lml;d:C
      intermediary field_33171 Lnet/minecraft/class_4524;field_33171:C
      named OPTIONAL_FAIL Lnet/minecraft/test/TestSet;OPTIONAL_FAIL:C
    • REQUIRED_FAIL

      private static final char REQUIRED_FAIL
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official e Lml;e:C
      intermediary field_33172 Lnet/minecraft/class_4524;field_33172:C
      named REQUIRED_FAIL Lnet/minecraft/test/TestSet;REQUIRED_FAIL:C
    • tests

      private final Collection<GameTestState> tests
      Mappings:
      Namespace Name Mixin selector
      official f Lml;f: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

      @Nullable private final @Nullable Collection<TestListener> listeners
      Mappings:
      Namespace Name Mixin selector
      official g Lml;g: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

      public TestSet(Collection<GameTestState> tests)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lml;<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

      public void add(GameTestState test)
      Mappings:
      Namespace Name Mixin selector
      official a Lml;a(Lma;)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/GameTestState;)V
    • addListener

      public void addListener(TestListener listener)
      Mappings:
      Namespace Name Mixin selector
      official a Lml;a(Lmb;)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

      public void addListener(Consumer<GameTestState> onFailed)
      Mappings:
      Namespace Name Mixin selector
      official a Lml;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 Lml;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 Lml;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 Lml;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 Lml;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 Lml;e()Z
      intermediary method_22237 Lnet/minecraft/class_4524;method_22237()Z
      named hasFailedOptionalTests Lnet/minecraft/test/TestSet;hasFailedOptionalTests()Z
    • getRequiredTests

      public Collection<GameTestState> getRequiredTests()
      Mappings:
      Namespace Name Mixin selector
      official f Lml;f()Ljava/util/Collection;
      intermediary method_36103 Lnet/minecraft/class_4524;method_36103()Ljava/util/Collection;
      named getRequiredTests Lnet/minecraft/test/TestSet;getRequiredTests()Ljava/util/Collection;
    • getOptionalTests

      public Collection<GameTestState> getOptionalTests()
      Mappings:
      Namespace Name Mixin selector
      official g Lml;g()Ljava/util/Collection;
      intermediary method_36104 Lnet/minecraft/class_4524;method_36104()Ljava/util/Collection;
      named getOptionalTests Lnet/minecraft/test/TestSet;getOptionalTests()Ljava/util/Collection;
    • getTestCount

      public int getTestCount()
      Mappings:
      Namespace Name Mixin selector
      official h Lml;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 Lml;i()Z
      intermediary method_22239 Lnet/minecraft/class_4524;method_22239()Z
      named isDone Lnet/minecraft/test/TestSet;isDone()Z
    • getResultString

      public String getResultString()
      Mappings:
      Namespace Name Mixin selector
      official j Lml;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

      public String toString()
      Overrides:
      toString in class Object