Package com.helger.commons.junit
Class DebugModeTestRule
- java.lang.Object
-
- org.junit.rules.ExternalResource
-
- com.helger.commons.junit.DebugModeTestRule
-
- All Implemented Interfaces:
org.junit.rules.TestRule
public final class DebugModeTestRule extends org.junit.rules.ExternalResourceA JUnit test rule that sets global debug and trace flag for a test- Author:
- Philip Helger
-
-
Field Summary
Fields Modifier and Type Field Description static booleanENABLE_GLOBAL_DEBUGWhen this rule is used, global debug is enabled.
-
Constructor Summary
Constructors Constructor Description DebugModeTestRule()DebugModeTestRule(boolean bDebug)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafter()voidbefore()
-
-
-
Field Detail
-
ENABLE_GLOBAL_DEBUG
public static final boolean ENABLE_GLOBAL_DEBUG
When this rule is used, global debug is enabled.- See Also:
- Constant Field Values
-
-