webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Functions | Variables
google::protobuf::text_format_unittest Namespace Reference

Classes

class  CustomInt32FieldValuePrinter
 
class  CustomMessageFieldValuePrinter
 
class  CustomMultilineCommentPrinter
 
class  CustomUInt32FieldValuePrinter
 
class  TextFormatExtensionsTest
 
class  TextFormatMessageSetTest
 
class  TextFormatParserTest
 
class  TextFormatTest
 

Functions

 TEST_F (TextFormatTest, Basic)
 
 TEST_F (TextFormatExtensionsTest, Extensions)
 
 TEST_F (TextFormatTest, ShortDebugString)
 
 TEST_F (TextFormatTest, ShortPrimitiveRepeateds)
 
 TEST_F (TextFormatTest, StringEscape)
 
 TEST_F (TextFormatTest, Utf8DebugString)
 
 TEST_F (TextFormatTest, PrintUnknownFields)
 
 TEST_F (TextFormatTest, PrintUnknownFieldsHidden)
 
 TEST_F (TextFormatTest, PrintUnknownMessage)
 
 TEST_F (TextFormatTest, PrintMessageWithIndent)
 
 TEST_F (TextFormatTest, PrintMessageSingleLine)
 
 TEST_F (TextFormatTest, PrintBufferTooSmall)
 
 TEST_F (TextFormatTest, DefaultCustomFieldPrinter)
 
 TEST_F (TextFormatTest, FieldSpecificCustomPrinter)
 
 TEST_F (TextFormatTest, ErrorCasesRegisteringFieldValuePrinterShouldFail)
 
 TEST_F (TextFormatTest, CustomPrinterForComments)
 
 TEST_F (TextFormatTest, CustomPrinterForMultilineComments)
 
 TEST_F (TextFormatTest, ParseBasic)
 
 TEST_F (TextFormatExtensionsTest, ParseExtensions)
 
 TEST_F (TextFormatTest, ParseEnumFieldFromNumber)
 
 TEST_F (TextFormatTest, ParseEnumFieldFromNegativeNumber)
 
 TEST_F (TextFormatTest, ParseStringEscape)
 
 TEST_F (TextFormatTest, ParseConcatenatedString)
 
 TEST_F (TextFormatTest, ParseFloatWithSuffix)
 
 TEST_F (TextFormatTest, ParseShortRepeatedForm)
 
 TEST_F (TextFormatTest, Comments)
 
 TEST_F (TextFormatTest, OptionalColon)
 
 TEST_F (TextFormatTest, PrintExotic)
 
 TEST_F (TextFormatTest, PrintFloatPrecision)
 
 TEST_F (TextFormatTest, AllowPartial)
 
 TEST_F (TextFormatTest, ParseExotic)
 
 TEST_F (TextFormatTest, PrintFieldsInIndexOrder)
 
 TEST_F (TextFormatParserTest, ParseInfoTreeBuilding)
 
 TEST_F (TextFormatParserTest, ParseFieldValueFromString)
 
 TEST_F (TextFormatParserTest, InvalidToken)
 
 TEST_F (TextFormatParserTest, InvalidFieldName)
 
 TEST_F (TextFormatParserTest, InvalidCapitalization)
 
 TEST_F (TextFormatParserTest, AllowIgnoreCapitalizationError)
 
 TEST_F (TextFormatParserTest, InvalidFieldValues)
 
 TEST_F (TextFormatParserTest, MessageDelimiters)
 
 TEST_F (TextFormatParserTest, UnknownExtension)
 
 TEST_F (TextFormatParserTest, MissingRequired)
 
 TEST_F (TextFormatParserTest, ParseDuplicateRequired)
 
 TEST_F (TextFormatParserTest, ParseDuplicateOptional)
 
 TEST_F (TextFormatParserTest, MergeDuplicateRequired)
 
 TEST_F (TextFormatParserTest, MergeDuplicateOptional)
 
 TEST_F (TextFormatParserTest, ExplicitDelimiters)
 
 TEST_F (TextFormatParserTest, PrintErrorsToStderr)
 
 TEST_F (TextFormatParserTest, FailsOnTokenizationError)
 
 TEST_F (TextFormatParserTest, ParseDeprecatedField)
 
 TEST_F (TextFormatMessageSetTest, Serialize)
 
 TEST_F (TextFormatMessageSetTest, Deserialize)
 

Variables

const string kEscapeTestString
 
const string kEscapeTestStringEscaped
 

Function Documentation

◆ TEST_F() [1/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatTest  ,
Basic   
)

◆ TEST_F() [2/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatExtensionsTest  ,
Extensions   
)

◆ TEST_F() [3/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatTest  ,
ShortDebugString   
)

◆ TEST_F() [4/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatTest  ,
ShortPrimitiveRepeateds   
)

◆ TEST_F() [5/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatTest  ,
StringEscape   
)

◆ TEST_F() [6/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatTest  ,
Utf8DebugString   
)

◆ TEST_F() [7/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatTest  ,
PrintUnknownFields   
)

◆ TEST_F() [8/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatTest  ,
PrintUnknownFieldsHidden   
)

◆ TEST_F() [9/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatTest  ,
PrintUnknownMessage   
)

◆ TEST_F() [10/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatTest  ,
PrintMessageWithIndent   
)

◆ TEST_F() [11/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatTest  ,
PrintMessageSingleLine   
)

◆ TEST_F() [12/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatTest  ,
PrintBufferTooSmall   
)

◆ TEST_F() [13/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatTest  ,
DefaultCustomFieldPrinter   
)

◆ TEST_F() [14/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatTest  ,
FieldSpecificCustomPrinter   
)

◆ TEST_F() [15/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatTest  ,
ErrorCasesRegisteringFieldValuePrinterShouldFail   
)

◆ TEST_F() [16/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatTest  ,
CustomPrinterForComments   
)

◆ TEST_F() [17/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatTest  ,
CustomPrinterForMultilineComments   
)

◆ TEST_F() [18/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatTest  ,
ParseBasic   
)

◆ TEST_F() [19/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatExtensionsTest  ,
ParseExtensions   
)

◆ TEST_F() [20/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatTest  ,
ParseEnumFieldFromNumber   
)

◆ TEST_F() [21/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatTest  ,
ParseEnumFieldFromNegativeNumber   
)

◆ TEST_F() [22/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatTest  ,
ParseStringEscape   
)

◆ TEST_F() [23/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatTest  ,
ParseConcatenatedString   
)

◆ TEST_F() [24/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatTest  ,
ParseFloatWithSuffix   
)

◆ TEST_F() [25/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatTest  ,
ParseShortRepeatedForm   
)

◆ TEST_F() [26/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatTest  ,
Comments   
)

◆ TEST_F() [27/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatTest  ,
OptionalColon   
)

◆ TEST_F() [28/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatTest  ,
PrintExotic   
)

◆ TEST_F() [29/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatTest  ,
PrintFloatPrecision   
)

◆ TEST_F() [30/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatTest  ,
AllowPartial   
)

◆ TEST_F() [31/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatTest  ,
ParseExotic   
)

◆ TEST_F() [32/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatTest  ,
PrintFieldsInIndexOrder   
)

◆ TEST_F() [33/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatParserTest  ,
ParseInfoTreeBuilding   
)

◆ TEST_F() [34/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatParserTest  ,
ParseFieldValueFromString   
)

◆ TEST_F() [35/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatParserTest  ,
InvalidToken   
)

◆ TEST_F() [36/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatParserTest  ,
InvalidFieldName   
)

◆ TEST_F() [37/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatParserTest  ,
InvalidCapitalization   
)

◆ TEST_F() [38/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatParserTest  ,
AllowIgnoreCapitalizationError   
)

◆ TEST_F() [39/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatParserTest  ,
InvalidFieldValues   
)

◆ TEST_F() [40/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatParserTest  ,
MessageDelimiters   
)

◆ TEST_F() [41/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatParserTest  ,
UnknownExtension   
)

◆ TEST_F() [42/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatParserTest  ,
MissingRequired   
)

◆ TEST_F() [43/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatParserTest  ,
ParseDuplicateRequired   
)

◆ TEST_F() [44/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatParserTest  ,
ParseDuplicateOptional   
)

◆ TEST_F() [45/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatParserTest  ,
MergeDuplicateRequired   
)

◆ TEST_F() [46/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatParserTest  ,
MergeDuplicateOptional   
)

◆ TEST_F() [47/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatParserTest  ,
ExplicitDelimiters   
)

◆ TEST_F() [48/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatParserTest  ,
PrintErrorsToStderr   
)

◆ TEST_F() [49/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatParserTest  ,
FailsOnTokenizationError   
)

◆ TEST_F() [50/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatParserTest  ,
ParseDeprecatedField   
)

◆ TEST_F() [51/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatMessageSetTest  ,
Serialize   
)

◆ TEST_F() [52/52]

google::protobuf::text_format_unittest::TEST_F ( TextFormatMessageSetTest  ,
Deserialize   
)

Variable Documentation

◆ kEscapeTestString

const string google::protobuf::text_format_unittest::kEscapeTestString
Initial value:
=
"\"A string with ' characters \n and \r newlines and \t tabs and \001 "
"slashes \\ and multiple spaces"

◆ kEscapeTestStringEscaped

const string google::protobuf::text_format_unittest::kEscapeTestStringEscaped
Initial value:
=
"\"\\\"A string with \\' characters \\n and \\r newlines "
"and \\t tabs and \\001 slashes \\\\ and multiple spaces\""