Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/javanano/src/test/java/com/google/protobuf/nano/
DNanoTest.java2572 TestNanoAccessors newMsg2 = TestNanoAccessors.parseFrom(MessageNano.toByteArray(newMsg)); in testNanoWithAccessorsPublicFieldTypes() local
2573 assertEquals(nestedMessage.getBb(), newMsg2.optionalNestedMessage.getBb()); in testNanoWithAccessorsPublicFieldTypes()
2574 assertEquals(-1, newMsg2.id); in testNanoWithAccessorsPublicFieldTypes()
2575 assertEquals(TestAllTypesNano.FOO, newMsg2.repeatedNestedEnum[0]); in testNanoWithAccessorsPublicFieldTypes()
2577 newMsg2.optionalNestedMessage = null; in testNanoWithAccessorsPublicFieldTypes()
2578 newMsg2.id = 0; in testNanoWithAccessorsPublicFieldTypes()
2579 newMsg2.repeatedNestedEnum = null; in testNanoWithAccessorsPublicFieldTypes()
2581 TestNanoAccessors newMsg3 = TestNanoAccessors.parseFrom(MessageNano.toByteArray(newMsg2)); in testNanoWithAccessorsPublicFieldTypes()