From: Marcin Siodelski Date: Thu, 17 Jan 2013 11:58:32 +0000 (+0100) Subject: [2637] Removed debug messages logging configuration strings in unit-tests. X-Git-Tag: bind10-1.0.0-rc-release~29^2~1^2~17^2~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d31f5bd476744ced094fc2aecb557b945586b056;p=thirdparty%2Fkea.git [2637] Removed debug messages logging configuration strings in unit-tests. --- diff --git a/src/bin/dhcp4/tests/config_parser_unittest.cc b/src/bin/dhcp4/tests/config_parser_unittest.cc index ba14edfb54..c2aa330d53 100644 --- a/src/bin/dhcp4/tests/config_parser_unittest.cc +++ b/src/bin/dhcp4/tests/config_parser_unittest.cc @@ -345,7 +345,6 @@ TEST_F(Dhcp4ParserTest, subnetGlobalDefaults) { " \"pool\": [ \"192.0.2.1 - 192.0.2.100\" ]," " \"subnet\": \"192.0.2.0/24\" } ]," "\"valid-lifetime\": 4000 }"; - cout << config << endl; ElementPtr json = Element::fromJSON(config); @@ -379,7 +378,6 @@ TEST_F(Dhcp4ParserTest, subnetLocal) { " \"valid-lifetime\": 4," " \"subnet\": \"192.0.2.0/24\" } ]," "\"valid-lifetime\": 4000 }"; - cout << config << endl; ElementPtr json = Element::fromJSON(config); @@ -408,7 +406,6 @@ TEST_F(Dhcp4ParserTest, poolOutOfSubnet) { " \"pool\": [ \"192.0.4.0/28\" ]," " \"subnet\": \"192.0.2.0/24\" } ]," "\"valid-lifetime\": 4000 }"; - cout << config << endl; ElementPtr json = Element::fromJSON(config); @@ -433,7 +430,6 @@ TEST_F(Dhcp4ParserTest, poolPrefixLen) { " \"pool\": [ \"192.0.2.128/28\" ]," " \"subnet\": \"192.0.2.0/24\" } ]," "\"valid-lifetime\": 4000 }"; - cout << config << endl; ElementPtr json = Element::fromJSON(config); diff --git a/src/bin/dhcp6/tests/config_parser_unittest.cc b/src/bin/dhcp6/tests/config_parser_unittest.cc index b6ef97ffe7..537e2e1d47 100644 --- a/src/bin/dhcp6/tests/config_parser_unittest.cc +++ b/src/bin/dhcp6/tests/config_parser_unittest.cc @@ -329,7 +329,6 @@ TEST_F(Dhcp6ParserTest, subnetGlobalDefaults) { " \"pool\": [ \"2001:db8:1::1 - 2001:db8:1::ffff\" ]," " \"subnet\": \"2001:db8:1::/64\" } ]," "\"valid-lifetime\": 4000 }"; - cout << config << endl; ElementPtr json = Element::fromJSON(config); @@ -368,7 +367,6 @@ TEST_F(Dhcp6ParserTest, subnetLocal) { " \"valid-lifetime\": 4," " \"subnet\": \"2001:db8:1::/64\" } ]," "\"valid-lifetime\": 4000 }"; - cout << config << endl; ElementPtr json = Element::fromJSON(config); @@ -401,7 +399,7 @@ TEST_F(Dhcp6ParserTest, poolOutOfSubnet) { " \"pool\": [ \"4001:db8:1::/80\" ]," " \"subnet\": \"2001:db8:1::/64\" } ]," "\"valid-lifetime\": 4000 }"; - cout << config << endl; + ElementPtr json = Element::fromJSON(config); @@ -430,7 +428,6 @@ TEST_F(Dhcp6ParserTest, poolPrefixLen) { " \"pool\": [ \"2001:db8:1::/80\" ]," " \"subnet\": \"2001:db8:1::/64\" } ]," "\"valid-lifetime\": 4000 }"; - cout << config << endl; ElementPtr json = Element::fromJSON(config);