Commit c8c69b2a authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[1784] cleanup: put testuil mockups in a separate namespace to avoid pollution.

parent ce65bd4f
......@@ -49,6 +49,7 @@ using namespace isc::dns;
using namespace isc::data;
using namespace isc::datasrc;
using namespace isc::config;
using namespace isc::testutils;
namespace {
class AuthCommandTest : public ::testing::Test {
......
......@@ -38,6 +38,7 @@ using namespace isc::data;
using namespace isc::datasrc;
using namespace isc::asiodns;
using namespace isc::asiolink;
using namespace isc::testutils;
namespace {
class AuthConfigTest : public ::testing::Test {
......
......@@ -21,6 +21,9 @@
#include <asiodns/asiodns.h>
namespace isc {
namespace testutils {
// A minimal mock configuration session. Most the methods are
// stubbed out, except for a very basic group_sendmsg() and
// group_recvmsg(). hasQueuedMessages() always returns false.
......@@ -149,3 +152,9 @@ private:
bool disconnect_ok_;
};
} // end of testutils
} // end of isc
// Local Variables:
// mode: c++
// End:
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