Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/javanano/src/test/java/com/google/protobuf/nano/
DNanoTest.java1406 msg.repeatedGroup = new TestAllTypesNano.RepeatedGroup[] { group0, group1, group2 }; in testNanoRepeatedGroup()
1407 assertEquals(3, msg.repeatedGroup.length); in testNanoRepeatedGroup()
1408 assertEquals(0, msg.repeatedGroup[0].a); in testNanoRepeatedGroup()
1409 assertEquals(1, msg.repeatedGroup[1].a); in testNanoRepeatedGroup()
1410 assertEquals(2, msg.repeatedGroup[2].a); in testNanoRepeatedGroup()
1412 assertEquals(0, msg.repeatedGroup.length); in testNanoRepeatedGroup()
1414 .repeatedGroup = new TestAllTypesNano.RepeatedGroup[] { group1 }; in testNanoRepeatedGroup()
1415 assertEquals(1, msg.repeatedGroup.length); in testNanoRepeatedGroup()
1416 assertEquals(1, msg.repeatedGroup[0].a); in testNanoRepeatedGroup()
1418 assertEquals(0, msg.repeatedGroup.length); in testNanoRepeatedGroup()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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];
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DTestUtil.java1877 private final Descriptors.Descriptor repeatedGroup; field in TestUtil.ReflectionTester
1941 this.repeatedGroup = in ReflectionTester()
1946 this.repeatedGroup = in ReflectionTester()
1960 Assert.assertNotNull(repeatedGroup ); in ReflectionTester()
1983 this.repeatedGroupA = repeatedGroup.findFieldByName("a"); in ReflectionTester()