Class TestSet

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

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

    • NOT_STARTED

      private static final char NOT_STARTED
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lqa;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:
      Mappings:
      Namespace Name Mixin selector
      official b Lqa;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:
      Mappings:
      Namespace Name Mixin selector
      official c Lqa;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:
      Mappings:
      Namespace Name Mixin selector
      official d Lqa;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:
      Mappings:
      Namespace Name Mixin selector
      official e Lqa;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 Lqa;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 Lqa;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> Lqa;<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 Lqa;a(Lpp;)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 Lqa;a(Lpq;)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 Lqa;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 Lqa;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 Lqa;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 Lqa;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 Lqa;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 Lqa;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 Lqa;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 Lqa;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 Lqa;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 Lqa;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 Lqa;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