Home
last modified time | relevance | path

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

/external/protobuf/java/src/test/java/com/google/protobuf/
DNanoTest.java506 assertFalse(msg.optionalGroup != null); in testNanoOptionalGroup()
507 msg.optionalGroup = grp; in testNanoOptionalGroup()
508 assertTrue(msg.optionalGroup != null); in testNanoOptionalGroup()
509 assertEquals(1, msg.optionalGroup.a); in testNanoOptionalGroup()
511 assertFalse(msg.optionalGroup != null); in testNanoOptionalGroup()
513 .optionalGroup = new TestAllTypesNano.OptionalGroup(); in testNanoOptionalGroup()
514 msg.optionalGroup.a = 2; in testNanoOptionalGroup()
515 assertTrue(msg.optionalGroup != null); in testNanoOptionalGroup()
517 assertFalse(msg.optionalGroup != null); in testNanoOptionalGroup()
519 msg.optionalGroup = grp; in testNanoOptionalGroup()
[all …]
DTestUtil.java2902 private final Descriptors.Descriptor optionalGroup; field in TestUtil.ReflectionTester
2965 this.optionalGroup = in ReflectionTester()
2970 this.optionalGroup = in ReflectionTester()
2985 Assert.assertNotNull(optionalGroup ); in ReflectionTester()
3008 this.groupA = optionalGroup.findFieldByName("a"); in ReflectionTester()