Lines Matching refs:MapMessage
172 MapMessage.new(:map_string_int32 => "hello")
183 m = MapMessage.new
187 m = MapMessage.new(
220 m = MapMessage.new(:map_string_int32 => { 1 => "I am not a number" })
225 m = MapMessage.new
229 m = MapMessage.new(
239 m = MapMessage.new(
250 m = MapMessage.new(map_string_int32: { "aaa" => 1 })
393 m = MapMessage.new(
398 m2 = MapMessage.decode(MapMessage.encode(m))
401 m3 = MapMessageWireEquiv.decode(MapMessage.encode(m))
463 m = MapMessage.new(
480 m = MapMessage.new(:map_string_int32 => {"a" => 1})
483 assert_equal JSON.parse(MapMessage.encode_json(m), :symbolize_names => true), expected
485 json = MapMessage.encode_json(m, :preserve_proto_fieldnames => true)
488 m2 = MapMessage.decode_json(MapMessage.encode_json(m))
495 m = MapMessage.new(:map_string_msg => {"a" => TestMessage2.new})
498 actual = MapMessage.encode_json(m, :emit_defaults => true)
506 msg = MapMessage.new