From 296605124894707a3111e5f55ed34415f5828746 Mon Sep 17 00:00:00 2001 From: Claudio Benghi Date: Mon, 6 May 2024 10:00:27 +0100 Subject: [PATCH] Improved audit tool and related IDS fixes. (#292) * Adjusted string encoding of boolean values to XML According to XML standard documentation. * Updated audit tool library and fixed IDS files Test case and development files have been adjusted to address new issues discovered by tool. A number of cases previously listed as fail are now marked invalid. --- Development/IDS_SimpleBIM_examples.ids | 2 +- ...be_specified_as_lowercase_strings_1_3.ids} | 6 +- ...be_specified_as_lowercase_strings_1_3.ifc} | 0 ...be_specified_as_lowercase_strings_2_3.ids} | 4 +- ...be_specified_as_lowercase_strings_2_3.ifc} | 0 ...pressed_as_floating_point_numbers_2_2.ids} | 4 +- ...pressed_as_floating_point_numbers_2_2.ifc} | 0 ...lly_formatted_numbers_are_allowed_1_4.ids} | 0 ...lly_formatted_numbers_are_allowed_1_4.ifc} | 0 ...lly_formatted_numbers_are_allowed_2_4.ids} | 0 ...lly_formatted_numbers_are_allowed_2_4.ifc} | 0 ...en_the_value_is_an_integer_is_invalid.ids} | 4 +- ...en_the_value_is_an_integer_is_invalid.ifc} | 0 ...be_specified_as_lowercase_strings_2_3.ids} | 6 +- ...be_specified_as_lowercase_strings_2_3.ifc} | 0 ...be_specified_as_lowercase_strings_1_3.ids} | 6 +- ...be_specified_as_lowercase_strings_1_3.ifc} | 0 ...be_specified_as_lowercase_strings_3_3.ids} | 4 +- ...be_specified_as_lowercase_strings_3_3.ifc} | 0 ...es_are_checked_using_type_casting_4_4.ids} | 0 ...es_are_checked_using_type_casting_4_4.ifc} | 0 ...ues_cannot_be_stored_with_decimal_2_4.ids} | 4 +- ...ues_cannot_be_stored_with_decimal_2_4.ifc} | 0 ...ues_cannot_be_stored_with_decimal_3_4.ids} | 4 +- ...ues_cannot_be_stored_with_decimal_3_4.ifc} | 0 ...lly_formatted_numbers_are_allowed_1_4.ids} | 0 ...lly_formatted_numbers_are_allowed_1_4.ifc} | 0 ...lly_formatted_numbers_are_allowed_2_4.ids} | 0 ...lly_formatted_numbers_are_allowed_2_4.ifc} | 0 ...be_specified_as_lowercase_strings_2_3.ids} | 6 +- ...be_specified_as_lowercase_strings_2_3.ifc} | 0 Documentation/testcases/scripts.md | 82 +++++++++---------- build/_build.csproj | 2 +- 33 files changed, 67 insertions(+), 67 deletions(-) rename Documentation/testcases/attribute/{fail-booleans_must_be_specified_as_uppercase_strings_1_3.ids => fail-booleans_must_be_specified_as_lowercase_strings_1_3.ids} (84%) rename Documentation/testcases/attribute/{fail-booleans_must_be_specified_as_uppercase_strings_1_3.ifc => fail-booleans_must_be_specified_as_lowercase_strings_1_3.ifc} (100%) rename Documentation/testcases/attribute/{pass-booleans_must_be_specified_as_uppercase_strings_2_3.ids => invalid-booleans_must_be_specified_as_lowercase_strings_2_3.ids} (88%) rename Documentation/testcases/attribute/{fail-booleans_must_be_specified_as_uppercase_strings_2_3.ifc => invalid-booleans_must_be_specified_as_lowercase_strings_2_3.ifc} (100%) rename Documentation/testcases/attribute/{pass-integers_follow_the_same_rules_as_numbers_2_2.ids => invalid-integers_cannot_be_expressed_as_floating_point_numbers_2_2.ids} (83%) rename Documentation/testcases/attribute/{fail-specifying_a_float_when_the_value_is_an_integer_will_fail.ifc => invalid-integers_cannot_be_expressed_as_floating_point_numbers_2_2.ifc} (100%) rename Documentation/testcases/attribute/{fail-only_specifically_formatted_numbers_are_allowed_1_4.ids => invalid-only_specifically_formatted_numbers_are_allowed_1_4.ids} (100%) rename Documentation/testcases/attribute/{fail-only_specifically_formatted_numbers_are_allowed_1_4.ifc => invalid-only_specifically_formatted_numbers_are_allowed_1_4.ifc} (100%) rename Documentation/testcases/attribute/{fail-only_specifically_formatted_numbers_are_allowed_2_4.ids => invalid-only_specifically_formatted_numbers_are_allowed_2_4.ids} (100%) rename Documentation/testcases/attribute/{fail-only_specifically_formatted_numbers_are_allowed_2_4.ifc => invalid-only_specifically_formatted_numbers_are_allowed_2_4.ifc} (100%) rename Documentation/testcases/attribute/{fail-specifying_a_float_when_the_value_is_an_integer_will_fail.ids => invalid-specifying_a_float_when_the_value_is_an_integer_is_invalid.ids} (90%) rename Documentation/testcases/attribute/{pass-integers_follow_the_same_rules_as_numbers_2_2.ifc => invalid-specifying_a_float_when_the_value_is_an_integer_is_invalid.ifc} (100%) rename Documentation/testcases/attribute/{fail-booleans_must_be_specified_as_uppercase_strings_2_3.ids => pass-booleans_must_be_specified_as_lowercase_strings_2_3.ids} (84%) rename Documentation/testcases/attribute/{pass-booleans_must_be_specified_as_uppercase_strings_2_3.ifc => pass-booleans_must_be_specified_as_lowercase_strings_2_3.ifc} (100%) rename Documentation/testcases/property/{fail-booleans_must_be_specified_as_uppercase_strings_1_3.ids => fail-booleans_must_be_specified_as_lowercase_strings_1_3.ids} (85%) rename Documentation/testcases/property/{fail-booleans_must_be_specified_as_uppercase_strings_1_3.ifc => fail-booleans_must_be_specified_as_lowercase_strings_1_3.ifc} (100%) rename Documentation/testcases/property/{pass-booleans_must_be_specified_as_uppercase_strings_2_3.ids => invalid-booleans_must_be_specified_as_lowercase_strings_3_3.ids} (86%) rename Documentation/testcases/property/{fail-booleans_must_be_specified_as_uppercase_strings_3_3.ifc => invalid-booleans_must_be_specified_as_lowercase_strings_3_3.ifc} (100%) rename Documentation/testcases/property/{fail-integer_values_are_checked_using_type_casting_4_4.ids => invalid-integer_values_are_checked_using_type_casting_4_4.ids} (100%) rename Documentation/testcases/property/{fail-integer_values_are_checked_using_type_casting_4_4.ifc => invalid-integer_values_are_checked_using_type_casting_4_4.ifc} (100%) rename Documentation/testcases/property/{pass-integer_values_are_checked_using_type_casting_2_4.ids => invalid-integer_values_cannot_be_stored_with_decimal_2_4.ids} (85%) rename Documentation/testcases/property/{pass-integer_values_are_checked_using_type_casting_2_4.ifc => invalid-integer_values_cannot_be_stored_with_decimal_2_4.ifc} (100%) rename Documentation/testcases/property/{pass-integer_values_are_checked_using_type_casting_3_4.ids => invalid-integer_values_cannot_be_stored_with_decimal_3_4.ids} (85%) rename Documentation/testcases/property/{pass-integer_values_are_checked_using_type_casting_3_4.ifc => invalid-integer_values_cannot_be_stored_with_decimal_3_4.ifc} (100%) rename Documentation/testcases/property/{fail-only_specifically_formatted_numbers_are_allowed_1_4.ids => invalid-only_specifically_formatted_numbers_are_allowed_1_4.ids} (100%) rename Documentation/testcases/property/{fail-only_specifically_formatted_numbers_are_allowed_1_4.ifc => invalid-only_specifically_formatted_numbers_are_allowed_1_4.ifc} (100%) rename Documentation/testcases/property/{fail-only_specifically_formatted_numbers_are_allowed_2_4.ids => invalid-only_specifically_formatted_numbers_are_allowed_2_4.ids} (100%) rename Documentation/testcases/property/{fail-only_specifically_formatted_numbers_are_allowed_2_4.ifc => invalid-only_specifically_formatted_numbers_are_allowed_2_4.ifc} (100%) rename Documentation/testcases/property/{fail-booleans_must_be_specified_as_uppercase_strings_3_3.ids => pass-booleans_must_be_specified_as_lowercase_strings_2_3.ids} (82%) rename Documentation/testcases/property/{pass-booleans_must_be_specified_as_uppercase_strings_2_3.ifc => pass-booleans_must_be_specified_as_lowercase_strings_2_3.ifc} (100%) diff --git a/Development/IDS_SimpleBIM_examples.ids b/Development/IDS_SimpleBIM_examples.ids index 26c4dcb..a745480 100644 --- a/Development/IDS_SimpleBIM_examples.ids +++ b/Development/IDS_SimpleBIM_examples.ids @@ -73,7 +73,7 @@ IsExternal - TRUE + true diff --git a/Documentation/testcases/attribute/fail-booleans_must_be_specified_as_uppercase_strings_1_3.ids b/Documentation/testcases/attribute/fail-booleans_must_be_specified_as_lowercase_strings_1_3.ids similarity index 84% rename from Documentation/testcases/attribute/fail-booleans_must_be_specified_as_uppercase_strings_1_3.ids rename to Documentation/testcases/attribute/fail-booleans_must_be_specified_as_lowercase_strings_1_3.ids index 92cc327..b200b1f 100644 --- a/Documentation/testcases/attribute/fail-booleans_must_be_specified_as_uppercase_strings_1_3.ids +++ b/Documentation/testcases/attribute/fail-booleans_must_be_specified_as_lowercase_strings_1_3.ids @@ -1,11 +1,11 @@ - Booleans must be specified as uppercase strings 1/3 + Booleans must be specified as lowercase strings 1/3 Generated via code automation in the Ids Repository on github. - + @@ -19,7 +19,7 @@ IsMilestone - TRUE + true diff --git a/Documentation/testcases/attribute/fail-booleans_must_be_specified_as_uppercase_strings_1_3.ifc b/Documentation/testcases/attribute/fail-booleans_must_be_specified_as_lowercase_strings_1_3.ifc similarity index 100% rename from Documentation/testcases/attribute/fail-booleans_must_be_specified_as_uppercase_strings_1_3.ifc rename to Documentation/testcases/attribute/fail-booleans_must_be_specified_as_lowercase_strings_1_3.ifc diff --git a/Documentation/testcases/attribute/pass-booleans_must_be_specified_as_uppercase_strings_2_3.ids b/Documentation/testcases/attribute/invalid-booleans_must_be_specified_as_lowercase_strings_2_3.ids similarity index 88% rename from Documentation/testcases/attribute/pass-booleans_must_be_specified_as_uppercase_strings_2_3.ids rename to Documentation/testcases/attribute/invalid-booleans_must_be_specified_as_lowercase_strings_2_3.ids index e97c87c..f112d14 100644 --- a/Documentation/testcases/attribute/pass-booleans_must_be_specified_as_uppercase_strings_2_3.ids +++ b/Documentation/testcases/attribute/invalid-booleans_must_be_specified_as_lowercase_strings_2_3.ids @@ -1,11 +1,11 @@ - Booleans must be specified as uppercase strings 2/3 + Booleans must be specified as lowercase strings 2/3 Generated via code automation in the Ids Repository on github. - + diff --git a/Documentation/testcases/attribute/fail-booleans_must_be_specified_as_uppercase_strings_2_3.ifc b/Documentation/testcases/attribute/invalid-booleans_must_be_specified_as_lowercase_strings_2_3.ifc similarity index 100% rename from Documentation/testcases/attribute/fail-booleans_must_be_specified_as_uppercase_strings_2_3.ifc rename to Documentation/testcases/attribute/invalid-booleans_must_be_specified_as_lowercase_strings_2_3.ifc diff --git a/Documentation/testcases/attribute/pass-integers_follow_the_same_rules_as_numbers_2_2.ids b/Documentation/testcases/attribute/invalid-integers_cannot_be_expressed_as_floating_point_numbers_2_2.ids similarity index 83% rename from Documentation/testcases/attribute/pass-integers_follow_the_same_rules_as_numbers_2_2.ids rename to Documentation/testcases/attribute/invalid-integers_cannot_be_expressed_as_floating_point_numbers_2_2.ids index 4ed3d23..9ef8341 100644 --- a/Documentation/testcases/attribute/pass-integers_follow_the_same_rules_as_numbers_2_2.ids +++ b/Documentation/testcases/attribute/invalid-integers_cannot_be_expressed_as_floating_point_numbers_2_2.ids @@ -1,11 +1,11 @@ - Integers follow the same rules as numbers 2/2 + Integers cannot be expressed as floating point numbers 2/2 Generated via code automation in the Ids Repository on github. - + diff --git a/Documentation/testcases/attribute/fail-specifying_a_float_when_the_value_is_an_integer_will_fail.ifc b/Documentation/testcases/attribute/invalid-integers_cannot_be_expressed_as_floating_point_numbers_2_2.ifc similarity index 100% rename from Documentation/testcases/attribute/fail-specifying_a_float_when_the_value_is_an_integer_will_fail.ifc rename to Documentation/testcases/attribute/invalid-integers_cannot_be_expressed_as_floating_point_numbers_2_2.ifc diff --git a/Documentation/testcases/attribute/fail-only_specifically_formatted_numbers_are_allowed_1_4.ids b/Documentation/testcases/attribute/invalid-only_specifically_formatted_numbers_are_allowed_1_4.ids similarity index 100% rename from Documentation/testcases/attribute/fail-only_specifically_formatted_numbers_are_allowed_1_4.ids rename to Documentation/testcases/attribute/invalid-only_specifically_formatted_numbers_are_allowed_1_4.ids diff --git a/Documentation/testcases/attribute/fail-only_specifically_formatted_numbers_are_allowed_1_4.ifc b/Documentation/testcases/attribute/invalid-only_specifically_formatted_numbers_are_allowed_1_4.ifc similarity index 100% rename from Documentation/testcases/attribute/fail-only_specifically_formatted_numbers_are_allowed_1_4.ifc rename to Documentation/testcases/attribute/invalid-only_specifically_formatted_numbers_are_allowed_1_4.ifc diff --git a/Documentation/testcases/attribute/fail-only_specifically_formatted_numbers_are_allowed_2_4.ids b/Documentation/testcases/attribute/invalid-only_specifically_formatted_numbers_are_allowed_2_4.ids similarity index 100% rename from Documentation/testcases/attribute/fail-only_specifically_formatted_numbers_are_allowed_2_4.ids rename to Documentation/testcases/attribute/invalid-only_specifically_formatted_numbers_are_allowed_2_4.ids diff --git a/Documentation/testcases/attribute/fail-only_specifically_formatted_numbers_are_allowed_2_4.ifc b/Documentation/testcases/attribute/invalid-only_specifically_formatted_numbers_are_allowed_2_4.ifc similarity index 100% rename from Documentation/testcases/attribute/fail-only_specifically_formatted_numbers_are_allowed_2_4.ifc rename to Documentation/testcases/attribute/invalid-only_specifically_formatted_numbers_are_allowed_2_4.ifc diff --git a/Documentation/testcases/attribute/fail-specifying_a_float_when_the_value_is_an_integer_will_fail.ids b/Documentation/testcases/attribute/invalid-specifying_a_float_when_the_value_is_an_integer_is_invalid.ids similarity index 90% rename from Documentation/testcases/attribute/fail-specifying_a_float_when_the_value_is_an_integer_will_fail.ids rename to Documentation/testcases/attribute/invalid-specifying_a_float_when_the_value_is_an_integer_is_invalid.ids index bfdbb7d..b1cfa5c 100644 --- a/Documentation/testcases/attribute/fail-specifying_a_float_when_the_value_is_an_integer_will_fail.ids +++ b/Documentation/testcases/attribute/invalid-specifying_a_float_when_the_value_is_an_integer_is_invalid.ids @@ -1,11 +1,11 @@ - Specifying a float when the value is an integer will fail + Specifying a float when the value is an integer is invalid Generated via code automation in the Ids Repository on github. - + diff --git a/Documentation/testcases/attribute/pass-integers_follow_the_same_rules_as_numbers_2_2.ifc b/Documentation/testcases/attribute/invalid-specifying_a_float_when_the_value_is_an_integer_is_invalid.ifc similarity index 100% rename from Documentation/testcases/attribute/pass-integers_follow_the_same_rules_as_numbers_2_2.ifc rename to Documentation/testcases/attribute/invalid-specifying_a_float_when_the_value_is_an_integer_is_invalid.ifc diff --git a/Documentation/testcases/attribute/fail-booleans_must_be_specified_as_uppercase_strings_2_3.ids b/Documentation/testcases/attribute/pass-booleans_must_be_specified_as_lowercase_strings_2_3.ids similarity index 84% rename from Documentation/testcases/attribute/fail-booleans_must_be_specified_as_uppercase_strings_2_3.ids rename to Documentation/testcases/attribute/pass-booleans_must_be_specified_as_lowercase_strings_2_3.ids index b5ac4f8..077139b 100644 --- a/Documentation/testcases/attribute/fail-booleans_must_be_specified_as_uppercase_strings_2_3.ids +++ b/Documentation/testcases/attribute/pass-booleans_must_be_specified_as_lowercase_strings_2_3.ids @@ -1,11 +1,11 @@ - Booleans must be specified as uppercase strings 2/3 + Booleans must be specified as lowercase strings 2/3 Generated via code automation in the Ids Repository on github. - + @@ -19,7 +19,7 @@ IsMilestone - False + false diff --git a/Documentation/testcases/attribute/pass-booleans_must_be_specified_as_uppercase_strings_2_3.ifc b/Documentation/testcases/attribute/pass-booleans_must_be_specified_as_lowercase_strings_2_3.ifc similarity index 100% rename from Documentation/testcases/attribute/pass-booleans_must_be_specified_as_uppercase_strings_2_3.ifc rename to Documentation/testcases/attribute/pass-booleans_must_be_specified_as_lowercase_strings_2_3.ifc diff --git a/Documentation/testcases/property/fail-booleans_must_be_specified_as_uppercase_strings_1_3.ids b/Documentation/testcases/property/fail-booleans_must_be_specified_as_lowercase_strings_1_3.ids similarity index 85% rename from Documentation/testcases/property/fail-booleans_must_be_specified_as_uppercase_strings_1_3.ids rename to Documentation/testcases/property/fail-booleans_must_be_specified_as_lowercase_strings_1_3.ids index 5e88c32..ea162dc 100644 --- a/Documentation/testcases/property/fail-booleans_must_be_specified_as_uppercase_strings_1_3.ids +++ b/Documentation/testcases/property/fail-booleans_must_be_specified_as_lowercase_strings_1_3.ids @@ -1,11 +1,11 @@ - Booleans must be specified as uppercase strings 1/3 + Booleans must be specified as lowercase strings 1/3 Generated via code automation in the Ids Repository on github. - + @@ -22,7 +22,7 @@ Foo - TRUE + true diff --git a/Documentation/testcases/property/fail-booleans_must_be_specified_as_uppercase_strings_1_3.ifc b/Documentation/testcases/property/fail-booleans_must_be_specified_as_lowercase_strings_1_3.ifc similarity index 100% rename from Documentation/testcases/property/fail-booleans_must_be_specified_as_uppercase_strings_1_3.ifc rename to Documentation/testcases/property/fail-booleans_must_be_specified_as_lowercase_strings_1_3.ifc diff --git a/Documentation/testcases/property/pass-booleans_must_be_specified_as_uppercase_strings_2_3.ids b/Documentation/testcases/property/invalid-booleans_must_be_specified_as_lowercase_strings_3_3.ids similarity index 86% rename from Documentation/testcases/property/pass-booleans_must_be_specified_as_uppercase_strings_2_3.ids rename to Documentation/testcases/property/invalid-booleans_must_be_specified_as_lowercase_strings_3_3.ids index a3b3097..8100f09 100644 --- a/Documentation/testcases/property/pass-booleans_must_be_specified_as_uppercase_strings_2_3.ids +++ b/Documentation/testcases/property/invalid-booleans_must_be_specified_as_lowercase_strings_3_3.ids @@ -1,11 +1,11 @@ - Booleans must be specified as uppercase strings 2/3 + Booleans must be specified as lowercase strings 3/3 Generated via code automation in the Ids Repository on github. - + diff --git a/Documentation/testcases/property/fail-booleans_must_be_specified_as_uppercase_strings_3_3.ifc b/Documentation/testcases/property/invalid-booleans_must_be_specified_as_lowercase_strings_3_3.ifc similarity index 100% rename from Documentation/testcases/property/fail-booleans_must_be_specified_as_uppercase_strings_3_3.ifc rename to Documentation/testcases/property/invalid-booleans_must_be_specified_as_lowercase_strings_3_3.ifc diff --git a/Documentation/testcases/property/fail-integer_values_are_checked_using_type_casting_4_4.ids b/Documentation/testcases/property/invalid-integer_values_are_checked_using_type_casting_4_4.ids similarity index 100% rename from Documentation/testcases/property/fail-integer_values_are_checked_using_type_casting_4_4.ids rename to Documentation/testcases/property/invalid-integer_values_are_checked_using_type_casting_4_4.ids diff --git a/Documentation/testcases/property/fail-integer_values_are_checked_using_type_casting_4_4.ifc b/Documentation/testcases/property/invalid-integer_values_are_checked_using_type_casting_4_4.ifc similarity index 100% rename from Documentation/testcases/property/fail-integer_values_are_checked_using_type_casting_4_4.ifc rename to Documentation/testcases/property/invalid-integer_values_are_checked_using_type_casting_4_4.ifc diff --git a/Documentation/testcases/property/pass-integer_values_are_checked_using_type_casting_2_4.ids b/Documentation/testcases/property/invalid-integer_values_cannot_be_stored_with_decimal_2_4.ids similarity index 85% rename from Documentation/testcases/property/pass-integer_values_are_checked_using_type_casting_2_4.ids rename to Documentation/testcases/property/invalid-integer_values_cannot_be_stored_with_decimal_2_4.ids index 933a26c..73d768a 100644 --- a/Documentation/testcases/property/pass-integer_values_are_checked_using_type_casting_2_4.ids +++ b/Documentation/testcases/property/invalid-integer_values_cannot_be_stored_with_decimal_2_4.ids @@ -1,11 +1,11 @@ - Integer values are checked using type casting 2/4 + Integer values cannot be stored with decimal 2/4 Generated via code automation in the Ids Repository on github. - + diff --git a/Documentation/testcases/property/pass-integer_values_are_checked_using_type_casting_2_4.ifc b/Documentation/testcases/property/invalid-integer_values_cannot_be_stored_with_decimal_2_4.ifc similarity index 100% rename from Documentation/testcases/property/pass-integer_values_are_checked_using_type_casting_2_4.ifc rename to Documentation/testcases/property/invalid-integer_values_cannot_be_stored_with_decimal_2_4.ifc diff --git a/Documentation/testcases/property/pass-integer_values_are_checked_using_type_casting_3_4.ids b/Documentation/testcases/property/invalid-integer_values_cannot_be_stored_with_decimal_3_4.ids similarity index 85% rename from Documentation/testcases/property/pass-integer_values_are_checked_using_type_casting_3_4.ids rename to Documentation/testcases/property/invalid-integer_values_cannot_be_stored_with_decimal_3_4.ids index 880289b..779951b 100644 --- a/Documentation/testcases/property/pass-integer_values_are_checked_using_type_casting_3_4.ids +++ b/Documentation/testcases/property/invalid-integer_values_cannot_be_stored_with_decimal_3_4.ids @@ -1,11 +1,11 @@ - Integer values are checked using type casting 3/4 + Integer values cannot be stored with decimal 3/4 Generated via code automation in the Ids Repository on github. - + diff --git a/Documentation/testcases/property/pass-integer_values_are_checked_using_type_casting_3_4.ifc b/Documentation/testcases/property/invalid-integer_values_cannot_be_stored_with_decimal_3_4.ifc similarity index 100% rename from Documentation/testcases/property/pass-integer_values_are_checked_using_type_casting_3_4.ifc rename to Documentation/testcases/property/invalid-integer_values_cannot_be_stored_with_decimal_3_4.ifc diff --git a/Documentation/testcases/property/fail-only_specifically_formatted_numbers_are_allowed_1_4.ids b/Documentation/testcases/property/invalid-only_specifically_formatted_numbers_are_allowed_1_4.ids similarity index 100% rename from Documentation/testcases/property/fail-only_specifically_formatted_numbers_are_allowed_1_4.ids rename to Documentation/testcases/property/invalid-only_specifically_formatted_numbers_are_allowed_1_4.ids diff --git a/Documentation/testcases/property/fail-only_specifically_formatted_numbers_are_allowed_1_4.ifc b/Documentation/testcases/property/invalid-only_specifically_formatted_numbers_are_allowed_1_4.ifc similarity index 100% rename from Documentation/testcases/property/fail-only_specifically_formatted_numbers_are_allowed_1_4.ifc rename to Documentation/testcases/property/invalid-only_specifically_formatted_numbers_are_allowed_1_4.ifc diff --git a/Documentation/testcases/property/fail-only_specifically_formatted_numbers_are_allowed_2_4.ids b/Documentation/testcases/property/invalid-only_specifically_formatted_numbers_are_allowed_2_4.ids similarity index 100% rename from Documentation/testcases/property/fail-only_specifically_formatted_numbers_are_allowed_2_4.ids rename to Documentation/testcases/property/invalid-only_specifically_formatted_numbers_are_allowed_2_4.ids diff --git a/Documentation/testcases/property/fail-only_specifically_formatted_numbers_are_allowed_2_4.ifc b/Documentation/testcases/property/invalid-only_specifically_formatted_numbers_are_allowed_2_4.ifc similarity index 100% rename from Documentation/testcases/property/fail-only_specifically_formatted_numbers_are_allowed_2_4.ifc rename to Documentation/testcases/property/invalid-only_specifically_formatted_numbers_are_allowed_2_4.ifc diff --git a/Documentation/testcases/property/fail-booleans_must_be_specified_as_uppercase_strings_3_3.ids b/Documentation/testcases/property/pass-booleans_must_be_specified_as_lowercase_strings_2_3.ids similarity index 82% rename from Documentation/testcases/property/fail-booleans_must_be_specified_as_uppercase_strings_3_3.ids rename to Documentation/testcases/property/pass-booleans_must_be_specified_as_lowercase_strings_2_3.ids index 20b8d10..5dc5390 100644 --- a/Documentation/testcases/property/fail-booleans_must_be_specified_as_uppercase_strings_3_3.ids +++ b/Documentation/testcases/property/pass-booleans_must_be_specified_as_lowercase_strings_2_3.ids @@ -1,11 +1,11 @@ - Booleans must be specified as uppercase strings 3/3 + Booleans must be specified as lowercase strings 2/3 Generated via code automation in the Ids Repository on github. - + @@ -22,7 +22,7 @@ Foo - False + false diff --git a/Documentation/testcases/property/pass-booleans_must_be_specified_as_uppercase_strings_2_3.ifc b/Documentation/testcases/property/pass-booleans_must_be_specified_as_lowercase_strings_2_3.ifc similarity index 100% rename from Documentation/testcases/property/pass-booleans_must_be_specified_as_uppercase_strings_2_3.ifc rename to Documentation/testcases/property/pass-booleans_must_be_specified_as_lowercase_strings_2_3.ifc diff --git a/Documentation/testcases/scripts.md b/Documentation/testcases/scripts.md index 0987deb..d052df3 100644 --- a/Documentation/testcases/scripts.md +++ b/Documentation/testcases/scripts.md @@ -214,31 +214,31 @@ Requirements: Attribute: ''Name'' ``` -### Booleans must be specified as uppercase strings 1/3 +### Booleans must be specified as lowercase strings 1/3 -``` ids attribute/fail-booleans_must_be_specified_as_uppercase_strings_1_3.ids -Booleans must be specified as uppercase strings 1/3 +``` ids attribute/fail-booleans_must_be_specified_as_lowercase_strings_1_3.ids +Booleans must be specified as lowercase strings 1/3 Entity: ''IFCTASK'' Requirements: -Attribute: ''IsMilestone'',''TRUE'' +Attribute: ''IsMilestone'',''true'' ``` -### Booleans must be specified as uppercase strings 2/3 +### Booleans must be specified as lowercase strings 2/3 -``` ids attribute/fail-booleans_must_be_specified_as_uppercase_strings_2_3.ids -Booleans must be specified as uppercase strings 2/3 +``` ids attribute/invalid-booleans_must_be_specified_as_lowercase_strings_2_3.ids +Booleans must be specified as lowercase strings 2/3 Entity: ''IFCTASK'' Requirements: -Attribute: ''IsMilestone'',''False'' +Attribute: ''IsMilestone'',''FALSE'' ``` -### Booleans must be specified as uppercase strings 2/3 +### Booleans must be specified as lowercase strings 2/3 -``` ids attribute/pass-booleans_must_be_specified_as_uppercase_strings_2_3.ids -Booleans must be specified as uppercase strings 2/3 +``` ids attribute/pass-booleans_must_be_specified_as_lowercase_strings_2_3.ids +Booleans must be specified as lowercase strings 2/3 Entity: ''IFCTASK'' Requirements: -Attribute: ''IsMilestone'',''FALSE'' +Attribute: ''IsMilestone'',''false'' ``` ### Dates are treated as strings 1/2 @@ -355,10 +355,10 @@ Requirements: Attribute: ''NumberOfRisers'',''42'' ``` -### Integers follow the same rules as numbers 2/2 +### Integers cannot be expressed as floating point numbers 2/2 -``` ids attribute/pass-integers_follow_the_same_rules_as_numbers_2_2.ids -Integers follow the same rules as numbers 2/2 +``` ids attribute/invalid-integers_cannot_be_expressed_as_floating_point_numbers_2_2.ids +Integers cannot be expressed as floating point numbers 2/2 IFC4 Entity: ''IFCSTAIRFLIGHT'' Requirements: @@ -459,7 +459,7 @@ Attribute: ''RefractionIndex'',''42'' ### Only specifically formatted numbers are allowed 1/4 -``` ids attribute/fail-only_specifically_formatted_numbers_are_allowed_1_4.ids +``` ids attribute/invalid-only_specifically_formatted_numbers_are_allowed_1_4.ids Only specifically formatted numbers are allowed 1/4 Entity: ''IFCSURFACESTYLEREFRACTION'' Requirements: @@ -468,7 +468,7 @@ Attribute: ''RefractionIndex'',''42,3'' ### Only specifically formatted numbers are allowed 2/4 -``` ids attribute/fail-only_specifically_formatted_numbers_are_allowed_2_4.ids +``` ids attribute/invalid-only_specifically_formatted_numbers_are_allowed_2_4.ids Only specifically formatted numbers are allowed 2/4 Entity: ''IFCSURFACESTYLEREFRACTION'' Requirements: @@ -493,12 +493,12 @@ Requirements: Attribute: ''RefractionIndex'',''1.2345E3'' ``` -### Specifying a float when the value is an integer will fail +### Specifying a float when the value is an integer is invalid Note that the attribute name `NumberOfRiser` has been renamed to `NumberOfRisers` in IFC4 -``` ids attribute/fail-specifying_a_float_when_the_value_is_an_integer_will_fail.ids -Specifying a float when the value is an integer will fail +``` ids attribute/invalid-specifying_a_float_when_the_value_is_an_integer_is_invalid.ids +Specifying a float when the value is an integer is invalid IFC4 Entity: ''IFCSTAIRFLIGHT'' Requirements: @@ -2066,31 +2066,31 @@ Requirements: Property: ''Pset_WallCommon'',''Status'',IFCLABEL,''NEW'' ``` -### Booleans must be specified as uppercase strings 1/3 +### Booleans must be specified as lowercase strings 1/3 -``` ids property/fail-booleans_must_be_specified_as_uppercase_strings_1_3.ids -Booleans must be specified as uppercase strings 1/3 +``` ids property/fail-booleans_must_be_specified_as_lowercase_strings_1_3.ids +Booleans must be specified as lowercase strings 1/3 Entity: ''IFCWALL'' Requirements: -Property: ''Foo_Bar'',''Foo'',IFCBOOLEAN,''TRUE'' +Property: ''Foo_Bar'',''Foo'',IFCBOOLEAN,''true'' ``` -### Booleans must be specified as uppercase strings 2/3 +### Booleans must be specified as lowercase strings 2/3 -``` ids property/pass-booleans_must_be_specified_as_uppercase_strings_2_3.ids -Booleans must be specified as uppercase strings 2/3 +``` ids property/pass-booleans_must_be_specified_as_lowercase_strings_2_3.ids +Booleans must be specified as lowercase strings 2/3 Entity: ''IFCWALL'' Requirements: -Property: ''Foo_Bar'',''Foo'',IFCBOOLEAN,''FALSE'' +Property: ''Foo_Bar'',''Foo'',IFCBOOLEAN,''false'' ``` -### Booleans must be specified as uppercase strings 3/3 +### Booleans must be specified as lowercase strings 3/3 -``` ids property/fail-booleans_must_be_specified_as_uppercase_strings_3_3.ids -Booleans must be specified as uppercase strings 3/3 +``` ids property/invalid-booleans_must_be_specified_as_lowercase_strings_3_3.ids +Booleans must be specified as lowercase strings 3/3 Entity: ''IFCWALL'' Requirements: -Property: ''Foo_Bar'',''Foo'',IFCBOOLEAN,''False'' +Property: ''Foo_Bar'',''Foo'',IFCBOOLEAN,''FALSE'' ``` ### Complex properties are not supported 1/2 @@ -2246,19 +2246,19 @@ Requirements: Property: ''Foo_Bar'',''Foo'',IFCINTEGER,''42'' ``` -### Integer values are checked using type casting 2/4 +### Integer values cannot be stored with decimal 2/4 -``` ids property/pass-integer_values_are_checked_using_type_casting_2_4.ids -Integer values are checked using type casting 2/4 +``` ids property/invalid-integer_values_cannot_be_stored_with_decimal_2_4.ids +Integer values cannot be stored with decimal 2/4 Entity: ''IFCWALL'' Requirements: Property: ''Foo_Bar'',''Foo'',IFCINTEGER,''42.'' ``` -### Integer values are checked using type casting 3/4 +### Integer values cannot be stored with decimal 3/4 -``` ids property/pass-integer_values_are_checked_using_type_casting_3_4.ids -Integer values are checked using type casting 3/4 +``` ids property/invalid-integer_values_cannot_be_stored_with_decimal_3_4.ids +Integer values cannot be stored with decimal 3/4 Entity: ''IFCWALL'' Requirements: Property: ''Foo_Bar'',''Foo'',IFCINTEGER,''42.0'' @@ -2266,7 +2266,7 @@ Property: ''Foo_Bar'',''Foo'',IFCINTEGER,''42.0'' ### Integer values are checked using type casting 4/4 -``` ids property/fail-integer_values_are_checked_using_type_casting_4_4.ids +``` ids property/invalid-integer_values_are_checked_using_type_casting_4_4.ids Integer values are checked using type casting 4/4 Entity: ''IFCWALL'' Requirements: @@ -2302,7 +2302,7 @@ Property: ''Foo_Bar'',''Foo'',IFCLABEL,''♫Don'tÄrgerhôtelЊет'' ### Only specifically formatted numbers are allowed 1/4 -``` ids property/fail-only_specifically_formatted_numbers_are_allowed_1_4.ids +``` ids property/invalid-only_specifically_formatted_numbers_are_allowed_1_4.ids Only specifically formatted numbers are allowed 1/4 Entity: ''IFCWALL'' Requirements: @@ -2311,7 +2311,7 @@ Property: ''Foo_Bar'',''Foo'',IFCREAL,''42,3'' ### Only specifically formatted numbers are allowed 2/4 -``` ids property/fail-only_specifically_formatted_numbers_are_allowed_2_4.ids +``` ids property/invalid-only_specifically_formatted_numbers_are_allowed_2_4.ids Only specifically formatted numbers are allowed 2/4 Entity: ''IFCWALL'' Requirements: diff --git a/build/_build.csproj b/build/_build.csproj index f875ec6..8f643bb 100644 --- a/build/_build.csproj +++ b/build/_build.csproj @@ -13,7 +13,7 @@ - +