Tizen 2.1 base
[platform/upstream/libbullet.git] / UnitTests / cppunit / src / cppunit / TestLeaf.cpp
1 #include <cppunit/TestLeaf.h>
2
3
4 CPPUNIT_NS_BEGIN
5
6
7 int 
8 TestLeaf::countTestCases() const
9 {
10   return 1;
11 }
12
13
14 int 
15 TestLeaf::getChildTestCount() const
16 {
17   return 0;
18 }
19
20
21 Test *
22 TestLeaf::doGetChildTestAt( int index ) const
23 {
24   checkIsValidIndex( index );
25   return NULL;    // never called, checkIsValidIndex() always throw.
26 }
27
28 CPPUNIT_NS_END