Package com.ginsberg.junit.exit.agent
Class AgentSystemExitHandlerStrategy
java.lang.Object
com.ginsberg.junit.exit.agent.AgentSystemExitHandlerStrategy
- All Implemented Interfaces:
ExitPreventerStrategy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic voidvoidstatic voidhandleExit(int status) static booleanvoid
-
Constructor Details
-
AgentSystemExitHandlerStrategy
public AgentSystemExitHandlerStrategy()
-
-
Method Details
-
handleExit
public static void handleExit(int status) -
agentInit
public static void agentInit() -
isLoadedFromAgent
public static boolean isLoadedFromAgent() -
firstExitStatusCode
- Specified by:
firstExitStatusCodein interfaceExitPreventerStrategy
-
beforeTest
public void beforeTest()- Specified by:
beforeTestin interfaceExitPreventerStrategy
-
afterTest
public void afterTest()- Specified by:
afterTestin interfaceExitPreventerStrategy
-
resetBetweenTests
public void resetBetweenTests()- Specified by:
resetBetweenTestsin interfaceExitPreventerStrategy
-