~clint-fewbar/ubuntu/precise/squid3/ignore-sighup-early

« back to all changes in this revision

Viewing changes to lib/cppunit-1.10.0/examples/cppunittest/ExceptionTest.h

  • Committer: Bazaar Package Importer
  • Author(s): Luigi Gangitano
  • Date: 2006-11-11 10:32:06 UTC
  • Revision ID: james.westby@ubuntu.com-20061111103206-f3p0r9g0vq44rp3r
Tags: upstream-3.0.PRE5
ImportĀ upstreamĀ versionĀ 3.0.PRE5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef EXCEPTIONTEST_H
 
2
#define EXCEPTIONTEST_H
 
3
 
 
4
#include <cppunit/extensions/HelperMacros.h>
 
5
 
 
6
 
 
7
class ExceptionTest : public CPPUNIT_NS::TestFixture
 
8
{
 
9
  CPPUNIT_TEST_SUITE( ExceptionTest );
 
10
  CPPUNIT_TEST( testConstructor );
 
11
  CPPUNIT_TEST( testDefaultConstructor );
 
12
  CPPUNIT_TEST( testCopyConstructor );
 
13
  CPPUNIT_TEST( testAssignment );
 
14
  CPPUNIT_TEST( testClone );
 
15
  CPPUNIT_TEST_SUITE_END();
 
16
 
 
17
public:
 
18
  ExceptionTest();
 
19
  virtual ~ExceptionTest();
 
20
 
 
21
  virtual void setUp();
 
22
  virtual void tearDown();
 
23
 
 
24
  void testConstructor();
 
25
  void testDefaultConstructor();
 
26
  void testCopyConstructor();
 
27
  void testAssignment();
 
28
  void testClone();
 
29
 
 
30
private:
 
31
  ExceptionTest( const ExceptionTest &copy );
 
32
  void operator =( const ExceptionTest &copy );
 
33
  void checkIsSame( CPPUNIT_NS::Exception &e, 
 
34
                    CPPUNIT_NS::Exception &other );
 
35
 
 
36
private:
 
37
};
 
38
 
 
39
 
 
40
 
 
41
#endif  // EXCEPTIONTEST_H