MCPcopy Create free account
hub / github.com/PCGen/pcgen / setUp

Method setUp

code/src/testcommon/util/GracefulExitTest.java:23–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21 public static final ExitInterceptor EMPTY_EXIT_INTERCEPTOR = status -> true;
22
23 @BeforeEach
24 void setUp()
25 {
26 GracefulExit.registerExitFunction(status -> { /* do nothing */ });
27 GracefulExit.clearExitInterceptors();
28 }
29
30 @Test
31 void testDefaultExit()

Callers

nothing calls this directly

Calls 2

registerExitFunctionMethod · 0.95
clearExitInterceptorsMethod · 0.95

Tested by

no test coverage detected