28 lines
1.3 KiB
HTML
28 lines
1.3 KiB
HTML
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||
|
|
||
|
<HTML>
|
||
|
<HEAD>
|
||
|
<TITLE>#define OSGUTX_TEST_F</TITLE>
|
||
|
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.10">
|
||
|
</HEAD>
|
||
|
<BODY BGCOLOR="#ffffff">
|
||
|
|
||
|
<H2>#define <A HREF="#DOC.DOCU">OSGUTX_TEST_F</A></H2><H2>( expr )</H2><BLOCKQUOTE> 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.</BLOCKQUOTE>
|
||
|
|
||
|
<A NAME="DOC.DOCU"></A>
|
||
|
<HR>
|
||
|
<H2>Documentation</H2>
|
||
|
<BLOCKQUOTE>
|
||
|
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.
|
||
|
|
||
|
<P>The exception will indicate the file and line number of the failed expression,
|
||
|
along with expression itself.</BLOCKQUOTE>
|
||
|
<DL><DT><DD></DL><P><P><I><A HREF="index.html">Alphabetic index</A></I> <I><A HREF="HIER.html">HTML hierarchy of classes</A> or <A HREF="HIERjava.html">Java</A></I></P><HR>
|
||
|
<BR>
|
||
|
This page was generated with the help of <A HREF="http://docpp.sourceforge.net">DOC++</A>.
|
||
|
</BODY>
|
||
|
</HTML>
|