public final class PropertyFlag extends Object
Test
is part of special group of tests.Modifier and Type | Method and Description |
---|---|
static void |
assume(String property)
Junit Assumption based on the value of a System Property.
|
static boolean |
isEnabled(String property)
Returns flag indicating if
-D<flag> or -D<flag>=true is enabled. |
public static boolean isEnabled(String property)
-D<flag>
or -D<flag>=true
is enabled.property
- name of the system property representing this flagpublic static void assume(String property)
If property is found, with no value, then it assumed to be true. Otherwise the value is parsed a
Boolean.parseBoolean(String)
and used for junit assume logic.
property
- the system property to look forCopyright © 1995–2023 Mort Bay Consulting. All rights reserved.