Class XmlReportingTestCompletionListener

java.lang.Object
net.minecraft.test.XmlReportingTestCompletionListener
All Implemented Interfaces:
TestCompletionListener

public class XmlReportingTestCompletionListener extends Object implements TestCompletionListener
Mappings:
Namespace Name
named net/minecraft/test/XmlReportingTestCompletionListener
intermediary net/minecraft/class_6307
official tc
  • Field Details

    • document

      private final Document document
      Mappings:
      Namespace Name Mixin selector
      named document Lnet/minecraft/test/XmlReportingTestCompletionListener;document:Lorg/w3c/dom/Document;
      intermediary field_33164 Lnet/minecraft/class_6307;field_33164:Lorg/w3c/dom/Document;
      official a Ltc;a:Lorg/w3c/dom/Document;
    • testSuiteElement

      private final Element testSuiteElement
      Mappings:
      Namespace Name Mixin selector
      named testSuiteElement Lnet/minecraft/test/XmlReportingTestCompletionListener;testSuiteElement:Lorg/w3c/dom/Element;
      intermediary field_33165 Lnet/minecraft/class_6307;field_33165:Lorg/w3c/dom/Element;
      official b Ltc;b:Lorg/w3c/dom/Element;
    • stopwatch

      private final Stopwatch stopwatch
      Mappings:
      Namespace Name Mixin selector
      named stopwatch Lnet/minecraft/test/XmlReportingTestCompletionListener;stopwatch:Lcom/google/common/base/Stopwatch;
      intermediary field_33166 Lnet/minecraft/class_6307;field_33166:Lcom/google/common/base/Stopwatch;
      official c Ltc;c:Lcom/google/common/base/Stopwatch;
    • file

      private final File file
      Mappings:
      Namespace Name Mixin selector
      named file Lnet/minecraft/test/XmlReportingTestCompletionListener;file:Ljava/io/File;
      intermediary field_33167 Lnet/minecraft/class_6307;field_33167:Ljava/io/File;
      official d Ltc;d:Ljava/io/File;
  • Constructor Details

    • XmlReportingTestCompletionListener

      public XmlReportingTestCompletionListener(File file) throws ParserConfigurationException
      Throws:
      ParserConfigurationException
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/test/XmlReportingTestCompletionListener;<init>(Ljava/io/File;)V
      intermediary <init> Lnet/minecraft/class_6307;<init>(Ljava/io/File;)V
      official <init> Ltc;<init>(Ljava/io/File;)V
  • Method Details

    • addTestCase

      private Element addTestCase(GameTestState test, String name)
      Mappings:
      Namespace Name Mixin selector
      named addTestCase Lnet/minecraft/test/XmlReportingTestCompletionListener;addTestCase(Lnet/minecraft/test/GameTestState;Ljava/lang/String;)Lorg/w3c/dom/Element;
      intermediary method_36102 Lnet/minecraft/class_6307;method_36102(Lnet/minecraft/class_4517;Ljava/lang/String;)Lorg/w3c/dom/Element;
      official a Ltc;a(Lst;Ljava/lang/String;)Lorg/w3c/dom/Element;
    • onTestFailed

      public void onTestFailed(GameTestState test)
      Specified by:
      onTestFailed in interface TestCompletionListener
      Mappings:
      Namespace Name Mixin selector
      named onTestFailed Lnet/minecraft/test/TestCompletionListener;onTestFailed(Lnet/minecraft/test/GameTestState;)V
      intermediary method_22304 Lnet/minecraft/class_4531;method_22304(Lnet/minecraft/class_4517;)V
      official a Ltq;a(Lst;)V
    • onTestPassed

      public void onTestPassed(GameTestState test)
      Specified by:
      onTestPassed in interface TestCompletionListener
      Mappings:
      Namespace Name Mixin selector
      named onTestPassed Lnet/minecraft/test/TestCompletionListener;onTestPassed(Lnet/minecraft/test/GameTestState;)V
      intermediary method_33322 Lnet/minecraft/class_4531;method_33322(Lnet/minecraft/class_4517;)V
      official b Ltq;b(Lst;)V
    • onStopped

      public void onStopped()
      Specified by:
      onStopped in interface TestCompletionListener
      Mappings:
      Namespace Name Mixin selector
      named onStopped Lnet/minecraft/test/TestCompletionListener;onStopped()V
      intermediary method_36109 Lnet/minecraft/class_4531;method_36109()V
      official a Ltq;a()V
    • saveReport

      public void saveReport(File file) throws TransformerException
      Throws:
      TransformerException
      Mappings:
      Namespace Name Mixin selector
      named saveReport Lnet/minecraft/test/XmlReportingTestCompletionListener;saveReport(Ljava/io/File;)V
      intermediary method_36101 Lnet/minecraft/class_6307;method_36101(Ljava/io/File;)V
      official a Ltc;a(Ljava/io/File;)V