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;
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 @@ namespace datasrc {
// 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 @@ MockZone::find(const Name& name, const RRType&) const {
}
}
}
}
namespace {
class QueryTest : public ::testing::Test {
protected:
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