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 Details

    • tests

      private final Collection<GameTest> 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

      @Nullable private final Collection<TestListener> 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

      public TestSet​(Collection<GameTest> tests)
      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

      public void add​(GameTest test)
      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

      public void addListener​(TestListener listener)
      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

      public void addListener​(Consumer<GameTest> onFailed)
      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

      public String 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

      public String toString()
      Overrides:
      toString in class Object
      Mappings:
      Namespace Name Mixin selector
      official toString Lmb;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_4524;toString()Ljava/lang/String;
      named toString Lnet/minecraft/test/TestSet;toString()Ljava/lang/String;