Home
last modified time | relevance | path

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

/external/protobuf/java/src/test/java/com/google/protobuf/
DNanoTest.java1424 msg.repeatedGroup = new TestAllTypesNano.RepeatedGroup[] { group0, group1, group2 }; in testNanoRepeatedGroup()
1425 assertEquals(3, msg.repeatedGroup.length); in testNanoRepeatedGroup()
1426 assertEquals(0, msg.repeatedGroup[0].a); in testNanoRepeatedGroup()
1427 assertEquals(1, msg.repeatedGroup[1].a); in testNanoRepeatedGroup()
1428 assertEquals(2, msg.repeatedGroup[2].a); in testNanoRepeatedGroup()
1430 assertEquals(0, msg.repeatedGroup.length); in testNanoRepeatedGroup()
1432 .repeatedGroup = new TestAllTypesNano.RepeatedGroup[] { group1 }; in testNanoRepeatedGroup()
1433 assertEquals(1, msg.repeatedGroup.length); in testNanoRepeatedGroup()
1434 assertEquals(1, msg.repeatedGroup[0].a); in testNanoRepeatedGroup()
1436 assertEquals(0, msg.repeatedGroup.length); in testNanoRepeatedGroup()
[all …]
DTestUtil.java2903 private final Descriptors.Descriptor repeatedGroup; field in TestUtil.ReflectionTester
2967 this.repeatedGroup = in ReflectionTester()
2972 this.repeatedGroup = in ReflectionTester()
2986 Assert.assertNotNull(repeatedGroup ); in ReflectionTester()
3009 this.repeatedGroupA = repeatedGroup.findFieldByName("a"); in ReflectionTester()