Actions
Feature #1758
closed
JI
JI
Cleanup unit tests.
Feature #1758:
Cleanup unit tests.
Effort:
Difficulty:
Label:
Description
Based on discussion with Victor. Here are some of the ideas out of it.
- Tests should just return 1 for success, 0 for failure, eliminating the need to specify a success return value during registration.
-- Requires cleaning up tests that return a value other than 1 or 0 to return 1 for success, 0 for failure.
-- Convert functions that return 0 for success to 1 for success.
-- Rewrite all calls to UtRegisterTest (spatch).
- Provide macros to test failure conditions:
-- ie: FAIL_IF(expression)
- Move unit tests to a different file with a clear correlation against the file it is testing.
Actions