Home
last modified time | relevance | path

Searched refs:printToString (Results 1 – 9 of 9) sorted by relevance

/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DTextFormatTest.java158 String javaText = TextFormat.printer().printToString(TestUtil.getAllSet()); in testPrintMessage()
170 String javaText = TextFormat.printer().printToString(TestUtil.getAllSetBuilder()); in testPrintMessageBuilder()
182 String javaText = TextFormat.printer().printToString(TestUtil.getAllExtensionsSet()); in testPrintExtensions()
248 TextFormat.printer().printToString(message)); in testPrintUnknownFields()
548 .printToString(testAny); in testPrintAny_customBuiltTypeRegistry()
602 .printToString(testAny); in testPrintAny_anyWithDynamicMessage()
628 .printToString(testAny); in testPrintAny_anyFromWithNoValueField()
651 .printToString(testAny); in testPrintAny_anyFromWithNoTypeUrlField()
681 .printToString(testAny); in testPrintAny_anyWithInvalidFieldType()
1146 .printToString( in testPrintToUnicodeString()
[all …]
DUnknownEnumValueTest.java237 String textData = TextFormat.printer().printToString(message); in testUnknownEnumValuesInTextFormat()
DMapForProto2Test.java769 String textData = TextFormat.printer().printToString(message); in testTextFormat()
DMapTest.java860 String textData = TextFormat.printer().printToString(message); in testTextFormat()
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DTextFormatTest.java115 String javaText = TextFormat.printToString(TestUtil.getAllSet()); in testPrintMessage()
127 String javaText = TextFormat.printToString(TestUtil.getAllSetBuilder()); in testPrintMessageBuilder()
139 String javaText = TextFormat.printToString(TestUtil.getAllExtensionsSet()); in testPrintExtensions()
203 TextFormat.printToString(message)); in testPrintUnknownFields()
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DTextFormat.java145 public static String printToString(final MessageOrBuilder message) { in printToString() method in TextFormat
146 return printer().printToString(message); in printToString()
155 public static String printToString(final UnknownFieldSet fields) { in printToString() method in TextFormat
156 return printer().printToString(fields); in printToString()
167 return printer().escapingNonAscii(false).printToString(message); in printToUnicodeString()
178 return printer().escapingNonAscii(false).printToString(fields); in printToUnicodeString()
600 public String printToString(final MessageOrBuilder message) { in printToString() method in TextFormat.Printer
610 public String printToString(final UnknownFieldSet fields) { in printToString() method in TextFormat.Printer
DAbstractMessage.java111 return TextFormat.printer().printToString(this); in toString()
471 return TextFormat.printer().printToString(this); in toString()
DUnknownFieldSet.java141 return TextFormat.printer().printToString(this); in toString()
/third_party/protobuf/conformance/
DConformanceJava.java349 TextFormat.printToString(testMessage)).build(); in doTest()