~ubuntu-branches/ubuntu/oneiric/squid3/oneiric-security

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Luigi Gangitano
  • Date: 2007-05-13 16:03:16 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070513160316-2h6kn6h1z0q1fvyo
Tags: 3.0.PRE6-1
* New upstream release
  - Removed patches integrated upsteam:
    + 04-m68k-ftbfs

* debian/rules
  - Enable delay pools (Closes: #410785)
  - Enable cache digests (Closes: #416631)
  - Enable ICAP client
  - Raised Max Filedescriptor limit to 65536

* debian/control
  - Added real package dependency for httpd in squid3-cgi

* debian/patches/02-makefile-defaults
  - Fix default configuration file for cachemgr.cgi (Closes: #416630)

* debian/squid3.postinst
  - Fixed bashish in postinst (Closes: #411797)

* debian/patches/05-helpers-typo
  - Added upstream patch fixing compilation error in src/helpers.cc

* debian/patches/06-mem-obj-reference
  - Added upstream patch fixing a mem_obj reference in src/store.cc

* debian/patches/07-close-icap-connections
  - Added upstream patch fixing icap connection starvation

* debian/squid3.rc
  - Added LSB-compliant description to rc script

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef TRACKEDTESTCASE_H
2
 
#define TRACKEDTESTCASE_H
3
 
 
4
 
#include <cppunit/TestCase.h>
5
 
 
6
 
 
7
 
class Tracker
8
 
{
9
 
public:
10
 
  virtual ~Tracker() {}
11
 
 
12
 
  virtual void onConstructor() {}
13
 
  virtual void onDestructor() {}
14
 
  virtual void onSetUp() {}
15
 
  virtual void onTearDown() {}
16
 
  virtual void onTest() {};
17
 
};
18
 
 
19
 
 
20
 
class TrackedTestCase : public CPPUNIT_NS::TestCase
21
 
{
22
 
public:
23
 
  TrackedTestCase();
24
 
 
25
 
  virtual ~TrackedTestCase();
26
 
 
27
 
  virtual void setUp();
28
 
  virtual void tearDown();
29
 
 
30
 
  void test();
31
 
 
32
 
  static void setTracker( Tracker *tracker );
33
 
  static void removeTracker();
34
 
 
35
 
private:
36
 
  TrackedTestCase( const TrackedTestCase &copy );
37
 
 
38
 
  void operator =( const TrackedTestCase &copy );
39
 
 
40
 
private:
41
 
  static Tracker *ms_tracker;
42
 
};
43
 
 
44
 
 
45
 
#endif  // TRACKEDTESTCASE_H