Home
last modified time | relevance | path

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

/external/protobuf/java/src/device/test/java/com/google/protobuf/nano/
DNanoAndroidTest.java46 message.nestedMsg = new NestedMessage(); in testParceling()
47 message.nestedMsg.bb = 12345; in testParceling()
63 assertEquals(12345, message.nestedMsg.bb); in testParceling()
/external/protobuf/java/src/test/java/com/google/protobuf/
DNanoTest.java84 assertEquals(null, msg.nestedMsg); in testSimpleMessageNano()
90 SimpleMessageNano.NestedMessage nestedMsg = new SimpleMessageNano.NestedMessage(); in testSimpleMessageNano() local
91 nestedMsg.bb = 2; in testSimpleMessageNano()
92 assertEquals(2, nestedMsg.bb); in testSimpleMessageNano()
93 msg.nestedMsg = nestedMsg; in testSimpleMessageNano()
94 assertEquals(2, msg.nestedMsg.bb); in testSimpleMessageNano()
107 assertEquals(2, msg.nestedMsg.bb); in testSimpleMessageNano()
110 msg.nestedMsg = null; in testSimpleMessageNano()
129 RecursiveMessageNano.NestedMessage nestedMsg = new RecursiveMessageNano.NestedMessage(); in testRecursiveMessageNano() local
130 nestedMsg.a = msg1; in testRecursiveMessageNano()
[all …]
DMicroTest.java81 SimpleMessageMicro.NestedMessage nestedMsg = new SimpleMessageMicro.NestedMessage() in testSimpleMessageMicro() local
83 assertTrue(nestedMsg.hasBb()); in testSimpleMessageMicro()
84 assertEquals(2, nestedMsg.getBb()); in testSimpleMessageMicro()
85 msg.setNestedMsg(nestedMsg); in testSimpleMessageMicro()
123 RecursiveMessageMicro.NestedMessage nestedMsg = new RecursiveMessageMicro.NestedMessage(); in testRecursiveMessageMicro() local
124 nestedMsg.setA(msg1); in testRecursiveMessageMicro()
125 assertEquals(1, nestedMsg.getA().getId()); in testRecursiveMessageMicro()
128 msg.setNestedMessage(nestedMsg); in testRecursiveMessageMicro()
600 TestAllTypesMicro.NestedMessage nestedMsg = new TestAllTypesMicro.NestedMessage(); in testMicroOptionalNestedMessage() local
601 nestedMsg.setBb(1); in testMicroOptionalNestedMessage()
[all …]