]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2377] hide test definitions in an unnamed namespace.
authorJINMEI Tatuya <jinmei@isc.org>
Fri, 7 Dec 2012 04:23:44 +0000 (20:23 -0800)
committerJINMEI Tatuya <jinmei@isc.org>
Fri, 7 Dec 2012 04:23:44 +0000 (20:23 -0800)
src/lib/dns/tests/master_loader_unittest.cc

index 0264d482e27fad3915269a1c56a27f692620feb2..536836c7388d6d6241036f4d38ae66a3e174a772 100644 (file)
@@ -35,6 +35,7 @@ using std::list;
 using std::ofstream;
 using std::endl;
 
+namespace {
 class MasterLoaderTest : public ::testing::Test {
 public:
     MasterLoaderTest() :
@@ -243,3 +244,4 @@ TEST_F(MasterLoaderTest, loadTwice) {
     loader_->load();
     EXPECT_THROW(loader_->load(), isc::InvalidOperation);
 }
+}