diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-03-10 11:06:29 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-03-10 11:06:29 +0100 |
commit | 3d82b08bcea45408b1998934558e2e28721125df (patch) | |
tree | 447ccf69a9248f41ec0ea323d018f3ac9f83f6e7 /ucb | |
parent | 68d200f490a7a21c365bf43c710c46a87f84483d (diff) |
These tests can just derive from plain CppUnit::TestFixture
...and then no longer need to override any base class setUp/tearDown
Change-Id: Iaea19dfb341325bb45062d0ac0b5fa1eed0d34e0
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/qa/cppunit/webdav/webdav_local_neon.cxx | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/ucb/qa/cppunit/webdav/webdav_local_neon.cxx b/ucb/qa/cppunit/webdav/webdav_local_neon.cxx index d65e6f756de7..b509229cb853 100644 --- a/ucb/qa/cppunit/webdav/webdav_local_neon.cxx +++ b/ucb/qa/cppunit/webdav/webdav_local_neon.cxx @@ -7,7 +7,8 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include <test/bootstrapfixture.hxx> +#include <cppunit/TestFixture.h> +#include <cppunit/extensions/HelperMacros.h> #include <cppunit/plugin/TestPlugIn.h> #include "NeonUri.hxx" @@ -15,17 +16,10 @@ namespace { - class webdav_local_test: public test::BootstrapFixture + class webdav_local_test: public CppUnit::TestFixture { public: - webdav_local_test() : BootstrapFixture( true, true ) {} - - // initialise your test code values here. - void setUp( ) override; - - void tearDown( ) override; - void NeonUriTest(); // Change the following lines only, if you add, remove or rename @@ -37,15 +31,6 @@ namespace CPPUNIT_TEST_SUITE_END(); }; // class webdav_local_test - // initialise your test code values here. - void webdav_local_test::setUp() - { - } - - void webdav_local_test::tearDown() - { - } - void webdav_local_test::NeonUriTest() { //try URL decomposition |