-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #287 from CBenghi/pr/Fix227
add tests for more containment relation outcomes
- Loading branch information
Showing
9 changed files
with
162 additions
and
7 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
...of/pass-the_container_may_be_indirect.ids → ..._related_using_specified_relation_2_2.ids
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
15 changes: 15 additions & 0 deletions
15
...tion/testcases/partof/fail-the_container_must_be_related_using_specified_relation_2_2.ifc
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,15 @@ | ||
ISO-10303-21; | ||
HEADER; | ||
FILE_DESCRIPTION(('ViewDefinition [CoordinationView]'),'2;1'); | ||
FILE_NAME('','2022-10-07T13:48:44',(),(),'IfcOpenShell v0.7.0-dc67287d','IfcOpenShell v0.7.0-dc67287d',''); | ||
FILE_SCHEMA(('IFC4')); | ||
ENDSEC; | ||
DATA; | ||
#1=IFCBEAM('0eA6m4fELI9QBIhP3wiLAp',$,$,$,$,$,$,$,$); | ||
#2=IFCSPACE('3Agm079vPIYBL4JExVrhD5',$,$,$,$,$,$,$,$,$,$); | ||
#3=IFCRELAGGREGATES('05rScmOVzMoQXOfbYdtLYj',$,$,$,#2,(#1)); | ||
#10=IFCPROJECT('1eA6m4fELI9QBIhP3wiLAp',$,'TestProject',$,$,$,$,$,$); | ||
#11=IFCRELAGGREGATES('2eA6m4fELI9QBIhP3wiLAp',$,$,$,#10,(#2)); | ||
ENDSEC; | ||
END-ISO-10303-21; | ||
|
27 changes: 27 additions & 0 deletions
27
Documentation/testcases/partof/fail-the_containment_can_be_indirect_2_2.ids
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,27 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<ids xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://standards.buildingsmart.org/IDS http://standards.buildingsmart.org/IDS/0.9.7/ids.xsd" xmlns="http://standards.buildingsmart.org/IDS"> | ||
<info> | ||
<title>The containment can be indirect 2/2</title> | ||
<description>Generated via code automation in the Ids Repository on github.</description> | ||
</info> | ||
<specifications> | ||
<specification name="The containment can be indirect 2/2" ifcVersion="IFC2X3 IFC4"> | ||
<applicability maxOccurs="unbounded"> | ||
<entity> | ||
<name> | ||
<simpleValue>IFCBEAM</simpleValue> | ||
</name> | ||
</entity> | ||
</applicability> | ||
<requirements> | ||
<partOf relation="IFCRELAGGREGATES"> | ||
<entity> | ||
<name> | ||
<simpleValue>IFCBUILDING</simpleValue> | ||
</name> | ||
</entity> | ||
</partOf> | ||
</requirements> | ||
</specification> | ||
</specifications> | ||
</ids> |
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
27 changes: 27 additions & 0 deletions
27
...tion/testcases/partof/pass-the_container_must_be_related_using_specified_relation_1_2.ids
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,27 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<ids xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://standards.buildingsmart.org/IDS http://standards.buildingsmart.org/IDS/0.9.7/ids.xsd" xmlns="http://standards.buildingsmart.org/IDS"> | ||
<info> | ||
<title>The container must be related using specified relation 1/2</title> | ||
<description>Generated via code automation in the Ids Repository on github.</description> | ||
</info> | ||
<specifications> | ||
<specification name="The container must be related using specified relation 1/2" ifcVersion="IFC2X3 IFC4"> | ||
<applicability maxOccurs="unbounded"> | ||
<entity> | ||
<name> | ||
<simpleValue>IFCBEAM</simpleValue> | ||
</name> | ||
</entity> | ||
</applicability> | ||
<requirements> | ||
<partOf relation="IFCRELCONTAINEDINSPATIALSTRUCTURE"> | ||
<entity> | ||
<name> | ||
<simpleValue>IFCSPACE</simpleValue> | ||
</name> | ||
</entity> | ||
</partOf> | ||
</requirements> | ||
</specification> | ||
</specifications> | ||
</ids> |
14 changes: 14 additions & 0 deletions
14
...tion/testcases/partof/pass-the_container_must_be_related_using_specified_relation_1_2.ifc
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,14 @@ | ||
ISO-10303-21; | ||
HEADER; | ||
FILE_DESCRIPTION(('ViewDefinition [CoordinationView]'),'2;1'); | ||
FILE_NAME('','2022-10-07T13:48:44',(),(),'IfcOpenShell v0.7.0-dc67287d','IfcOpenShell v0.7.0-dc67287d',''); | ||
FILE_SCHEMA(('IFC4')); | ||
ENDSEC; | ||
DATA; | ||
#1=IFCBEAM('0eA6m4fELI9QBIhP3wiLAp',$,$,$,$,$,$,$,$); | ||
#2=IFCSPACE('3Agm079vPIYBL4JExVrhD5',$,$,$,$,$,$,$,$,$,$); | ||
#3=IFCRELCONTAINEDINSPATIALSTRUCTURE('0BbkGoC6vPvRW13UT7D8zH',$,$,$,(#1),#2); | ||
#10=IFCPROJECT('1eA6m4fELI9QBIhP3wiLAp',$,'TestProject',$,$,$,$,$,$); | ||
#11=IFCRELAGGREGATES('2eA6m4fELI9QBIhP3wiLAp',$,$,$,#10,(#2)); | ||
ENDSEC; | ||
END-ISO-10303-21; |
27 changes: 27 additions & 0 deletions
27
Documentation/testcases/partof/pass-the_containment_can_be_indirect_1_2.ids
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,27 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<ids xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://standards.buildingsmart.org/IDS http://standards.buildingsmart.org/IDS/0.9.7/ids.xsd" xmlns="http://standards.buildingsmart.org/IDS"> | ||
<info> | ||
<title>The containment can be indirect 1/2</title> | ||
<description>Generated via code automation in the Ids Repository on github.</description> | ||
</info> | ||
<specifications> | ||
<specification name="The containment can be indirect 1/2" ifcVersion="IFC2X3 IFC4"> | ||
<applicability maxOccurs="unbounded"> | ||
<entity> | ||
<name> | ||
<simpleValue>IFCBEAM</simpleValue> | ||
</name> | ||
</entity> | ||
</applicability> | ||
<requirements> | ||
<partOf relation="IFCRELAGGREGATES"> | ||
<entity> | ||
<name> | ||
<simpleValue>IFCBUILDING</simpleValue> | ||
</name> | ||
</entity> | ||
</partOf> | ||
</requirements> | ||
</specification> | ||
</specifications> | ||
</ids> |
16 changes: 16 additions & 0 deletions
16
Documentation/testcases/partof/pass-the_containment_can_be_indirect_1_2.ifc
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,16 @@ | ||
ISO-10303-21; | ||
HEADER; | ||
FILE_DESCRIPTION(('ViewDefinition [CoordinationView]'),'2;1'); | ||
FILE_NAME('','2022-10-07T13:48:44',(),(),'IfcOpenShell v0.7.0-dc67287d','IfcOpenShell v0.7.0-dc67287d',''); | ||
FILE_SCHEMA(('IFC4')); | ||
ENDSEC; | ||
DATA; | ||
#1=IFCSPACE('3Agm079vPIYBL4JExVrhD5',$,$,$,$,$,$,$,$,$,$); | ||
#2=IFCBEAM('0eA6m4fELI9QBIhP3wiLAp',$,$,$,$,$,$,$,$); | ||
#3=IFCRELAGGREGATES('05rScmOVzMoQXOfbYdtLYj',$,$,$,#1,(#2)); | ||
#4=IFCBUILDING('1hqIFTRjfV6AWq_bMtnZwI',$,$,$,$,$,$,$,$,$,$,$); | ||
#5=IFCRELAGGREGATES('15rScmOVzMoQXOfbYdtLYj',$,$,$,#4,(#1)); | ||
#10=IFCPROJECT('1eA6m4fELI9QBIhP3wiLAp',$,'TestProject',$,$,$,$,$,$); | ||
#11=IFCRELAGGREGATES('2eA6m4fELI9QBIhP3wiLAp',$,$,$,#10,(#4)); | ||
ENDSEC; | ||
END-ISO-10303-21; |
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