Searched refs:optionalGroup (Results 1 – 9 of 9) sorted by relevance
/external/protobuf/objectivec/Tests/ |
D | GPBSwiftTests.swift | 49 msg.optionalGroup = msg3 in testProto2Basics() 81 XCTAssertTrue(msg.optionalGroup === msg3) in testProto2Basics() 113 msg.optionalGroup = nil in testProto2Basics() 115 XCTAssertTrue(msg.optionalGroup !== msg3) // New instance in testProto2Basics() 236 let msg2 = msg.optionalGroup in testAutoCreation() 246 msg.optionalGroup.a = 10 in testAutoCreation() 253 XCTAssertTrue(msg2 === msg.optionalGroup) in testAutoCreation() 262 msg.optionalGroup.a = 20 in testAutoCreation() 267 XCTAssertTrue(msg2 !== msg.optionalGroup) in testAutoCreation() 439 msg.optionalGroup.a = 102 in testSerialization() [all …]
|
D | GPBMessageTests.m | 622 TestAllTypes_OptionalGroup *optionalGroup = [message.optionalGroup retain]; 633 XCTAssertNotNil(optionalGroup); 653 XCTAssertEqual(message.optionalGroup, optionalGroup); 667 XCTAssertNotEqual(message2.optionalGroup, optionalGroup); 678 message.optionalGroup = nil; 693 XCTAssertNotEqual(message.optionalGroup, optionalGroup); 701 [optionalGroup release]; 713 message2.optionalGroup = message.optionalGroup; 716 message2.optionalGroup.a = 42; 724 message.optionalGroup.a = 42; [all …]
|
D | GPBPerfTests.m | 188 [message.optionalGroup hasA]; 189 message.optionalGroup.hasA = NO; 190 [message.optionalGroup hasA];
|
D | GPBTestUtilities.m | 532 XCTAssertTrue(message.optionalGroup.hasA); 561 XCTAssertEqual(117, message.optionalGroup.a); 955 OptionalGroup_extension *optionalGroup = [OptionalGroup_extension message]; 956 [optionalGroup setA:117]; 958 value:optionalGroup]; 2013 XCTAssertNotNil(message.optionalGroup); 2014 XCTAssertEqualObjects([message valueForKeyPath:@"optionalGroup.hasA"], @YES); 2015 XCTAssertEqualObjects(@(message.optionalGroup.a), [message valueForKeyPath:@"optionalGroup.a"]); 2168 [message setValue:allTypes forKey:@"optionalGroup"]; 2461 XCTAssertNotNil([message valueForKeyPath:@"optionalGroup"]); [all …]
|
D | GPBMessageTests+Runtime.m | 346 //% // Test doesn't apply to optionalGroup/optionalMessage. 639 // Test doesn't apply to optionalGroup/optionalMessage. 698 //% // Test doesn't apply to optionalGroup/optionalMessage. 856 // Test doesn't apply to optionalGroup/optionalMessage. 1987 XCTAssertNotEqual(msg1.optionalGroup, msg2.optionalGroup);
|
/external/protobuf/javanano/src/test/java/com/google/protobuf/nano/ |
D | NanoTest.java | 492 assertFalse(msg.optionalGroup != null); in testNanoOptionalGroup() 493 msg.optionalGroup = grp; in testNanoOptionalGroup() 494 assertTrue(msg.optionalGroup != null); in testNanoOptionalGroup() 495 assertEquals(1, msg.optionalGroup.a); in testNanoOptionalGroup() 497 assertFalse(msg.optionalGroup != null); in testNanoOptionalGroup() 499 .optionalGroup = new TestAllTypesNano.OptionalGroup(); in testNanoOptionalGroup() 500 msg.optionalGroup.a = 2; in testNanoOptionalGroup() 501 assertTrue(msg.optionalGroup != null); in testNanoOptionalGroup() 503 assertFalse(msg.optionalGroup != null); in testNanoOptionalGroup() 505 msg.optionalGroup = grp; in testNanoOptionalGroup() [all …]
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | LiteTest.java | 327 OptionalGroup optionalGroup = OptionalGroup.newBuilder() in testSanityCopyOnWrite() local 330 builder.setOptionalGroup(optionalGroup); in testSanityCopyOnWrite() 333 assertEquals(optionalGroup, builder.getOptionalGroup()); in testSanityCopyOnWrite() 335 assertEquals(optionalGroup, messageAfterBuild.getOptionalGroup()); in testSanityCopyOnWrite() 341 assertEquals(optionalGroup, messageAfterBuild.getOptionalGroup()); in testSanityCopyOnWrite()
|
D | TestUtil.java | 2635 private final Descriptors.Descriptor optionalGroup; field in TestUtil.ReflectionTester 2698 this.optionalGroup = in ReflectionTester() 2703 this.optionalGroup = in ReflectionTester() 2718 Assert.assertNotNull(optionalGroup ); in ReflectionTester() 2741 this.groupA = optionalGroup.findFieldByName("a"); in ReflectionTester()
|
/external/protobuf/js/ |
D | message_test.js | 714 optionalGroup: undefined, property
|