BEGIN_TEST
BEGIN_TEST introduces a routine that constitues a standalone test, i.e. a test that is not part of a fixture.
[in] Name Name of the test. The name must be a valid C++ identifier; it must follow the naming rules for functions.
BEGIN_TEST( TestThrow ) { WIN_ASSERT_THROWS( RaiseSimpleException(), SimpleException, _T( "Expecting SimpleException" ) ); } END_TEST
![]() | Note |
---|---|
Note that END_TEST must be used to mark the end of the test. |