| 1 |
#CIF1.1 |
| 2 |
# A CIF file for validity testing. One block contains a series of |
| 3 |
# invalidly-typed items as per the supplied DDL1 dictionary file |
| 4 |
# The other block contains a report which any validity checking |
| 5 |
# program should be able to produce on request. |
| 6 |
|
| 7 |
data_invalid_type_block |
| 8 |
_test_reference_block_id invalid_type_block |
| 9 |
_test_construct_character 'there is nothing wrong with this' |
| 10 |
# this data item should be a number |
| 11 |
_test_construct_number 453K |
| 12 |
# there is no time type in DDL1 or 2 |
| 13 |
_test_construct_time 15:34 |
| 14 |
|
| 15 |
data_invalid_type_block_report |
| 16 |
_test_result_block_id invalid_type_block |
| 17 |
_test_result_validity invalid |
| 18 |
_test_result_fail_item_name '_test_number' |
| 19 |
_test_result_fail_type 'Value construction' |
| 20 |
_test_result_fail_item_value 453K |