// Verify that the configuration string parses.
int rcode = parseConfiguration(config);
- ASSERT_TRUE(rcode == 0);
+ ASSERT_EQ(0, rcode);
// Verify that the option definition can be retrieved.
// Verify that the configuration string parses.
int rcode = parseConfiguration(config);
- ASSERT_TRUE(rcode == 0);
+ ASSERT_EQ(0, rcode);
// Verify that the option definition can be retrieved.
// Verify that the configuration string parses.
int rcode = parseConfiguration(config);
- ASSERT_TRUE(rcode == 0);
+ ASSERT_TRUE(0, rcode);
// Verify that the option definition can be retrieved.
// Verify that the configuration string parses.
int rcode = parseConfiguration(config);
- ASSERT_TRUE(rcode == 0);
+ ASSERT_TRUE(0, rcode);
// Verify that the option can be retrieved.
OptionPtr opt_ptr = getOptionPtr("isc", 100);
ASSERT_TRUE(opt_ptr);
- // Verify that the option definition is correct.
+ // Verify that the option data is correct.
std::string val = "type=00100, len=00004: 192.0.2.0 (ipv4-address)";
EXPECT_EQ(val, opt_ptr->toText());
// Verify that the configuration string parses.
int rcode = parseConfiguration(config);
- ASSERT_TRUE(rcode == 0);
+ ASSERT_TRUE(0, rcode);
// Verify that the option can be retrieved.
OptionPtr opt_ptr = getOptionPtr("isc", 100);
ASSERT_TRUE(opt_ptr);
- // Verify that the option definition is correct.
+ // Verify that the option data is correct.
std::string val = "type=00100, len=00004: 192.0.2.0 (ipv4-address)";
EXPECT_EQ(val, opt_ptr->toText());