-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Initial proposal of PSE001 rule * Fix of IFC4x3 + test file fix * PR comments * Fix * PSE001 - additional checks * Type checking * change type hints * change type hints other error class * PR comments * Update features/steps/givens/attributes.py Co-authored-by: Thomas Krijnen <t.krijnen@gmail.com> * MR conflicts --------- Co-authored-by: Geert Hesselink <geert.hess@gmail.com> Co-authored-by: Geert Hesselink <geerthesselink@Geerts-MacBook-Air.local> Co-authored-by: Thomas Krijnen <t.krijnen@gmail.com>
- Loading branch information
1 parent
a3dadc8
commit dbab66c
Showing
33 changed files
with
2,235 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
@implementer-agreement | ||
@PSE | ||
Feature: PSE001 - IfcPropertySet validation | ||
The rule verifies that each IfcPropertySet starting with Pset_ is defined correctly. | ||
|
||
Scenario: Agreement on each IfcPropertySet correctly defining an applicable entity. | ||
|
||
Given A file with Schema "IFC2X3" | ||
And An IfcPropertySet | ||
And Its attribute Name starts with Pset_ | ||
Then The IfcPropertySet Name attribute value must use predefined values according to the IFC2x3_definitions.csv table | ||
And The IfcPropertySet must be assigned according to the property set definitions table IFC2x3_definitions.csv | ||
And Each associated IfcProperty must be named according to the property set definitions table IFC2x3_definitions.csv | ||
And Each associated IfcProperty must be of type according to the property set definitions table IFC2x3_definitions.csv | ||
And Each associated IfcProperty value must be of data type according to the property set definitions table IFC2x3_definitions.csv | ||
|
||
|
||
Scenario: Agreement on each IfcPropertySet correctly defining an applicable entity. | ||
|
||
Given A file with Schema "IFC4" | ||
And An IfcPropertySet | ||
And Its attribute Name starts with Pset_ | ||
Then The IfcPropertySet Name attribute value must use predefined values according to the IFC4_definitions.csv table | ||
And The IfcPropertySet must be assigned according to the property set definitions table IFC4_definitions.csv | ||
And Each associated IfcProperty must be named according to the property set definitions table IFC4_definitions.csv | ||
And Each associated IfcProperty must be of type according to the property set definitions table IFC4_definitions.csv | ||
And Each associated IfcProperty value must be of data type according to the property set definitions table IFC4_definitions.csv | ||
|
||
|
||
Scenario: Agreement on each IfcPropertySet correctly defining an applicable entity. | ||
|
||
Given A file with Schema "IFC4X3" | ||
And An IfcPropertySet | ||
And Its attribute Name starts with Pset_ | ||
Then The IfcPropertySet Name attribute value must use predefined values according to the IFC4X3_definitions.csv table | ||
And The IfcPropertySet must be assigned according to the property set definitions table IFC4X3_definitions.csv | ||
And Each associated IfcProperty must be named according to the property set definitions table IFC4X3_definitions.csv | ||
And Each associated IfcProperty must be of type according to the property set definitions table IFC4X3_definitions.csv | ||
And Each associated IfcProperty value must be of data type according to the property set definitions table IFC4X3_definitions.csv |
318 changes: 318 additions & 0 deletions
318
features/resources/property_set_definitions/IFC2x3_definitions.csv
Large diffs are not rendered by default.
Oops, something went wrong.
646 changes: 646 additions & 0 deletions
646
features/resources/property_set_definitions/IFC4X3_definitions.csv
Large diffs are not rendered by default.
Oops, something went wrong.
421 changes: 421 additions & 0 deletions
421
features/resources/property_set_definitions/IFC4_definitions.csv
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.