Andrej730
953c5fddc6
bonsai - sort imports
2026-01-26 17:13:18 +05:00
Andrej730
72f8218fcd
ruff - check for more unused imports
2026-01-26 17:10:02 +05:00
Andrej730
13be6ccd45
Sort imports
2025-12-19 18:53:14 +05:00
Andrej730
3cc5931eae
Fix missing imports and don't use api.run
2025-11-17 16:30:25 +05:00
Dion Moult
feecb89c8e
Fix #7212 . IfcTester now supports IFC2X3 type element mapping.
2025-10-11 21:30:49 +11:00
Dion Moult
cb5c488cfd
Fix #7213 . IfcTester now supports checking for USERDEFINED predefined types
...
Can I just take this moment to complain about the overengineered
complexity of how predefined types work in IFC.
2025-10-11 21:09:41 +11:00
Christoph Mellüh
2d8383efc6
Fix MASSUNIT bug ( #7173 )
...
* add exception
* black
2025-10-05 15:31:06 +11:00
Dion Moult
2027c71d99
Fix #7164 . Property facets with a restriction in the baseName would incorrectly test null values.
...
Our tests missed this detail. The previous test also did
should_purge=True by default which doesn't property test for nullness.
2025-09-30 00:07:14 +10:00
Dion Moult
6da51c2a6e
Update IfcTester to support changed upstream spec where prohibited specs cannot have requirements.
2025-09-30 00:05:57 +10:00
Dion Moult
db7c3e3b01
Fix #6960 . String reporting of cardinality did not match upstream docs.
...
The meaning of the upstream docs changed subtly a year ago and I never
caught up. There is still work to do.
2025-09-28 20:35:55 +10:00
Andrej730
a72e1231f2
test_ids - use more generic exception to fix tests on xmlschema>=4.0
...
In xmlschema 4.0 it started to throw a more generic XMLSchemaValidationError - I guess there are many things that can trigger validation check and in the new version some other issue gets there first.
2025-06-18 19:12:11 +05:00
Andrej
8b4683aef1
replace api.run with static methods
2025-06-09 18:03:19 +05:00
Dion Moult
c307871d37
Fix #6472 . Typo in IfcTester test cases.
2025-04-01 17:56:51 +11:00
Dion Moult
1ed770d454
Fix #5921 . Bug when parsing IDS XML of facets with no attributes.
2025-01-14 13:36:33 +11:00
Dion Moult
ec600ec72e
IfcTester can now read from XML strings in addition to opening files on disk
2025-01-14 13:35:45 +11:00
Dion Moult
41362e1582
Fix #5950 . IfcTester now considers optional requirement facets as per latest documentation.
...
The IDS documentation used to state that "optional" on requirement
facets was "for information only" and didn't affect the pass / fail
state. This was changed a while ago (which I missed) to a new behaviour:
both no values and passing values will pass.
2025-01-12 16:28:14 +11:00
Dion Moult
a0cb980a8f
See #4896 . Bump to IDS v1.0.
2024-06-20 17:37:14 +10:00
Dion Moult
030119fd0e
Fix #4893 . IfcTester now requires lowercase booleans or 0/1.
...
This changed on May 5: https://github.com/buildingSMART/IDS/issues/290
2024-06-20 09:52:45 +10:00
Andrej730
cbf04546b8
fix many implicit ifcopenshell.guid imports
...
a bit related to 10d30b0de
2024-05-08 18:18:02 +05:00
Andrej730
d6e69bd6e9
classification.add_reference - support batching #4474
2024-04-15 17:23:14 +05:00
Andrej730
59cc9c0a16
material.assign_material - support batching #4474
2024-04-12 17:41:37 +05:00
Andrej730
df4943205a
type.assign_type - support batching #4474
2024-04-10 18:58:44 +05:00
Andrej730
97db95085a
nest.assign_object - support batching #4474
2024-04-09 18:33:25 +05:00
Andrej730
cd11d2de27
aggregate.assign_object - support batching #4474
2024-04-08 17:49:48 +05:00
Andrej730
109787d869
spatial.assign_container - support batching #4474
2024-04-05 17:28:30 +05:00
Andrej730
78abca16e6
black format
2024-04-05 16:47:14 +05:00
Andrej730
02aaf1b409
typing
2024-04-05 16:47:13 +05:00
Andrej730
5c4c61bb15
fix issue with prohibited facets in 0065c5f, add a test
2024-04-01 13:49:42 +05:00
Andrej730
d8af8b58bb
ifctester.Specification.set_usage convenience method
...
sets minOccurs and maxOccurs according to the agreement mentioned in the latest ids.xsd
https://github.com/buildingSMART/IDS/blob/6d71cdf3547a0383c6cfbbead81a7cef7521ac3a/Development/ids.xsd#L67-L72
2024-04-01 12:26:07 +05:00
Andrej730
3c0405249b
typing
2024-04-01 12:26:07 +05:00
Dion Moult
0065c5fba8
Fix incorrect handling of prohibited specifications
2024-03-30 00:13:02 +11:00
Dion Moult
377f68c020
Run black on IfcTester
2024-03-29 15:28:33 +11:00
Dion Moult
e21043b038
Fix #4465 . Update IfcTester to IDS 0.9.7
2024-03-28 22:47:48 +11:00
Dion Moult
2f951d352b
Fix #3948 . Bug where IfcTester PartOf facet didn't correctly read entity XML.
2023-11-02 12:29:05 +11:00
Claudio Benghi
2661999f3e
Fixed most issues with IDS auditing
2023-09-26 11:06:58 +10:00
Thomas Krijnen
f400973557
Correct xsi:schemaLocation
2023-09-13 12:47:33 +02:00
Thomas Krijnen
148d6e7b1b
Update IDS.xsd
2023-09-13 10:11:01 +02:00
Andrej730
630ac7250a
Fixed ifctester tests by the latest ids schema #3458
...
Commented out tests involving minOccurs and maxOccurs until https://github.com/buildingSMART/IDS/issues/144 gets resolved.
2023-07-21 15:33:28 +05:00
Dion Moult
14fced7aba
Forgot to commit updated IfcTester test suite
2023-07-09 22:30:14 +10:00
Dion Moult
c6fa7161b6
Fix bug where IfcTester would pass derived attribute facets.
...
Now that IfcOpenShell supports derived attributes, we need to explicitly make sure the attribute facet only considers forward attributes.
2023-07-04 15:50:44 +10:00
Vukas Pajic
8ae7763ac5
added new tests for case where spec has no requirements
2023-04-18 09:17:23 +10:00
Andrej730
e1fc7cad44
Fixed all unit.add_si_unit uses after fd87747
...
Now they were causing `TypeError: Usecase.__init__() got an unexpected keyword argument 'name'`
2023-04-03 19:53:42 +05:00
Dion Moult
f55b47dcb3
Include sample file generator in IfcTester doc generator
2022-10-19 11:54:30 +11:00
Dion Moult
d6be887bde
Minor IfcTester test case fixes
2022-10-18 23:11:11 +11:00
Dion Moult
d847f358ba
Minor fix
2022-10-09 22:26:38 +11:00
Dion Moult
82f847f5d4
Basic adding of filled openings reimplemented with new opening system
2022-10-07 16:00:17 +11:00
Dion Moult
27dc81544c
Minor fixes to IfcTester testcases
2022-10-07 13:34:19 +11:00
Dion Moult
1677a6c83f
IfcTester now supports new entityType data in partof facet
2022-10-07 13:11:52 +11:00
Dion Moult
227b1391bd
Clarify behaviour of funny characters and pattern matching on numbers
2022-09-14 10:15:19 +10:00
Dion Moult
3255053ac4
Implement all restrictions for IfcTester
2022-09-13 22:09:40 +10:00