Home
last modified time | relevance | path

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

/external/protobuf/javanano/src/test/java/com/google/protobuf/nano/
DNanoTest.java1410 msg.repeatedGroup = new TestAllTypesNano.RepeatedGroup[] { group0, group1, group2 }; in testNanoRepeatedGroup()
1411 assertEquals(3, msg.repeatedGroup.length); in testNanoRepeatedGroup()
1412 assertEquals(0, msg.repeatedGroup[0].a); in testNanoRepeatedGroup()
1413 assertEquals(1, msg.repeatedGroup[1].a); in testNanoRepeatedGroup()
1414 assertEquals(2, msg.repeatedGroup[2].a); in testNanoRepeatedGroup()
1416 assertEquals(0, msg.repeatedGroup.length); in testNanoRepeatedGroup()
1418 .repeatedGroup = new TestAllTypesNano.RepeatedGroup[] { group1 }; in testNanoRepeatedGroup()
1419 assertEquals(1, msg.repeatedGroup.length); in testNanoRepeatedGroup()
1420 assertEquals(1, msg.repeatedGroup[0].a); in testNanoRepeatedGroup()
1422 assertEquals(0, msg.repeatedGroup.length); in testNanoRepeatedGroup()
[all …]
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DLiteTest.java1124 RepeatedGroup repeatedGroup = RepeatedGroup.newBuilder() in testSanityCopyOnWrite() local
1127 builder.addRepeatedGroup(repeatedGroup); in testSanityCopyOnWrite()
1131 assertEquals(repeatedGroup, messageAfterBuild.getRepeatedGroup(0)); in testSanityCopyOnWrite()
1137 builder.addRepeatedGroup(0, repeatedGroup); in testSanityCopyOnWrite()
1141 assertEquals(repeatedGroup, messageAfterBuild.getRepeatedGroup(0)); in testSanityCopyOnWrite()
DTestUtil.java2636 private final Descriptors.Descriptor repeatedGroup; field in TestUtil.ReflectionTester
2700 this.repeatedGroup = in ReflectionTester()
2705 this.repeatedGroup = in ReflectionTester()
2719 Assert.assertNotNull(repeatedGroup ); in ReflectionTester()
2742 this.repeatedGroupA = repeatedGroup.findFieldByName("a"); in ReflectionTester()
/external/protobuf/objectivec/Tests/
DGPBTestUtilities.m142 RepeatedGroup_extension *repeatedGroup = [RepeatedGroup_extension message];
143 [repeatedGroup setA:517];
146 value:repeatedGroup];
1018 RepeatedGroup_extension *repeatedGroup =
1020 [repeatedGroup setA:217 + i * 100];
1022 value:repeatedGroup];
1023 [repeatedGroup release];