Class | Description |
---|---|
DisallowExitSecurityManager |
This is a SecurityManager that will prevent the system from exiting.
|
SystemExitExtension |
Does the work of installing the DisallowExitSecurityManager, interpreting the test results, and
returning the original SecurityManager to service.
|
Exception | Description |
---|---|
SystemExitPreventedException |
A marker exception so we know that a System.exit was intercepted by our
SecurityManager.
|
Annotation Type | Description |
---|---|
ExpectSystemExit |
This is a marker annotation that indicates the given test method or class is expected
to call System.exit()
|
ExpectSystemExitWithStatus |
This is a marker annotation that indicates the given test method or class is expected
to call System.exit() with a specific code
|
FailOnSystemExit |
This is a marker annotation that indicates the given test method or class is not expected
to call System.exit().
|