Class XmlReportingTestCompletionListener

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

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

    • document

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

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

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

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

    • XmlReportingTestCompletionListener

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

    • addTestCase

      private Element addTestCase(GameTestState test, String name)
      Mappings:
      Namespace Name Mixin selector
      official a Lnk;a(Lnb;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;
      named addTestCase Lnet/minecraft/test/XmlReportingTestCompletionListener;addTestCase(Lnet/minecraft/test/GameTestState;Ljava/lang/String;)Lorg/w3c/dom/Element;
    • onTestFailed

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

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

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

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