Package net.neoforged.neoforge.oldtest
Class 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 ENABLEDflag 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 SummaryFields
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Field Details- 
ENABLEDprivate static final boolean ENABLED- See Also:
 
 
- 
- 
Constructor Details- 
CrashCallableTestpublic CrashCallableTest()
 
-