Searched refs:tryParseTestMap (Results 1 – 4 of 4) sorted by relevance
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | MapForProto2LiteTest.java | 386 private TestMap tryParseTestMap(BizarroTestMap bizarroMap) throws IOException { in tryParseTestMap() method in MapForProto2LiteTest 399 tryParseTestMap(BizarroTestMap.newBuilder().putInt32ToInt32Field(5, bytes).build()); in testParseError() 402 map = tryParseTestMap(BizarroTestMap.newBuilder().putInt32ToStringField(stringKey, 5).build()); in testParseError() 405 map = tryParseTestMap(BizarroTestMap.newBuilder().putInt32ToBytesField(stringKey, 5).build()); in testParseError() 409 tryParseTestMap(BizarroTestMap.newBuilder().putInt32ToEnumField(stringKey, bytes).build()); in testParseError() 413 tryParseTestMap(BizarroTestMap.newBuilder().putInt32ToMessageField(stringKey, bytes).build()); in testParseError() 422 tryParseTestMap( in testParseError()
|
D | MapLiteTest.java | 430 private TestMap tryParseTestMap(BizarroTestMap bizarroMap) throws IOException { in tryParseTestMap() method in MapLiteTest 443 tryParseTestMap(BizarroTestMap.newBuilder().putInt32ToInt32Field(5, bytes).build()); in testParseError() 446 map = tryParseTestMap(BizarroTestMap.newBuilder().putInt32ToStringField(stringKey, 5).build()); in testParseError() 449 map = tryParseTestMap(BizarroTestMap.newBuilder().putInt32ToBytesField(stringKey, 5).build()); in testParseError() 453 tryParseTestMap(BizarroTestMap.newBuilder().putInt32ToEnumField(stringKey, bytes).build()); in testParseError() 457 tryParseTestMap(BizarroTestMap.newBuilder().putInt32ToMessageField(stringKey, bytes).build()); in testParseError() 466 tryParseTestMap( in testParseError()
|
D | MapForProto2Test.java | 534 private TestMap tryParseTestMap(BizarroTestMap bizarroMap) throws IOException { in tryParseTestMap() method in MapForProto2Test 547 tryParseTestMap(BizarroTestMap.newBuilder().putInt32ToInt32Field(5, bytes).build()); in testParseError() 550 map = tryParseTestMap(BizarroTestMap.newBuilder().putInt32ToStringField(stringKey, 5).build()); in testParseError() 553 map = tryParseTestMap(BizarroTestMap.newBuilder().putInt32ToBytesField(stringKey, 5).build()); in testParseError() 557 tryParseTestMap(BizarroTestMap.newBuilder().putInt32ToEnumField(stringKey, bytes).build()); in testParseError() 561 tryParseTestMap(BizarroTestMap.newBuilder().putInt32ToMessageField(stringKey, bytes).build()); in testParseError() 570 tryParseTestMap( in testParseError()
|
D | MapTest.java | 554 private TestMap tryParseTestMap(BizarroTestMap bizarroMap) throws IOException { in tryParseTestMap() method in MapTest 567 tryParseTestMap(BizarroTestMap.newBuilder().putInt32ToInt32Field(5, bytes).build()); in testParseError() 570 map = tryParseTestMap(BizarroTestMap.newBuilder().putInt32ToStringField(stringKey, 5).build()); in testParseError() 573 map = tryParseTestMap(BizarroTestMap.newBuilder().putInt32ToBytesField(stringKey, 5).build()); in testParseError() 577 tryParseTestMap(BizarroTestMap.newBuilder().putInt32ToEnumField(stringKey, bytes).build()); in testParseError() 581 tryParseTestMap(BizarroTestMap.newBuilder().putInt32ToMessageField(stringKey, bytes).build()); in testParseError() 590 tryParseTestMap( in testParseError()
|