Browse Source

[2377] hide test definitions in an unnamed namespace.

JINMEI Tatuya 12 years ago
parent
commit
e6d402802c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/lib/dns/tests/master_loader_unittest.cc

+ 2 - 0
src/lib/dns/tests/master_loader_unittest.cc

@@ -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);
 }
+}