类 CrashCallableTest
java.lang.Object
net.neoforged.neoforge.oldtest.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
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
-
字段详细资料
-
ENABLED
private static final boolean ENABLED- 另请参阅:
-
ACTIVE
private static final boolean ACTIVE- 另请参阅:
-
-
构造器详细资料
-
CrashCallableTest
public CrashCallableTest()
-