Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/tests/
Dbasic.rb115 OneofMessage = pool.lookup("OneofMessage").msgclass constant
689 d = OneofMessage.descriptor
706 d = OneofMessage.new
741 d2 = OneofMessage.decode(OneofMessage.encode(d))
744 encoded_field_a = OneofMessage.encode(OneofMessage.new(:a => "string"))
745 encoded_field_b = OneofMessage.encode(OneofMessage.new(:b => 1000))
746 encoded_field_c = OneofMessage.encode(
747 OneofMessage.new(:c => TestMessage2.new(:foo => 1)))
748 encoded_field_d = OneofMessage.encode(OneofMessage.new(:d => :B))
750 d3 = OneofMessage.decode(
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/Tests/
DGPBSwiftTests.swift325 XCTAssertEqual(msg.oOneOfCase, Message2_O_OneOfCase.OneofMessage) in testProto2OneOfSupport()
352 XCTAssertEqual(msg.oOneOfCase, Message2_O_OneOfCase.OneofMessage) in testProto2OneOfSupport()
399 XCTAssertEqual(msg.oOneOfCase, Message3_O_OneOfCase.OneofMessage) in testProto3OneOfSupport()
426 XCTAssertEqual(msg.oOneOfCase, Message3_O_OneOfCase.OneofMessage) in testProto3OneOfSupport()