Commit af0c2907 authored by Michal Vaner's avatar Michal Vaner
Browse files

Unneeded namespace pollution

git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac439@3979 e5f2f494-b856-4b98-b285-d166d9295462
parent 9aabaa39
...@@ -31,8 +31,7 @@ using namespace isc::auth; ...@@ -31,8 +31,7 @@ using namespace isc::auth;
RRsetPtr a_rrset = RRsetPtr(new RRset(Name("www.example.com"), RRsetPtr a_rrset = RRsetPtr(new RRset(Name("www.example.com"),
RRClass::IN(), RRType::A(), RRClass::IN(), RRType::A(),
RRTTL(3600))); RRTTL(3600)));
namespace isc { namespace {
namespace datasrc {
// This is a mock Zone class for testing. // This is a mock Zone class for testing.
// It is a derived class of Zone, and simply hardcode the results of find() // It is a derived class of Zone, and simply hardcode the results of find()
// return SUCCESS for "www.example.com", // return SUCCESS for "www.example.com",
...@@ -40,7 +39,7 @@ namespace datasrc { ...@@ -40,7 +39,7 @@ namespace datasrc {
// return NXRRSET for "nxrrset.example.com", // return NXRRSET for "nxrrset.example.com",
// return CNAME for "cname.example.com", // return CNAME for "cname.example.com",
// else return DNAME // else return DNAME
class MockZone : public Zone{ class MockZone : public Zone {
public: public:
MockZone() : origin_(Name("example.com")) MockZone() : origin_(Name("example.com"))
{} {}
...@@ -82,10 +81,6 @@ MockZone::find(const Name& name, const RRType&) const { ...@@ -82,10 +81,6 @@ MockZone::find(const Name& name, const RRType&) const {
} }
} }
}
}
namespace {
class QueryTest : public ::testing::Test { class QueryTest : public ::testing::Test {
protected: protected:
QueryTest() : QueryTest() :
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment