2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 05:55:28 +00:00

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

This commit is contained in:
JINMEI Tatuya
2012-03-16 14:05:49 -07:00
parent ce65bd4fa0
commit c8c69b2a7b
3 changed files with 11 additions and 0 deletions

View File

@@ -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 {

View File

@@ -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 {

View File

@@ -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: