Google

#define OSGUTX_TEST_E

( expr )

OSGUTX_TEST_E is a convenience macro, analogous to assert(), which will throw an osgUtx::TestErrorX if \em expr evaluates to false; this should be used to test for an error in a given test, as opposed to a failure in the tested code.

Documentation

OSGUTX_TEST_E is a convenience macro, analogous to assert(), which will throw an osgUtx::TestErrorX if \em expr evaluates to false; this should be used to test for an error in a given test, as opposed to a failure in the tested code.

The exception will indicate the file and line number of the failed expression, along with expression itself.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.