Browse Source

use the constructor instead of SetUp() to silence cppcheck

git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@705 e5f2f494-b856-4b98-b285-d166d9295462
JINMEI Tatuya 15 years ago
parent
commit
bd196743db
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/lib/dns/cpp/rrparamregistry_unittest.cc

+ 2 - 2
src/lib/dns/cpp/rrparamregistry_unittest.cc

@@ -31,7 +31,7 @@ using namespace isc::dns;
 namespace {
 class RRParamRegistryTest : public ::testing::Test {
 protected:
-    /*virtual void SetUp() {
+    RRParamRegistryTest() {
         ostringstream oss1;
         oss1 << test_class_code;
         test_class_unknown_str = "CLASS" + oss1.str();
@@ -39,7 +39,7 @@ protected:
         ostringstream oss2;
         oss2 << test_type_code;
         test_type_unknown_str = "TYPE" + oss2.str();
-    }*/
+    }
 
     string test_class_unknown_str;
     string test_type_unknown_str;