Skip to content

Latest commit

 

History

History
66 lines (58 loc) · 4 KB

topic.md

File metadata and controls

66 lines (58 loc) · 4 KB

Data section: topics

TOPIC

ID RTO
Designation TOPIC
Description For the validation of a Topic, the rules defined in [1] Chap. 3.3.6 apply
Details
  • The value %Model.Topic% must satisfy the ModelDef ([1] Chap. 2.5.1) and the TopicDef ([1] Chap. 2.5.2) in the INTERLIS data model
  • Each data container (Basket) receives a transfer identification (XML attribut BID). Where necessary, the BID value must satisfy the TopicDef ([1] Chap. 2.5.2) in the INTERLIS data model. The rules defined in [1] Chap. 2.8.9 also apply
  • All BID and all TID (see Classes) within a transfer must be unique ([1] Chap. 3.3.7 and 3.2.6)
Reference [1] Chap. 2.5.1, 2.5.2, 2.8.9, 3.2.5, 3.2.6 and 3.3.6

Test cases

Topics - RTO.T01
ID RTO.T01
Designation Topics: TopicDef
Description The tests must check whether the value %Model.Topic% satisfies the definition the INTERLIS data model
Test requirement RTO.T01a.xtf
Expected result
  • RTO.T01a.xtf: error message. Value %Topic% is wrong
Reference [1] Chap. 2.5.1, 3.3.4 and 3.3.6
Topics - RTO.T02
ID RTO.T02
Designation Topics: BID
Description The tests must check whether the BID exists and satisfies the encoding rules
Test requirement RTO.T02a.xtf, RTO.T02b.xtf, RTO.T02c.xtf, RTO.T02d.xtf
Expected result
  • RTO.T02a.xtf: error message. BID not available
  • RTO.T02b.xtf: error message. Empty BID
  • RTO.T02c.xtf: error message. BID must be encoded as XML-ID «à la INTERLIS». The first character must be a letter or a digit or an underscore
  • RTO.T02d.xtf: error message. Characters with umlauts are not allowed
Reference [1] Chap. 2.8.9 and 3.3.1
Object identification
Topics - RTO.T03
ID RTO.T03
Designation Topics: BID and TID
Description The tests must check whether all BID and all TID within the transfer are unique
Test requirement RTO.T03a.xtf, RTO.T03b.xtf
Expected result
  • RTO.T03a.xtf: error message. Double BID
  • RTO.T03b.xtf: error message. Same value in BID and in TID
Reference [1] Chap. 3.3.7 and 3.2.6
Topics - RTO.T04
ID RTO.T04
Designation Topics: containers and models
Description The tests must check containers corresponding to different models
Test requirement RTO.T04a.xtf
Expected result
  • RTO.T04a.xtf: no error message
Topics - RTO.T05
ID RTO.T05
Designation Topics: empty containers
Description The tests must check the rules for empty containers
Test requirement RTO.T05a.xtf, RTO.T05b.xtf
Expected result
  • RTO.T05a.xtf: no error message
  • RTO.T05b.xtf: no error message
Reference [1] Chap. 3.3.3, 3.3.5 and 3.3.6
Topics - RTO.T06
ID RTO.T06
Designation Topics: containers and imported models
Description The tests must check containers that have been defined on the basis of imported models
Test requirement RTO.T06a.xtf, RTO.T06b.xtf, RTO.T06c.xtf
Expected result
  • RTO.T06a.xtf: no error message
  • RTO.T06b.xtf: no error message
  • RTO.T06c.xtf: error message. Because of ASSOCIATION, the data must be transferred in a single basket
Reference [1] Chap. 2.5.1 and Appendix C