Public Member Functions | |
void | testParse () throws Exception |
void | testParseAdjacentStringLiterals () throws Exception |
void | testParseAngleBrackets () throws Exception |
void | testParseBoolean () throws Exception |
void | testParseComment () throws Exception |
void | testParseCompatibility () throws Exception |
void | testParseExotic () throws Exception |
void | testParseExtensions () throws Exception |
void | testParseLongString () throws Exception |
void | testParseMessageSet () throws Exception |
void | testParseNumericEnum () throws Exception |
void | testParseReader () throws Exception |
void | testParseString () throws Exception |
void | testPrintExotic () throws Exception |
void | testPrintExtensions () throws Exception |
void | testPrintField () throws Exception |
void | testPrintFieldValue () throws Exception |
void | testPrintMessage () throws Exception |
void | testPrintMessageBuilder () throws Exception |
void | testPrintMessageSet () throws Exception |
void | testPrintToUnicodeString () |
void | testPrintToUnicodeString_unknown () |
void | testPrintUnknownFields () throws Exception |
void | testShortDebugString () |
void | testShortDebugString_unknown () |
Private Member Functions | |
void | assertPrintFieldValue (String expect, Object value, String fieldName) throws Exception |
ByteString | bytes (int... bytesAsInts) |
ByteString | bytes (String str) throws Exception |
UnknownFieldSet | makeUnknownFieldSet () |
Private Attributes | |
String | messageSetText |
Static Private Attributes | |
static String | allExtensionsSetText |
static String | allFieldsSetText |
static String | canonicalExoticText |
static String | exoticText |
static final String | kEscapeTestString |
static final String | kEscapeTestStringEscaped |
Test case for TextFormat.
TODO(wenboz): ExtensionTest and rest of text_format_unittest.cc.
Definition at line 55 of file bloaty/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/TextFormatTest.java.
|
inlineprivate |
|
inlineprivate |
Helper to construct a ByteString from a bunch of bytes. The inputs are actually ints so that I can use hex notation and not get stupid errors about precision.
Definition at line 236 of file bloaty/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/TextFormatTest.java.
|
inlineprivate |
Helper to construct a ByteString from a String containing only 8-bit characters. The characters are converted directly to bytes, not encoded using UTF-8.
Definition at line 227 of file bloaty/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/TextFormatTest.java.
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Print TestAllExtensions and compare with golden file.
Definition at line 138 of file bloaty/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/TextFormatTest.java.
|
inline |
|
inline |
|
inline |
Print TestAllTypes and compare with golden file.
Definition at line 114 of file bloaty/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/TextFormatTest.java.
|
inline |
Print TestAllTypes as Builder and compare with golden file.
Definition at line 126 of file bloaty/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/TextFormatTest.java.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
staticprivate |
Definition at line 69 of file bloaty/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/TextFormatTest.java.
|
staticprivate |
Definition at line 67 of file bloaty/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/TextFormatTest.java.
|
staticprivate |
Definition at line 101 of file bloaty/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/TextFormatTest.java.
|
staticprivate |
Definition at line 72 of file bloaty/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/TextFormatTest.java.
|
staticprivate |
Definition at line 58 of file bloaty/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/TextFormatTest.java.
|
staticprivate |
Definition at line 63 of file bloaty/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/TextFormatTest.java.
|
private |
Definition at line 105 of file bloaty/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/TextFormatTest.java.