|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jetty.toolchain.test.PropertyFlag
public final class PropertyFlag
Flag indicating that Test
is part of special group of tests.
Method Summary | |
---|---|
static void |
assume(String property)
Labels the test method as belonging to Stress testing. |
static boolean |
isEnabled(String property)
Returns flag indicating if -D<flag> or -D<flag>=true is enabled. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean isEnabled(String property)
-D<flag>
or -D<flag>=true
is enabled.
property
- name of the system property representing this flag
public static void assume(String property)
Checks for the existence of the "STRESS" system property, if found, it allows the test to execute. If not found, the test is flagged as ignored and returned.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |