A B C D E F G H S V 
All Classes All Packages

A

afterEach(ExtensionContext) - Method in class com.ginsberg.junit.exit.SystemExitExtension
 

B

beforeEach(ExtensionContext) - Method in class com.ginsberg.junit.exit.SystemExitExtension
 

C

checkAccept(String, int) - Method in class com.ginsberg.junit.exit.DisallowExitSecurityManager
 
checkAccess(Thread) - Method in class com.ginsberg.junit.exit.DisallowExitSecurityManager
 
checkAccess(ThreadGroup) - Method in class com.ginsberg.junit.exit.DisallowExitSecurityManager
 
checkConnect(String, int) - Method in class com.ginsberg.junit.exit.DisallowExitSecurityManager
 
checkConnect(String, int, Object) - Method in class com.ginsberg.junit.exit.DisallowExitSecurityManager
 
checkCreateClassLoader() - Method in class com.ginsberg.junit.exit.DisallowExitSecurityManager
 
checkDelete(String) - Method in class com.ginsberg.junit.exit.DisallowExitSecurityManager
 
checkExec(String) - Method in class com.ginsberg.junit.exit.DisallowExitSecurityManager
 
checkExit(int) - Method in class com.ginsberg.junit.exit.DisallowExitSecurityManager
This is the one method we truly override in this class, all others are delegated.
checkLink(String) - Method in class com.ginsberg.junit.exit.DisallowExitSecurityManager
 
checkListen(int) - Method in class com.ginsberg.junit.exit.DisallowExitSecurityManager
 
checkMulticast(InetAddress) - Method in class com.ginsberg.junit.exit.DisallowExitSecurityManager
 
checkPackageAccess(String) - Method in class com.ginsberg.junit.exit.DisallowExitSecurityManager
 
checkPackageDefinition(String) - Method in class com.ginsberg.junit.exit.DisallowExitSecurityManager
 
checkPermission(Permission) - Method in class com.ginsberg.junit.exit.DisallowExitSecurityManager
 
checkPermission(Permission, Object) - Method in class com.ginsberg.junit.exit.DisallowExitSecurityManager
 
checkPrintJobAccess() - Method in class com.ginsberg.junit.exit.DisallowExitSecurityManager
 
checkPropertiesAccess() - Method in class com.ginsberg.junit.exit.DisallowExitSecurityManager
 
checkPropertyAccess(String) - Method in class com.ginsberg.junit.exit.DisallowExitSecurityManager
 
checkRead(FileDescriptor) - Method in class com.ginsberg.junit.exit.DisallowExitSecurityManager
 
checkRead(String) - Method in class com.ginsberg.junit.exit.DisallowExitSecurityManager
 
checkRead(String, Object) - Method in class com.ginsberg.junit.exit.DisallowExitSecurityManager
 
checkSecurityAccess(String) - Method in class com.ginsberg.junit.exit.DisallowExitSecurityManager
 
checkSetFactory() - Method in class com.ginsberg.junit.exit.DisallowExitSecurityManager
 
checkWrite(FileDescriptor) - Method in class com.ginsberg.junit.exit.DisallowExitSecurityManager
 
checkWrite(String) - Method in class com.ginsberg.junit.exit.DisallowExitSecurityManager
 
com.ginsberg.junit.exit - package com.ginsberg.junit.exit
 

D

DisallowExitSecurityManager - Class in com.ginsberg.junit.exit
This is a SecurityManager that will prevent the system from exiting.
DisallowExitSecurityManager(SecurityManager) - Constructor for class com.ginsberg.junit.exit.DisallowExitSecurityManager
 

E

ExpectSystemExit - Annotation Type in com.ginsberg.junit.exit
This is a marker annotation that indicates the given test method or class is expected to call System.exit()
ExpectSystemExitWithStatus - Annotation Type in com.ginsberg.junit.exit
This is a marker annotation that indicates the given test method or class is expected to call System.exit() with a specific code

F

FailOnSystemExit - Annotation Type in com.ginsberg.junit.exit
This is a marker annotation that indicates the given test method or class is not expected to call System.exit().

G

getFirstExitStatusCode() - Method in class com.ginsberg.junit.exit.DisallowExitSecurityManager
 
getPreventedSystemExitCount() - Method in class com.ginsberg.junit.exit.DisallowExitSecurityManager
 
getSecurityContext() - Method in class com.ginsberg.junit.exit.DisallowExitSecurityManager
 
getStatusCode() - Method in exception com.ginsberg.junit.exit.SystemExitPreventedException
 
getThreadGroup() - Method in class com.ginsberg.junit.exit.DisallowExitSecurityManager
 

H

handleTestExecutionException(ExtensionContext, Throwable) - Method in class com.ginsberg.junit.exit.SystemExitExtension
This is here so we can catch exceptions thrown by our own security manager and prevent them from stopping the annotated test.

S

SystemExitExtension - Class in com.ginsberg.junit.exit
Does the work of installing the DisallowExitSecurityManager, interpreting the test results, and returning the original SecurityManager to service.
SystemExitExtension() - Constructor for class com.ginsberg.junit.exit.SystemExitExtension
 
SystemExitPreventedException - Exception in com.ginsberg.junit.exit
A marker exception so we know that a System.exit was intercepted by our SecurityManager.
SystemExitPreventedException(int) - Constructor for exception com.ginsberg.junit.exit.SystemExitPreventedException
 

V

value() - Method in annotation type com.ginsberg.junit.exit.ExpectSystemExitWithStatus
 
A B C D E F G H S V 
All Classes All Packages
Skip navigation links