Searched refs:protoPrint (Results 1 – 1 of 1) sorted by relevance
2730 String protoPrint = msg.toString(); in testMessageNanoPrinter() local2731 assertTrue(protoPrint.contains("optional_int32: 14")); in testMessageNanoPrinter()2732 assertTrue(protoPrint.contains("optional_float: 42.3")); in testMessageNanoPrinter()2733 assertTrue(protoPrint.contains("optional_double: 0.0")); in testMessageNanoPrinter()2734 assertTrue(protoPrint.contains("optional_string: \"String \\u0022with\\u0027 both quotes\"")); in testMessageNanoPrinter()2735 assertTrue(protoPrint.contains("optional_bytes: \"\\\"\\000\\001\\010\"")); in testMessageNanoPrinter()2736 assertTrue(protoPrint.contains("optional_group <\n a: 15\n>")); in testMessageNanoPrinter()2738 assertTrue(protoPrint.contains("repeated_int64: 1\nrepeated_int64: -1")); in testMessageNanoPrinter()2739 assertFalse(protoPrint.contains("repeated_bytes: \"\"")); // null should be dropped in testMessageNanoPrinter()2740 assertTrue(protoPrint.contains("repeated_bytes: \"hello\"")); in testMessageNanoPrinter()[all …]