]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2435] Remove redundant class definition
authorMukund Sivaraman <muks@isc.org>
Thu, 10 Jan 2013 10:20:36 +0000 (15:50 +0530)
committerMukund Sivaraman <muks@isc.org>
Thu, 10 Jan 2013 10:20:36 +0000 (15:50 +0530)
src/lib/datasrc/tests/database_unittest.cc

index 297fd4c4f34059cbfbe3738dcfc7debbd7312944..a0f2986d01b62e285b4e3f598d6e42aa263f9858 100644 (file)
@@ -4211,17 +4211,7 @@ TYPED_TEST(RRsetCollectionTest, iteratorTest) {
     EXPECT_THROW(this->collection->end(), isc::NotImplemented);
 }
 
-class MockRRsetCollectionTest : public DatabaseClientTest<MockAccessor> {
-public:
-    MockRRsetCollectionTest() :
-        DatabaseClientTest<MockAccessor>(),
-        updater(this->client_->getUpdater(this->zname_, false)),
-        collection(updater->getRRsetCollection())
-    {}
-
-    ZoneUpdaterPtr updater;
-    RRsetCollectionPtr collection;
-};
+typedef RRsetCollectionTest<MockAccessor> MockRRsetCollectionTest;
 
 TEST_F(MockRRsetCollectionTest, findError) {
     // A test using the MockAccessor for checking that FindError is