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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user