// }
]
- // Client-clesses can be defined here. See "client-classes" in Dhcp4 for
+ // Client-classes can be defined here. See "client-classes" in Dhcp4 for
// an example.
// Hook libraries can be defined here. See "hooks-libraries" example in
/// As for the format of "CLASSnnnn", "nnnn" must represent a valid 16-bit
/// unsigned integer, which may contain leading 0's as long as it consists
/// of at most 5 characters (inclusive).
- /// For example, "CLASS1" and "CLASSS001" are valid and represent the same
+ /// For example, "CLASS1" and "CLASS0001" are valid and represent the same
/// class, but "CLASS65536" and "CLASS000001" are invalid.
/// A "CLASSnnnn" representation is valid even if the corresponding class
/// code is registered in the \c RRParamRegistry object. For example, both
/// As for the format of "CLASSnnnn", "nnnn" must represent a valid 16-bit
/// unsigned integer, which may contain leading 0's as long as it consists
/// of at most 5 characters (inclusive).
- /// For example, "CLASS1" and "CLASSS001" are valid and represent the same
+ /// For example, "CLASS1" and "CLASS0001" are valid and represent the same
/// class, but "CLASS65536" and "CLASS000001" are invalid.
/// A "CLASSnnnn" representation is valid even if the corresponding class
/// code is registered in the \c RRParamRegistry object. For example, both
const RRClass RRClassTest::rrclass_0x800(0x800);
const RRClass RRClassTest::rrclass_0x8000(0x8000);
const RRClass RRClassTest::rrclass_max(0xffff);
-// This is wire-format data for the above sample RRClasss rendered in the
+// This is wire-format data for the above sample RRClass rendered in the
// appearing order.
const uint8_t RRClassTest::wiredata[] = { 0x00, 0x01, 0x00, 0x80, 0x08,
0x00, 0x80, 0x00, 0xff, 0xff };
renderer.getData(), renderer.getLength());
}
-TEST_F(RRClassTest, wellKnownClasss) {
+TEST_F(RRClassTest, wellKnownClass) {
EXPECT_EQ(1, RRClass::IN().getCode());
EXPECT_EQ("IN", RRClass::IN().toText());
}
// Create a string holding expected response. Note that the Date
// is a fixed value returned by the customized TestHttpResponse
- // classs.
+ // class.
std::ostringstream response_string;
response_string <<
"HTTP/1.0 200 OK\r\n"