HomeSort by relevance Sort by last modified time
    Searched refs:optionalGroup (Results 1 - 3 of 3) sorted by null

  /external/protobuf/javanano/src/test/java/com/google/protobuf/nano/
NanoTest.java 490 TestAllTypesNano.OptionalGroup grp = new TestAllTypesNano.OptionalGroup();
492 assertFalse(msg.optionalGroup != null);
493 msg.optionalGroup = grp;
494 assertTrue(msg.optionalGroup != null);
495 assertEquals(1, msg.optionalGroup.a);
497 assertFalse(msg.optionalGroup != null);
499 .optionalGroup = new TestAllTypesNano.OptionalGroup();
500 msg.optionalGroup.a = 2
    [all...]
  /external/protobuf/java/core/src/test/java/com/google/protobuf/
LiteTest.java 46 import com.google.protobuf.UnittestLite.TestAllTypesLite.OptionalGroup;
327 OptionalGroup optionalGroup = OptionalGroup.newBuilder()
330 builder.setOptionalGroup(optionalGroup);
332 OptionalGroup.getDefaultInstance(), message.getOptionalGroup());
333 assertEquals(optionalGroup, builder.getOptionalGroup());
335 assertEquals(optionalGroup, messageAfterBuild.getOptionalGroup());
337 OptionalGroup.getDefaultInstance(), message.getOptionalGroup());
340 OptionalGroup.getDefaultInstance(), builder.getOptionalGroup())
    [all...]
TestUtil.java 332 TestAllTypes.OptionalGroup.newBuilder().setA(117).build());
    [all...]

Completed in 69 milliseconds