Closed lanice closed 9 years ago
are these tests generated? or created by hand - is the set of tests complete or does it require updates when reflectionzeug somehow changes?
From the description: "Those tests are generated by a python script (also added by this pull request).". The generation can be triggered by a build target.
When reflectionzeug changes, then the script can be adjusted and the tests generated/updated again.
As a note, and like I said in the description, these are exclusively instanciation tests that basically "pass" already if they compile. Functionality tests will follow soon.
This adds compile-time instanciation tests for the Property and PropertyArray class. This helps to detect bugs in the template code, which only come up if instanciated. Those tests are generated by a python script (also added by this pull request).
Tests for the following datatypes are added/can be generated: bool, float, double, int8_t, uint8_t, int16_t, uint16_t, int32_t, uint32_t, int64_t, uint64_t