2025-11-24 22:52:51 +03:00

30 lines
741 B
Java

/*
* Decompiled with CFR 0.152.
*/
package net.minecraft.gametest.framework;
import net.minecraft.gametest.framework.GameTestInfo;
import net.minecraft.gametest.framework.LogTestReporter;
import net.minecraft.gametest.framework.TestReporter;
public class GlobalTestReporter {
private static TestReporter DELEGATE = new LogTestReporter();
public static void replaceWith(TestReporter testReporter) {
DELEGATE = testReporter;
}
public static void onTestFailed(GameTestInfo testInfo) {
DELEGATE.onTestFailed(testInfo);
}
public static void onTestSuccess(GameTestInfo testInfo) {
DELEGATE.onTestSuccess(testInfo);
}
public static void finish() {
DELEGATE.finish();
}
}