Home
last modified time | relevance | path

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

/external/protobuf/javanano/src/test/java/com/google/protobuf/nano/
DNanoTest.java2576 TestNanoAccessors newMsg2 = TestNanoAccessors.parseFrom(MessageNano.toByteArray(newMsg)); in testNanoWithAccessorsPublicFieldTypes() local
2577 assertEquals(nestedMessage.getBb(), newMsg2.optionalNestedMessage.getBb()); in testNanoWithAccessorsPublicFieldTypes()
2578 assertEquals(-1, newMsg2.id); in testNanoWithAccessorsPublicFieldTypes()
2579 assertEquals(TestAllTypesNano.FOO, newMsg2.repeatedNestedEnum[0]); in testNanoWithAccessorsPublicFieldTypes()
2581 newMsg2.optionalNestedMessage = null; in testNanoWithAccessorsPublicFieldTypes()
2582 newMsg2.id = 0; in testNanoWithAccessorsPublicFieldTypes()
2583 newMsg2.repeatedNestedEnum = null; in testNanoWithAccessorsPublicFieldTypes()
2585 TestNanoAccessors newMsg3 = TestNanoAccessors.parseFrom(MessageNano.toByteArray(newMsg2)); in testNanoWithAccessorsPublicFieldTypes()