Package org.eclipse.unittest.internal
Class UnitTestPreferencesConstants
java.lang.Object
org.eclipse.unittest.internal.UnitTestPreferencesConstants
Defines constants which are used to refer to values in the plugin's
 preference store.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringBoolean preference controlling whether the failure stack should be filtered.static final StringMaximum number of remembered test runs.static final StringBoolean preference controlling whether the Unit Test view should be shown on errors only.
- 
Method SummaryModifier and TypeMethodDescriptionstatic booleanIndicates if a filter patterns are to be applied on a stacktrace/error messagesstatic String[]Parses the comma-separated string into an array of strings.static StringserializeList(String[] list) Serializes the array of strings into one comma-separated string.static voidsetFilterStack(boolean filter) Sets up a value for the DO_FILTER_STACK preference
- 
Field Details- 
DO_FILTER_STACKBoolean preference controlling whether the failure stack should be filtered.- See Also:
 
- 
SHOW_ON_ERROR_ONLYBoolean preference controlling whether the Unit Test view should be shown on errors only.- See Also:
 
- 
MAX_TEST_RUNSMaximum number of remembered test runs.- See Also:
 
 
- 
- 
Method Details- 
serializeListSerializes the array of strings into one comma-separated string.- Parameters:
- list- array of strings
- Returns:
- a single string composed of the given list
 
- 
parseListParses the comma-separated string into an array of strings.- Parameters:
- listString- a comma-separated string
- Returns:
- an array of strings
 
- 
getFilterStackpublic static boolean getFilterStack()Indicates if a filter patterns are to be applied on a stacktrace/error messages- Returns:
- truein case the stacktrace is to be filtered, otherwise -- false
 
- 
setFilterStackpublic static void setFilterStack(boolean filter) Sets up a value for the DO_FILTER_STACK preference- Parameters:
- filter- boolean indicating if a stacktrace is to be filtered
 
 
-