Home
last modified time | relevance | path

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

/external/protobuf/javanano/src/test/java/com/google/protobuf/nano/
DNanoTest.java88 int msgSerializedSize = msg.getSerializedSize(); in testSimpleMessageNano() local
90 assertTrue(msgSerializedSize == 9); in testSimpleMessageNano()
91 assertEquals(result.length, msgSerializedSize); in testSimpleMessageNano()
99 assertTrue(msgSerializedSize != msg.getSerializedSize()); in testSimpleMessageNano()
127 int msgSerializedSize = msg.getSerializedSize(); in testRecursiveMessageNano() local
129 assertTrue(msgSerializedSize == 16); in testRecursiveMessageNano()
130 assertEquals(result.length, msgSerializedSize); in testRecursiveMessageNano()
157 int msgSerializedSize = msg.getSerializedSize(); in testNanoRequiredInt32() local
159 assertTrue(msgSerializedSize == 3); in testNanoRequiredInt32()
160 assertEquals(result.length, msgSerializedSize); in testNanoRequiredInt32()
[all …]