Searched refs:TestMessage2 (Results 1 – 9 of 9) sorted by relevance
/third_party/protobuf/ruby/tests/ |
D | basic.rb | 37 m.singular_msg = TestMessage2.new 119 m.singular_msg = TestMessage2.new(:foo => 42) 120 assert_equal TestMessage2.new(:foo => 42), m.singular_msg 126 m.singular_msg = TestMessage2.new(:foo => 42) 127 assert_equal TestMessage2.new(:foo => 42), m.singular_msg 189 :map_string_msg => {"a" => TestMessage2.new(:foo => 1), 190 "b" => TestMessage2.new(:foo => 2)}, 199 m.map_string_msg["c"] = TestMessage2.new(:foo => 3) 200 assert m.map_string_msg["c"] == TestMessage2.new(:foo => 3) 203 assert m.map_string_msg == { "a" => TestMessage2.new(:foo => 1) } [all …]
|
D | basic_proto2.rb | 69 m.optional_msg = TestMessage2.new 98 m.c = TestMessage2.new 100 assert_equal TestMessage2.new, m.c 158 m.optional_msg = TestMessage2.new(:foo => 42) 159 assert_equal TestMessage2.new(:foo => 42), m.optional_msg 166 m.optional_msg = TestMessage2.new(:foo => 42) 167 assert_equal TestMessage2.new(:foo => 42), m.optional_msg 203 m.optional_msg = TestMessage2.new(:foo => 42) 205 assert_equal TestMessage2.new(:foo => 42), m.optional_msg
|
D | repeated_field_test.rb | 47 assert_equal TestMessage2.new(:foo => 1), m.repeated_msg.first 72 assert_equal TestMessage2.new(:foo => 2), m.repeated_msg.last 102 assert_equal TestMessage2.new(:foo => 2), m.repeated_msg.pop 103 assert_equal TestMessage2.new(:foo => 1), m.repeated_msg.pop 141 …m.repeated_msg = Google::Protobuf::RepeatedField.new(:message, TestMessage2, [TestMessage2.new(:fo… 142 assert_equal m.repeated_msg.first, TestMessage2.new(:foo => 1) 206 m.repeated_msg[3] = TestMessage2.new(:foo => 1) 207 assert_equal [nil, nil, nil, TestMessage2.new(:foo => 1)], m.repeated_msg 344 m.repeated_msg << TestMessage2.new(:foo => 1) 346 m.repeated_msg << TestMessage2.new(:foo => 2) [all …]
|
D | basic_test.proto | 33 optional TestMessage2 optional_msg = 10; field 45 repeated TestMessage2 repeated_msg = 21; 59 TestMessage2 singular_msg = 10; 63 message TestMessage2 { message 96 map<string, TestMessage2> map_string_msg = 2; 112 TestMessage2 value = 2; 119 TestMessage2 c = 3;
|
D | basic_test_proto2.proto | 33 optional TestMessage2 optional_msg = 10; 45 repeated TestMessage2 repeated_msg = 21; 49 message TestMessage2 { message 63 optional TestMessage2 optional_msg = 10; 112 optional TestMessage2 value = 2; 119 TestMessage2 c = 3;
|
/third_party/protobuf/ruby/compatibility_tests/v3.0.0/tests/ |
D | basic.rb | 103 TestMessage2 = pool.lookup("TestMessage2").msgclass constant 154 m.optional_msg = TestMessage2.new(:foo => 42) 155 assert m.optional_msg == TestMessage2.new(:foo => 42) 162 :optional_msg => TestMessage2.new, 166 assert m.optional_msg.class == TestMessage2 177 :optional_msg => TestMessage2.new, 393 l.push TestMessage2.new 455 l = Google::Protobuf::RepeatedField.new(:message, [TestMessage2.new]) 651 m["jkl;"] = TestMessage2.new 706 :map_string_msg => {"a" => TestMessage2.new(:foo => 1), [all …]
|
D | repeated_field_test.rb | 44 assert_equal TestMessage2.new(:foo => 1), m.repeated_msg.first 64 assert_equal TestMessage2.new(:foo => 2), m.repeated_msg.last 94 assert_equal TestMessage2.new(:foo => 2), m.repeated_msg.pop 95 assert_equal TestMessage2.new(:foo => 1), m.repeated_msg.pop 192 m.repeated_msg[3] = TestMessage2.new(:foo => 1) 193 assert_equal [nil, nil, nil, TestMessage2.new(:foo => 1)], m.repeated_msg 331 m.repeated_msg << TestMessage2.new(:foo => 1) 333 m.repeated_msg << TestMessage2.new(:foo => 2) 590 test_msg.repeated_msg << TestMessage2.new(:foo => 1) 591 test_msg.repeated_msg << TestMessage2.new(:foo => 2) [all …]
|
/third_party/protobuf/java/core/src/test/proto/com/google/protobuf/ |
D | outer_class_name_test2.proto | 36 message TestMessage2 { message
|
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | GeneratedMessageTest.java | 1375 OuterClassNameTest2OuterClass.TestMessage2.NestedMessage.OuterClassNameTest2 message2 = in testConflictingOuterClassName() 1376 OuterClassNameTest2OuterClass.TestMessage2.NestedMessage.OuterClassNameTest2.newBuilder() in testConflictingOuterClassName()
|