xlnt/third-party/cxxtest/test/ForceNoEh.h

17 lines
291 B
C++

#include <cxxtest/TestSuite.h>
class ForceNoEh : public CxxTest::TestSuite
{
public:
void testCxxTestCanCompileWithoutExceptionHandling()
{
TS_ASSERT_EQUALS(1, 2);
TS_ASSERT_EQUALS(2, 3);
TS_ASSERT_THROWS_NOTHING(foo());
}
void foo()
{
}
};