OTX Reference  
OpenTestSystem.Otx.Extensions.Range.CheckerRule Class Reference

Comprehensive checker rule listing More...

Public Attributes

Severity.Critical Range_Chk001
 Correct list type for intervals in RangedObject create terms More...
 
Severity.Critical Range_Chk002
 Identical physical dimensions More...
 

Detailed Description

Comprehensive checker rule listing

To ensure OTX document quality and correctness, the OTX checker uses a two-stage approach:

  • The first stage is standard XML Schema validation which makes sure that the document is correct with respect to the XML grammar constraints given by the OTX Schema(s). The scope of validation is always on a single document, interdependencies in between documents are not resolved. A document failing this test is invalid and will not enter the second stage.
  • The second stage is needed for testing constraints that standard XML Schema validation cannot verify. Typical constraints which fall into this category are constraints of semantic and not of syntactic nature (e.g. cross-document interdependencies, like a procedure call into another OTX document, or co-occurrence interdependencies between elements which reside in entirely separate regions of the document, like a variable declaration in the declaration block and its use in a procedure flow etc.). An OTX document or a set of documents that pass the second stage is considered as standard conform.

The checker rules for the second stage are listed in the following.

Note
In addition to syntactic and semantic correctness, real standard-compliant interchangeability also includes completeness and target system independence!

Member Data Documentation

◆ Range_Chk001

Severity.Critical OpenTestSystem.Otx.Extensions.Range.CheckerRule.Range_Chk001

Correct list type for intervals in RangedObject create terms

Criterion
The list given by the <interval> element in the terms CreateRangedInteger, CreateRangedFloat, CreateRangedQuantity and CreateRangedString shall be a list of IntegerInterval in CreateRangedInteger, a list of FloatInterval in CreateRangedFloat, a list of QuantityInterval in CreateRangedQuantity and a list of StringInterval in CreateRangedString. No other item types are allowed.

◆ Range_Chk002

Severity.Critical OpenTestSystem.Otx.Extensions.Range.CheckerRule.Range_Chk002

Identical physical dimensions

Criterion
The physical dimensions of the quantities in lowerLimit, upperLimit of the QuantityInterval, the value of a RangedQuantity and all QuantityInterval of a RangedQuantity shall be identical.