Initial support for CppUnit
This commit is contained in:
parent
8c80c5d620
commit
c6a9d9cf15
|
@ -0,0 +1,48 @@
|
|||
<?xml version="1.0"?>
|
||||
<def format="2">
|
||||
<!-- CppUnit sourceforge.net/projects/cppunit -->
|
||||
<define name="CPPUNIT_TEST_SUITE(testsuite)" value=""/>
|
||||
<define name="CPPUNIT_TEST(test)" value=""/>
|
||||
<define name="CPPUNIT_TEST_SUITE_END()" value=""/>
|
||||
<!-- Macros see http://cppunit.sourceforge.net/doc/cvs/group___assertions.html -->
|
||||
<define name="CPPUNIT_ASSERT(condition)" value=""/>
|
||||
<define name="CPPUNIT_ASSERT_MESSAGE(message, condition)" value=""/>
|
||||
<define name="CPPUNIT_FAIL(message)" value=""/>
|
||||
<define name="CPPUNIT_ASSERT_EQUAL(expected, actual)" value=""/>
|
||||
<define name="CPPUNIT_ASSERT_EQUAL_MESSAGE(message, expected, actual)" value=""/>
|
||||
<define name="CPPUNIT_ASSERT_DOUBLES_EQUAL(expected, actual, delta)" value=""/>
|
||||
<define name="CPPUNIT_ASSERT_DOUBLES_EQUAL_MESSAGE(message, expected, actual, delta)" value=""/>
|
||||
<define name="CPPUNIT_ASSERT_THROW(expression, ExceptionType)" value=""/>
|
||||
<define name="CPPUNIT_ASSERT_THROW_MESSAGE(message, expression, ExceptionType)" value=""/>
|
||||
<define name="CPPUNIT_ASSERT_NO_THROW(expression)" value=""/>
|
||||
<define name="CPPUNIT_ASSERT_NO_THROW_MESSAGE(message, expression)" value=""/>
|
||||
<define name="CPPUNIT_ASSERT_ASSERTION_FAIL(assertion)" value="CPPUNIT_ASSERT_THROW( assertion, CPPUNIT_NS::Exception )"/>
|
||||
<define name="CPPUNIT_ASSERT_ASSERTION_FAIL_MESSAGE(message, assertion)" value="CPPUNIT_ASSERT_THROW_MESSAGE( message, assertion, CPPUNIT_NS::Exception )"/>
|
||||
<define name="CPPUNIT_ASSERT_ASSERTION_PASS(assertion)" value="CPPUNIT_ASSERT_NO_THROW( assertion )"/>
|
||||
<define name="CPPUNIT_ASSERT_ASSERTION_PASS_MESSAGE(message, assertion)" value="CPPUNIT_ASSERT_NO_THROW_MESSAGE( message, assertion )"/>
|
||||
<function name="CppUnit::TestCase::setUp,CppUnit::TestCase::tearDown">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="void"/>
|
||||
</function>
|
||||
<!-- virtual void addTest (Test *test) -->
|
||||
<function name="CppUnit::TestRunner::addTest">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="void"/>
|
||||
<leak-ignore/>
|
||||
<arg nr="1">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- virtual void run (TestResult &controller, const std::string &testPath="") -->
|
||||
<function name="CppUnit::TestRunner::run">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="void"/>
|
||||
<leak-ignore/>
|
||||
<arg nr="1">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="2">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
</def>
|
Loading…
Reference in New Issue