~ubuntu-branches/ubuntu/quantal/psi/quantal

« back to all changes in this revision

Viewing changes to third-party/cppunit/cppunit/src/cppunit/TestLeaf.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jan Niehusmann
  • Date: 2009-09-25 17:49:51 UTC
  • mfrom: (6.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090925174951-lvm7kdap82o8xhn3
Tags: 0.13-1
* Updated to upstream version 0.13
* Set Standards-Version to 3.8.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
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