~ubuntu-branches/ubuntu/oneiric/psi/oneiric

« back to all changes in this revision

Viewing changes to third-party/cppunit/cppunit/include/cppunit/extensions/TestSetUp.h

  • 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
 
#ifndef CPPUNIT_EXTENSIONS_TESTSETUP_H
2
 
#define CPPUNIT_EXTENSIONS_TESTSETUP_H
3
 
 
4
 
#include <cppunit/extensions/TestDecorator.h>
5
 
 
6
 
CPPUNIT_NS_BEGIN
7
 
 
8
 
 
9
 
class Test;
10
 
class TestResult;
11
 
 
12
 
/*! \brief Decorates a test by providing a specific setUp() and tearDown().
13
 
 */
14
 
class CPPUNIT_API TestSetUp : public TestDecorator 
15
 
{
16
 
public:
17
 
  TestSetUp( Test *test );
18
 
 
19
 
  void run( TestResult *result );
20
 
 
21
 
protected:
22
 
  virtual void setUp();
23
 
  virtual void tearDown();
24
 
 
25
 
private:
26
 
  TestSetUp( const TestSetUp & );
27
 
  void operator =( const TestSetUp & );
28
 
};
29
 
 
30
 
 
31
 
CPPUNIT_NS_END
32
 
 
33
 
#endif // CPPUNIT_EXTENSIONS_TESTSETUP_H
34