Package org.eclipse.jetty.toolchain.test
Class PropertyFlag
java.lang.Object
org.eclipse.jetty.toolchain.test.PropertyFlag
Flag indicating that
Test
is part of special group of tests.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PropertyFlag
private PropertyFlag()
-
-
Method Details
-
isEnabled
Returns flag indicating if-D<flag>
or-D<flag>=true
is enabled.- Parameters:
property
- name of the system property representing this flag- Returns:
- true if enabled
-
assume
Junit Assumption based on the value of a System 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.- Parameters:
property
- the system property to look for
-