Searched refs:optional_msg (Results 1 – 14 of 14) sorted by relevance
/third_party/protobuf/ruby/tests/ |
D | basic_proto2.rb | 69 m.optional_msg = TestMessage2.new 158 m.optional_msg = TestMessage2.new(:foo => 42) 159 assert_equal TestMessage2.new(:foo => 42), m.optional_msg 163 assert_equal nil, m.optional_msg 166 m.optional_msg = TestMessage2.new(:foo => 42) 167 assert_equal TestMessage2.new(:foo => 42), m.optional_msg 171 assert_equal nil, m.optional_msg 203 m.optional_msg = TestMessage2.new(:foo => 42) 205 assert_equal TestMessage2.new(:foo => 42), m.optional_msg 207 m.optional_msg = nil [all …]
|
D | common_tests.rb | 26 assert m.optional_msg == nil 52 m.optional_msg = proto_module::TestMessage2.new(:foo => 42) 53 assert m.optional_msg == proto_module::TestMessage2.new(:foo => 42) 54 m.optional_msg = nil 55 assert m.optional_msg == nil 68 assert m.optional_msg.class == proto_module::TestMessage2 92 assert_nil m.optional_msg 175 m.optional_msg = proto_module::TestMessage.new # expects TestMessage2 1047 optional_msg = msgdef.lookup "optional_msg" 1048 assert optional_msg.subtype == proto_module::TestMessage2.descriptor [all …]
|
D | basic_test_proto2.proto | 33 optional TestMessage2 optional_msg = 10; field 63 optional TestMessage2 optional_msg = 10; field
|
D | type_errors.rb | 158 A::B::C::TestMessage.new(optional_msg: 2)
|
D | encode_decode_test.rb | 30 to = A::B::C::TestMessage.encode(m.optional_msg)
|
D | generated_code_proto2.proto | 16 optional TestMessage optional_msg = 11; field
|
D | generated_code.proto | 16 TestMessage optional_msg = 11; field
|
D | basic_test.proto | 33 optional TestMessage2 optional_msg = 10;
|
/third_party/protobuf/src/google/protobuf/ |
D | dynamic_message_unittest.cc | 300 const FieldDescriptor* optional_msg = in TEST_F() local 303 EXPECT_TRUE(optional_msg != NULL); in TEST_F() 311 EXPECT_EQ(false, refl->HasField(*message, optional_msg)); in TEST_F() 312 refl->MutableMessage(message, optional_msg); in TEST_F() 313 EXPECT_EQ(true, refl->HasField(*message, optional_msg)); in TEST_F() 314 delete refl->ReleaseMessage(message, optional_msg); in TEST_F() 315 EXPECT_EQ(false, refl->HasField(*message, optional_msg)); in TEST_F() 318 EXPECT_EQ(false, refl->HasField(*proto3_prototype_, optional_msg)); in TEST_F()
|
/third_party/protobuf/ruby/compatibility_tests/v3.0.0/tests/ |
D | basic.rb | 131 assert m.optional_msg == nil 154 m.optional_msg = TestMessage2.new(:foo => 42) 155 assert m.optional_msg == TestMessage2.new(:foo => 42) 156 m.optional_msg = nil 157 assert m.optional_msg == nil 166 assert m.optional_msg.class == TestMessage2 252 m.optional_msg = TestMessage.new # expects TestMessage2 1212 optional_msg = msgdef.lookup "optional_msg" 1213 assert optional_msg.subtype == TestMessage2.descriptor 1215 optional_msg.set(m, optional_msg.subtype.msgclass.new)
|
D | generated_code.proto | 16 TestMessage optional_msg = 11; field
|
/third_party/grpc/third_party/upb/tests/json/ |
D | test.proto | 13 SubMessage optional_msg = 8; field
|
/third_party/protobuf/src/google/protobuf/compiler/ruby/ |
D | ruby_generated_code.proto | 16 TestMessage optional_msg = 11; field
|
D | ruby_generated_code_proto2.proto | 16 optional TestMessage optional_msg = 11; field
|