The <GlobalTests> section is applied to all features being tested. Each global test contains a test ID, a filter, and a message that will be displayed in the Output window when a matching feature is detected.
This is an example of the global test section.
<GlobalTests> <Test Id="S-58 46"> <Filter> <And> <AttributeHasValue Acronym="DATSTA" /> <AttributeHasValue Acronym="DATEND" /> <CompareAttributeValues Acronym1="DATSTA" Acronym2="DATEND" Operator=">" /> </And> </Filter> <Message Level="ERROR" Description="Check for any object having DATEND and DATSTA encoded that DATEND is the same or later than DATSTA." Reference="S-58 Test Number 46. Conformity to: Logical Consistency" Solution="Enter valid dates." /> </Test> </GlobalTests> |
The following table describes the tags in this section.
Attribute | Description | Status |
|---|---|---|
| ||
| Number ID of the test being used. | Mandatory |
The Filter tag determines if the attributes being mapped meet the criteria set in the filter(s). A filter can be simple or complex using conditional and logical operators. | Mandatory | |
These parameters describe what output messages are displayed to the user when a feature matches the filter. | ||
| The type of message. | Optional |
| A brief summary of the test | Mandatory |
| The test number | Optional |
| Possible solution to errors | Optional |