blob: 28010ac22433f2187d00180332028e8b39f9956f [file] [log] [blame]
Bryan Duxburyd815c212009-03-19 18:57:43 +00001require "spec/spec_helper"
2require "lib/thrift/serializer"
3
4path, factory_class = ARGV
5
6factory = eval(factory_class).new
7
8ser = Thrift::Serializer.new(factory)
9
10File.open(path, "w") do |file|
11 file.write(ser.serialize(Fixtures::COMPACT_PROTOCOL_TEST_STRUCT))
12end