From 35e2be955ba4c957a03970e629b30aa3cefcd2c9 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Wed, 24 Dec 2025 15:15:33 +0100 Subject: [PATCH] Test files #7501 --- .../fail-property-list-value-distinct-value-types.ifc | 10 ++++++++++ .../rules/pass-property-list-value-label-values.ifc | 10 ++++++++++ .../rules/pass-property-list-value-nil-values.ifc | 10 ++++++++++ 3 files changed, 30 insertions(+) create mode 100644 src/ifcopenshell-python/test/fixtures/rules/fail-property-list-value-distinct-value-types.ifc create mode 100644 src/ifcopenshell-python/test/fixtures/rules/pass-property-list-value-label-values.ifc create mode 100644 src/ifcopenshell-python/test/fixtures/rules/pass-property-list-value-nil-values.ifc diff --git a/src/ifcopenshell-python/test/fixtures/rules/fail-property-list-value-distinct-value-types.ifc b/src/ifcopenshell-python/test/fixtures/rules/fail-property-list-value-distinct-value-types.ifc new file mode 100644 index 0000000000..2da9e30c9c --- /dev/null +++ b/src/ifcopenshell-python/test/fixtures/rules/fail-property-list-value-distinct-value-types.ifc @@ -0,0 +1,10 @@ +ISO-10303-21; +HEADER; +FILE_DESCRIPTION(('ViewDefinition [CoordinationView]'),'2;1'); +FILE_NAME('','2025-12-24T14:25:45',(''),(''),'IfcOpenShell 0.8.0','IfcOpenShell 0.8.0',''); +FILE_SCHEMA(('IFC4X3_ADD2')); +ENDSEC; +DATA; +#1=IFCPROPERTYLISTVALUE('Test',$,(IFCLABEL('test1'),IFCINTEGER(2)),$); +ENDSEC; +END-ISO-10303-21; diff --git a/src/ifcopenshell-python/test/fixtures/rules/pass-property-list-value-label-values.ifc b/src/ifcopenshell-python/test/fixtures/rules/pass-property-list-value-label-values.ifc new file mode 100644 index 0000000000..848e9a55b9 --- /dev/null +++ b/src/ifcopenshell-python/test/fixtures/rules/pass-property-list-value-label-values.ifc @@ -0,0 +1,10 @@ +ISO-10303-21; +HEADER; +FILE_DESCRIPTION(('ViewDefinition [CoordinationView]'),'2;1'); +FILE_NAME('','2025-12-24T14:25:45',(''),(''),'IfcOpenShell 0.8.0','IfcOpenShell 0.8.0',''); +FILE_SCHEMA(('IFC4X3_ADD2')); +ENDSEC; +DATA; +#1=IFCPROPERTYLISTVALUE('Test',$,(IFCLABEL('test1'),IFCLABEL('test2')),$); +ENDSEC; +END-ISO-10303-21; diff --git a/src/ifcopenshell-python/test/fixtures/rules/pass-property-list-value-nil-values.ifc b/src/ifcopenshell-python/test/fixtures/rules/pass-property-list-value-nil-values.ifc new file mode 100644 index 0000000000..cb57393ca9 --- /dev/null +++ b/src/ifcopenshell-python/test/fixtures/rules/pass-property-list-value-nil-values.ifc @@ -0,0 +1,10 @@ +ISO-10303-21; +HEADER; +FILE_DESCRIPTION(('ViewDefinition [CoordinationView]'),'2;1'); +FILE_NAME('','2025-12-24T14:25:45',(''),(''),'IfcOpenShell 0.8.0','IfcOpenShell 0.8.0',''); +FILE_SCHEMA(('IFC4X3_ADD2')); +ENDSEC; +DATA; +#1=IFCPROPERTYLISTVALUE('Test',$,$,$); +ENDSEC; +END-ISO-10303-21;