OpenMS  2.7.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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 you can use the 'create_test.php' script in OpenMS/tools/ (other useful scripts in the same directory - have a look).