[svn] commit: r3979 - /branches/trac439/src/bin/auth/tests/query_unittest.cc
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Dec 23 09:31:44 UTC 2010
Author: vorner
Date: Thu Dec 23 09:31:44 2010
New Revision: 3979
Log:
Unneeded namespace pollution
Modified:
branches/trac439/src/bin/auth/tests/query_unittest.cc
Modified: branches/trac439/src/bin/auth/tests/query_unittest.cc
==============================================================================
--- branches/trac439/src/bin/auth/tests/query_unittest.cc (original)
+++ branches/trac439/src/bin/auth/tests/query_unittest.cc Thu Dec 23 09:31:44 2010
@@ -31,8 +31,7 @@
RRsetPtr a_rrset = RRsetPtr(new RRset(Name("www.example.com"),
RRClass::IN(), RRType::A(),
RRTTL(3600)));
-namespace isc {
-namespace datasrc {
+namespace {
// This is a mock Zone class for testing.
// It is a derived class of Zone, and simply hardcode the results of find()
// return SUCCESS for "www.example.com",
@@ -40,7 +39,7 @@
// return NXRRSET for "nxrrset.example.com",
// return CNAME for "cname.example.com",
// else return DNAME
-class MockZone : public Zone{
+class MockZone : public Zone {
public:
MockZone() : origin_(Name("example.com"))
{}
@@ -82,10 +81,6 @@
}
}
-}
-}
-
-namespace {
class QueryTest : public ::testing::Test {
protected:
QueryTest() :
More information about the bind10-changes
mailing list