Google

#define OSGUTX_TEST_F

( expr )

OSGUTX_TEST_F is a convenience macro, analogous to assert(), which will throw an osgUtx::TestFailureX if \em expr evaluates to false; this should be used to test for failure in a given test, as opposed to an actual error in the test owing to some other reason than the tested code being faulty.

Documentation

OSGUTX_TEST_F is a convenience macro, analogous to assert(), which will throw an osgUtx::TestFailureX if \em expr evaluates to false; this should be used to test for failure in a given test, as opposed to an actual error in the test owing to some other reason than the tested code being faulty.

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++.