Searched refs:optionalGroup (Results 1 – 12 of 12) sorted by relevance
/third_party/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 | GPBUtilitiesTests.m | 246 OptionalGroup_extension *optionalGroup = [OptionalGroup_extension message]; 247 optionalGroup.a = 123; 248 optionalGroup.unknownFields = UnknownFieldsSetHelper(779); 250 value:optionalGroup]; 286 OptionalGroup_extension *optionalGroup = 288 XCTAssertNotNil(optionalGroup); 289 XCTAssertEqual(optionalGroup.a, 123); 290 XCTAssertNotNil(optionalGroup.unknownFields); 333 OptionalGroup_extension *optionalGroup = 335 XCTAssertNotNil(optionalGroup); [all …]
|
D | GPBMessageTests.m | 647 TestAllTypes_OptionalGroup *optionalGroup = [message.optionalGroup retain]; 658 XCTAssertNotNil(optionalGroup); 678 XCTAssertEqual(message.optionalGroup, optionalGroup); 692 XCTAssertNotEqual(message2.optionalGroup, optionalGroup); 703 message.optionalGroup = nil; 718 XCTAssertNotEqual(message.optionalGroup, optionalGroup); 726 [optionalGroup release]; 738 message2.optionalGroup = message.optionalGroup; 741 message2.optionalGroup.a = 42; 749 message.optionalGroup.a = 42; [all …]
|
D | GPBPerfTests.m | 294 [message.optionalGroup hasA]; 295 message.optionalGroup.hasA = NO; 296 [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 | 388 //% // Test doesn't apply to optionalGroup/optionalMessage. 690 // Test doesn't apply to optionalGroup/optionalMessage. 736 { // optionalGroup 739 msg.optionalGroup = [Message2_OptionalGroup message]; 741 msg.optionalGroup = nil; 2636 XCTAssertNotEqual(msg1.optionalGroup, msg2.optionalGroup);
|
/third_party/protobuf/java/lite/src/test/java/com/google/protobuf/ |
D | LiteTest.java | 335 OptionalGroup optionalGroup = OptionalGroup.newBuilder().setA(1).build(); in testSanityCopyOnWrite() local 336 builder.setOptionalGroup(optionalGroup); in testSanityCopyOnWrite() 338 assertEquals(optionalGroup, builder.getOptionalGroup()); in testSanityCopyOnWrite() 340 assertEquals(optionalGroup, messageAfterBuild.getOptionalGroup()); in testSanityCopyOnWrite() 344 assertEquals(optionalGroup, messageAfterBuild.getOptionalGroup()); in testSanityCopyOnWrite()
|
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
D | TestUtil.java | 1876 private final Descriptors.Descriptor optionalGroup; field in TestUtil.ReflectionTester 1939 this.optionalGroup = in ReflectionTester() 1944 this.optionalGroup = in ReflectionTester() 1959 Assert.assertNotNull(optionalGroup ); in ReflectionTester() 1982 this.groupA = optionalGroup.findFieldByName("a"); in ReflectionTester()
|
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | TestUtil.java | 2661 private final Descriptors.Descriptor optionalGroup; field in TestUtil.ReflectionTester 2720 this.optionalGroup = testAllTypes.findNestedTypeByName("OptionalGroup"); in ReflectionTester() 2723 this.optionalGroup = file.findMessageTypeByName("OptionalGroup_extension"); in ReflectionTester() 2735 Assert.assertNotNull(optionalGroup); in ReflectionTester() 2758 this.groupA = optionalGroup.findFieldByName("a"); in ReflectionTester()
|
/third_party/protobuf/js/compatibility_tests/v3.0.0/ |
D | message_test.js | 764 optionalGroup: undefined, property
|
/third_party/protobuf/js/ |
D | message_test.js | 797 optionalGroup: undefined, property
|
/third_party/protobuf/js/compatibility_tests/v3.1.0/ |
D | message_test.js | 716 optionalGroup: undefined, property
|