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
Dion Moult
422cc4802c
Implement optionality in IfcTester, and generate integration testcases
2022-09-13 19:50:51 +10:00
Dion Moult
3120b0c6e2
Add support for IfcTester and predefined properties
2022-09-12 23:03:50 +10:00
Dion Moult
91fac6d4bd
Add IfcTester support and test cases for bounded, table, and reference props
2022-09-12 22:35:05 +10:00
Dion Moult
c7c59d9496
IfcTester now supports list and enumerated properties
2022-09-12 21:34:06 +10:00
Dion Moult
73ac5d314b
Complex properties and quantities are not supported in IDS
2022-09-12 20:10:25 +10:00
Dion Moult
3b2cbac9d1
Generate stable GlobalIds for IDS docs to prevent commit noise
2022-09-12 20:10:25 +10:00
Dion Moult
cb447fe902
IfcTester Add support for qto checks
2022-09-12 18:26:11 +10:00
Dion Moult
85e123fadb
IfcTester now supports occurs attributes on facets
2022-09-12 11:51:03 +10:00
Dion Moult
f745222d37
IfcTester now supports mandatory measures for properties
2022-09-12 11:21:47 +10:00
Dion Moult
319aada33b
Fix #2388 .
2022-09-11 22:14:11 +10:00
Dion Moult
77c9bf5bb6
Implement newly proposed IDS PartOf facet
2022-09-11 17:20:50 +10:00
Dion Moult
e5e81c818e
IfcTester now handles floating point precision checks
2022-09-10 23:31:21 +10:00
Dion Moult
7aad0fc119
Implement type casting for property checks in IDS, bump to IDS v0.9
2022-09-10 22:42:22 +10:00
Dion Moult
f9019a4007
Test non-rooted classifications in IDS
2022-09-03 11:54:12 +10:00
Dion Moult
0668eadc36
IDS doc generator now also generates a sample IDS file
2022-09-03 10:48:46 +10:00
Dion Moult
7867c71b6e
Fix IFCTester handling of falsey properties
2022-08-11 16:38:44 +10:00
Vukas Pajic
f1e0375b6a
api: assign_group now expects product to be a list
...
* minor change to assign_group
* api: assign_group now expects product: list
2022-07-21 10:14:58 +02:00
Dion Moult
282c140c14
More aggressive refactoring for IfcTester to break up the monolithic codebase
2022-07-15 14:09:55 +10:00
Dion Moult
e79068854a
Refactor IDS into IfcTester with less magic and less code
...
* String building code all deleted and replaced with more maintainable code
* Obscure features like metaclasses deleted
* Regular constructors used instead of factory create and parse methods
* Use Python class naming convention
* Use polymorphism more (e.g. asdict, init) for facet classes
* No more boolean any/and as users may want to test everything and not fail early
* Error state is stored instead of streamed to logger so it can be tested and more flexible formatting
2022-07-15 09:57:40 +10:00