Fixes: Maintaining schemas is difficult and error-prone - Facilitate easy schemas add, remove, change, etc. - Remove 14 files containing approx 2,190 lines of if/else code and data - Place data in one file (UnitsSchemasData.h) using a normalized structure (including special functions) - Isolate and simplify data operations (code) - Remove schemas enum to keep data independent of code - Separate responsibilities: Specifications, data, schemas, schema - Add schema data 'isDefault' - Add schema data name - Prefer algorithms to raw loops - Add schemas unit tests - Tweak quantity unit tests
34 lines
694 B
CMake
34 lines
694 B
CMake
target_sources(Tests_run PRIVATE
|
|
Axis.cpp
|
|
Base64.cpp
|
|
Bitmask.cpp
|
|
BoundBox.cpp
|
|
Builder3D.cpp
|
|
Color.cpp
|
|
CoordinateSystem.cpp
|
|
DualNumber.cpp
|
|
DualQuaternion.cpp
|
|
Handle.cpp
|
|
Matrix.cpp
|
|
Parameter.cpp
|
|
Placement.cpp
|
|
Quantity.cpp
|
|
Reader.cpp
|
|
Rotation.cpp
|
|
SchemaTests.cpp
|
|
ServiceProvider.cpp
|
|
Stream.cpp
|
|
TimeInfo.cpp
|
|
Tools.cpp
|
|
Tools2D.cpp
|
|
Tools3D.cpp
|
|
UnlimitedUnsigned.cpp
|
|
UniqueNameManager.cpp
|
|
Unit.cpp
|
|
Vector3D.cpp
|
|
ViewProj.cpp
|
|
Writer.cpp
|
|
)
|
|
|
|
setup_qt_test(InventorBuilder)
|