类 XmlReportingTestCompletionListener
- java.lang.Object
-
- net.minecraft.test.XmlReportingTestCompletionListener
-
- 所有已实现的接口:
TestCompletionListener
public class XmlReportingTestCompletionListener extends Object implements TestCompletionListener
- Mappings:
Namespace Name official meintermediary net/minecraft/class_6307named net/minecraft/test/XmlReportingTestCompletionListener
-
-
构造器概要
构造器 构造器 说明 XmlReportingTestCompletionListener(File file)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 private ElementaddTestCase(GameTestState test, String name)voidonStopped()voidonTestFailed(GameTestState test)voidonTestPassed(GameTestState test)voidsaveReport(File file)
-
-
-
字段详细资料
-
document
private final Document document
- Mappings:
Namespace Name Mixin selector official aLme;a:Lorg/w3c/dom/Document;intermediary field_33164Lnet/minecraft/class_6307;field_33164:Lorg/w3c/dom/Document;named documentLnet/minecraft/test/XmlReportingTestCompletionListener;document:Lorg/w3c/dom/Document;
-
testSuiteElement
private final Element testSuiteElement
- Mappings:
Namespace Name Mixin selector official bLme;b:Lorg/w3c/dom/Element;intermediary field_33165Lnet/minecraft/class_6307;field_33165:Lorg/w3c/dom/Element;named testSuiteElementLnet/minecraft/test/XmlReportingTestCompletionListener;testSuiteElement:Lorg/w3c/dom/Element;
-
stopwatch
private final Stopwatch stopwatch
- Mappings:
Namespace Name Mixin selector official cLme;c:Lcom/google/common/base/Stopwatch;intermediary field_33166Lnet/minecraft/class_6307;field_33166:Lcom/google/common/base/Stopwatch;named stopwatchLnet/minecraft/test/XmlReportingTestCompletionListener;stopwatch:Lcom/google/common/base/Stopwatch;
-
file
private final File file
- Mappings:
Namespace Name Mixin selector official dLme;d:Ljava/io/File;intermediary field_33167Lnet/minecraft/class_6307;field_33167:Ljava/io/File;named fileLnet/minecraft/test/XmlReportingTestCompletionListener;file:Ljava/io/File;
-
-
构造器详细资料
-
XmlReportingTestCompletionListener
public XmlReportingTestCompletionListener(File file) throws ParserConfigurationException
- 抛出:
ParserConfigurationException- Mappings:
Namespace Name Mixin selector official <init>Lme;<init>(Ljava/io/File;)Vintermediary <init>Lnet/minecraft/class_6307;<init>(Ljava/io/File;)Vnamed <init>Lnet/minecraft/test/XmlReportingTestCompletionListener;<init>(Ljava/io/File;)V
-
-
方法详细资料
-
addTestCase
private Element addTestCase(GameTestState test, String name)
- Mappings:
Namespace Name Mixin selector official aLme;a(Llv;Ljava/lang/String;)Lorg/w3c/dom/Element;intermediary method_36102Lnet/minecraft/class_6307;method_36102(Lnet/minecraft/class_4517;Ljava/lang/String;)Lorg/w3c/dom/Element;named addTestCaseLnet/minecraft/test/XmlReportingTestCompletionListener;addTestCase(Lnet/minecraft/test/GameTestState;Ljava/lang/String;)Lorg/w3c/dom/Element;
-
onTestFailed
public void onTestFailed(GameTestState test)
- 指定者:
onTestFailed在接口中TestCompletionListener- Mappings:
Namespace Name Mixin selector official aLmo;a(Llv;)Vintermediary method_22304Lnet/minecraft/class_4531;method_22304(Lnet/minecraft/class_4517;)Vnamed onTestFailedLnet/minecraft/test/TestCompletionListener;onTestFailed(Lnet/minecraft/test/GameTestState;)V
-
onTestPassed
public void onTestPassed(GameTestState test)
- 指定者:
onTestPassed在接口中TestCompletionListener- Mappings:
Namespace Name Mixin selector official bLmo;b(Llv;)Vintermediary method_33322Lnet/minecraft/class_4531;method_33322(Lnet/minecraft/class_4517;)Vnamed onTestPassedLnet/minecraft/test/TestCompletionListener;onTestPassed(Lnet/minecraft/test/GameTestState;)V
-
onStopped
public void onStopped()
- 指定者:
onStopped在接口中TestCompletionListener- Mappings:
Namespace Name Mixin selector official aLmo;a()Vintermediary method_36109Lnet/minecraft/class_4531;method_36109()Vnamed onStoppedLnet/minecraft/test/TestCompletionListener;onStopped()V
-
saveReport
public void saveReport(File file) throws TransformerException
- 抛出:
TransformerException- Mappings:
Namespace Name Mixin selector official aLme;a(Ljava/io/File;)Vintermediary method_36101Lnet/minecraft/class_6307;method_36101(Ljava/io/File;)Vnamed saveReportLnet/minecraft/test/XmlReportingTestCompletionListener;saveReport(Ljava/io/File;)V
-
-