Package net.minecraftforge.debug
Class CrashCallableTest
java.lang.Object
net.minecraftforge.debug.CrashCallableTest
Test features and guards of crash-callables.
- The "AlwaysActiveCrashCallable" must always be printed to the crash report
- The "ToggleableCrashCallable" must only be printed to the crash report when the
ENABLED
flag istrue
- The "BadContentCrashCallable" must always print "BadContentCrashCallable: ERR" to the crash report and print an exception to the log (relies on a try-catch in vanilla code)
- The "BadFlagCrashCallable" must never print to the crash report and must print an exception to the log
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
ENABLED
private static final boolean ENABLED- See Also:
-
-
Constructor Details
-
CrashCallableTest
public CrashCallableTest()
-