|
@@ -193,12 +193,13 @@ TEST_F(NameTest, fromText) {
|
|
|
"012345678901234567890123456789"
|
|
|
"01\\111"));
|
|
|
// A domain name must be 255 octets or less
|
|
|
- checkBadTextName<TooLongName>("123456789.123456789.123456789.123456789.123456789."
|
|
|
- "123456789.123456789.123456789.123456789.123456789."
|
|
|
- "123456789.123456789.123456789.123456789.123456789."
|
|
|
- "123456789.123456789.123456789.123456789.123456789."
|
|
|
- "123456789.123456789.123456789.123456789.123456789."
|
|
|
- "1234");
|
|
|
+ checkBadTextName<TooLongName>("123456789.123456789.123456789.123456789."
|
|
|
+ "123456789.123456789.123456789.123456789."
|
|
|
+ "123456789.123456789.123456789.123456789."
|
|
|
+ "123456789.123456789.123456789.123456789."
|
|
|
+ "123456789.123456789.123456789.123456789."
|
|
|
+ "123456789.123456789.123456789.123456789."
|
|
|
+ "123456789.1234");
|
|
|
// This is a possible longest name and should be accepted
|
|
|
EXPECT_NO_THROW(Name("123456789.123456789.123456789.123456789.123456789."
|
|
|
"123456789.123456789.123456789.123456789.123456789."
|