
Variants have the same predefined tests as the DEFAULT variant. You cannot add or remove tests, but you can select which tests are active and you can edit the parameter values.
Tests can only be activated if their parameters are set. All but the most trivial parameters are provided with default values in the DEFAULT variant. The following table shows the icons that display the status of each test. These icons are displayed when you edit a variant and expand the tree with the test groups. Each test has one of the following icons.
| Icon | Description |
|---|---|
|
|
There are no parameters. |
|
|
All the required parameters are set. |
|
|
Not all the required parameters are set. |
You can set the fatal priority level of a variant. This is the priority level at which a message is designated as an error (instead of a warning or information) in the Problems view. Several fatal priority levels are possible:
JLinEE tests are a special case. More information: Executing JLinEE Tests
Creating a Variant
If you choose New, the parameters are not set and none of the tests are marked as selected.
The name of the variant must not be an empty string and can contain letters and numbers only.
Editing a Variant
You can use all simple Java types such as string, string array, int, and so on. Each value in a string array has its own node. You can use the context menu to add or remove nodes.
Set the priority level of the messages.
If the Priority field is editable, set the value none, 1, 2, or 3.
If the Priority field value is dynamic, you set the threshold values for the priorities at the relevant parameters.
Removing a Variant
Select a variant and choose Remove. The variant is automatically removed from the Variants list.