public final class JUnitUtils extends Object
Modifier and Type | Class and Description |
---|---|
static class |
JUnitUtils.LevelsContainer |
Modifier and Type | Method and Description |
---|---|
static JUnitUtils.LevelsContainer |
adjustLogLevels(String methodName,
List<Class<?>> classes,
List<String> categories,
org.apache.logging.log4j.Level level) |
static boolean |
parseBooleanProperty(String property)
Return the parsed value if the provided property exists in the environment or system properties.
|
static void |
revertLevels(String methodName,
JUnitUtils.LevelsContainer container) |
public static boolean parseBooleanProperty(String property)
property
- the property name.public static JUnitUtils.LevelsContainer adjustLogLevels(String methodName, List<Class<?>> classes, List<String> categories, org.apache.logging.log4j.Level level)
public static void revertLevels(String methodName, JUnitUtils.LevelsContainer container)