Home
last modified time | relevance | path

Searched refs:msgSerializedSize (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.java84 int msgSerializedSize = msg.getSerializedSize(); in testSimpleMessageNano() local
86 assertTrue(msgSerializedSize == 9); in testSimpleMessageNano()
87 assertEquals(result.length, msgSerializedSize); in testSimpleMessageNano()
95 assertTrue(msgSerializedSize != msg.getSerializedSize()); in testSimpleMessageNano()
123 int msgSerializedSize = msg.getSerializedSize(); in testRecursiveMessageNano() local
125 assertTrue(msgSerializedSize == 16); in testRecursiveMessageNano()
126 assertEquals(result.length, msgSerializedSize); in testRecursiveMessageNano()
153 int msgSerializedSize = msg.getSerializedSize(); in testNanoRequiredInt32() local
155 assertTrue(msgSerializedSize == 3); in testNanoRequiredInt32()
156 assertEquals(result.length, msgSerializedSize); in testNanoRequiredInt32()
[all …]