OpenMS
Loading...
Searching...
No Matches
Class test macros

These macros are used by the test programs in the subdirectory OpenMS/source/TEST.

Collaboration diagram for Class test macros:

These macros are used by the test programs in the subdirectory OpenMS/source/TEST.

On successful operation the test program will print out the message "PASSED", otherwise "FAILED".

If called with the -v option, the test program prints verbose information about subsections.

If called with the -V option, the test program prints even more verbose information for every elementary test.

The implementation is done in namespace OpenMS::Internal::ClassTest.

To create a test, follow the guidelines in Developer FAQ (section "How to add a new class test"). Look at existing test files in src/tests/class_tests/ for examples.