Lines Matching refs:TestMessage2
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) }
209 assert m.map_string_msg == { "a" => TestMessage2.new(:foo => 1) }
231 :map_string_msg => {a: TestMessage2.new(:foo => 1),
232 b: TestMessage2.new(:foo => 10)})
241 :map_string_msg => {"a" => TestMessage2.new(:foo => 1),
242 "b" => TestMessage2.new(:foo => 2)},
395 :map_string_msg => {"a" => TestMessage2.new(:foo => 1),
396 "b" => TestMessage2.new(:foo => 2)},
410 assert kv == {"a" => TestMessage2.new(:foo => 1),
411 "b" => TestMessage2.new(:foo => 2)}
436 …ing => 'foo', :repeated_string => ['bar1', 'bar2'], :repeated_msg => [TestMessage2.new(:foo => 100…
465 :map_string_msg => {"a" => TestMessage2.new(:foo => 1),
466 "b" => TestMessage2.new(:foo => 2)},
495 m = MapMessage.new(:map_string_msg => {"a" => TestMessage2.new})