Lines Matching refs:test_msg
602 def fill_test_msg(test_msg)
603 test_msg.repeated_int32 += [-10, -11]
604 test_msg.repeated_int64 += [-1_000_000, -1_000_001]
605 test_msg.repeated_uint32 += [10, 11]
606 test_msg.repeated_uint64 += [1_000_000, 1_000_001]
607 test_msg.repeated_bool += [true, false]
608 test_msg.repeated_float += [-1.01, -1.02]
609 test_msg.repeated_double += [-1.0000000000001, -1.0000000000002]
610 test_msg.repeated_string += %w(foo bar)
611 test_msg.repeated_bytes += ["bar".encode!('ASCII-8BIT'), "foo".encode!('ASCII-8BIT')]
612 test_msg.repeated_msg << TestMessage2.new(:foo => 1)
613 test_msg.repeated_msg << TestMessage2.new(:foo => 2)
614 test_msg.repeated_enum << :A
615 test_msg.repeated_enum << :B