Home
last modified time | relevance | path

Searched refs:oneofMessage (Results 1 – 6 of 6) sorted by relevance

/external/protobuf/objectivec/Tests/
DGPBSwiftTests.swift293 let autoCreated = msg.oneofMessage // Default create one. in testProto2OneOfSupport()
301 XCTAssertTrue(msg.oneofMessage === autoCreated) // Still the same in testProto2OneOfSupport()
308 XCTAssertTrue(msg.oneofMessage === autoCreated) // Still the same in testProto2OneOfSupport()
315 XCTAssertTrue(msg.oneofMessage === autoCreated) // Still the same in testProto2OneOfSupport()
319 msg.oneofMessage.optionalInt32 = 200 in testProto2OneOfSupport()
323 XCTAssertTrue(msg.oneofMessage === autoCreated) // Still the same in testProto2OneOfSupport()
324 XCTAssertEqual(msg.oneofMessage.optionalInt32, Int32(200)) in testProto2OneOfSupport()
332 let autoCreated2 = msg.oneofMessage // Default create one in testProto2OneOfSupport()
335 XCTAssertEqual(msg.oneofMessage.optionalInt32, Int32(0)) // Default in testProto2OneOfSupport()
348 msg.oneofMessage.optionalInt32 = 300 in testProto2OneOfSupport()
[all …]
DGPBMessageTests+Runtime.m943 XCTAssertNotNil(msg.oneofMessage);
967 XCTAssertNotNil(msg.oneofMessage);
989 XCTAssertNotNil(msg.oneofMessage);
1011 XCTAssertNotNil(msg.oneofMessage);
1033 XCTAssertNotNil(msg.oneofMessage);
1055 XCTAssertNotNil(msg.oneofMessage);
1077 XCTAssertNotNil(msg.oneofMessage);
1099 XCTAssertNotNil(msg.oneofMessage);
1121 XCTAssertNotNil(msg.oneofMessage);
1143 XCTAssertNotNil(msg.oneofMessage);
[all …]
DGPBMessageTests+Merge.m425 src.oneofMessage = subMessage;
428 Message2 *mergedSubMessage = [[dst.oneofMessage retain] autorelease];
440 XCTAssertNotNil(dst.oneofMessage);
441 XCTAssertNotEqual(dst.oneofMessage,
459 src.oneofMessage = subMessage;
462 dst.oneofMessage = mergedSubMessage;
466 XCTAssertEqual(dst.oneofMessage, mergedSubMessage); // Pointer comparision.
467 XCTAssertEqual(dst.oneofMessage.optionalInt32, 777); // Pointer comparision.
468 XCTAssertEqual(dst.oneofMessage.optionalInt64, 999); // Pointer comparision.
635 src.oneofMessage = subMessage;
[all …]
DGPBMessageTests+Serialization.m511 { // oneofMessage
513 orig.oneofMessage = subMessage;
519 XCTAssertEqualObjects(msg.oneofMessage, subMessage);
730 { // oneofMessage
732 orig.oneofMessage = subMessage;
738 XCTAssertEqualObjects(msg.oneofMessage, subMessage);
/external/syzkaller/vendor/github.com/golang/protobuf/proto/
Dproperties.go394 type oneofMessage interface {
397 if om, ok := reflect.Zero(reflect.PtrTo(t)).Interface().(oneofMessage); ok {
Dtable_marshal.go318 if m, ok := reflect.Zero(reflect.PtrTo(t)).Interface().(oneofMessage); ok {
474 type oneofMessage interface { interface