Home | History | Annotate | Download | only in tests

Lines Matching refs:test_msg

578   def fill_test_msg(test_msg)
579 test_msg.repeated_int32 += [-10, -11]
580 test_msg.repeated_int64 += [-1_000_000, -1_000_001]
581 test_msg.repeated_uint32 += [10, 11]
582 test_msg.repeated_uint64 += [1_000_000, 1_000_001]
583 test_msg.repeated_bool += [true, false]
584 test_msg.repeated_float += [-1.01, -1.02]
585 test_msg.repeated_double += [-1.0000000000001, -1.0000000000002]
586 test_msg.repeated_string += %w(foo bar)
587 test_msg.repeated_bytes += ["bar".encode!('ASCII-8BIT'), "foo".encode!('ASCII-8BIT')]
588 test_msg.repeated_msg << TestMessage2.new(:foo => 1)
589 test_msg.repeated_msg << TestMessage2.new(:foo => 2)
590 test_msg.repeated_enum << :A
591 test_msg.repeated_enum << :B