From b3576400de89f915a43c190940cdf5f9315d6ec8 Mon Sep 17 00:00:00 2001 From: Baptiste Lepilleur Date: Sun, 10 Jun 2001 16:08:33 +0000 Subject: Include/extensions/TestSetup.h: renamed TestSetUp.h for consistency. --- include/cppunit/extensions/TestSetUp.h | 35 ---------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 include/cppunit/extensions/TestSetUp.h (limited to 'include/cppunit/extensions/TestSetUp.h') diff --git a/include/cppunit/extensions/TestSetUp.h b/include/cppunit/extensions/TestSetUp.h deleted file mode 100644 index 8b2ffa2..0000000 --- a/include/cppunit/extensions/TestSetUp.h +++ /dev/null @@ -1,35 +0,0 @@ -#ifndef CPPUNIT_EXTENSIONS_TESTSETUP_H -#define CPPUNIT_EXTENSIONS_TESTSETUP_H - -#include - -namespace CppUnit { - -class Test; -class TestResult; - - -class TestSetup : public TestDecorator -{ -public: - TestSetup (Test *test) : TestDecorator (test) {} - run (TestResult *result); - -protected: - void setUp () {} - void tearDown () {} - -private: - TestSetup( const TestSetup & ); - void operator =( const TestSetup & ); -}; - - -inline TestSetup::run (TestResult *result) -{ setUp (); TestDecorator::run (result); tearDown (); } - - -} // namespace CppUnit - -#endif // CPPUNIT_EXTENSIONS_TESTSETUP_H - -- cgit v1.2.1