2 require 'mogilefs/bigfile'
4 class TestMogileFS__Bigfile < TestMogileFS
5 include MogileFS::Bigfile
8 @klass = MogileFS::MogileFS
13 expect = {:type=>"file",
14 :des=>"no description",
18 {:md5=>"d3b4d15c294b24d9f853e26095dfe3d0",
20 ["http://foo1:7500/dev2/0/000/144/0000144411.fid",
21 "http://foo2:7500/dev1/0/000/144/0000144411.fid"],
23 {:md5=>"d3b4d15c294b24d9f853e26095dfe3d0",
25 ["http://foo4:7500/dev2/0/000/144/0000144411.fid",
26 "http://foo3:7500/dev1/0/000/144/0000144411.fid"],
40 part 1 bytes=12 md5=d3b4d15c294b24d9f853e26095dfe3d0 paths: http://foo1:7500/dev2/0/000/144/0000144411.fid, http://foo2:7500/dev1/0/000/144/0000144411.fid
41 part 2 bytes=6 md5=d3b4d15c294b24d9f853e26095dfe3d0 paths: http://foo4:7500/dev2/0/000/144/0000144411.fid, http://foo3:7500/dev1/0/000/144/0000144411.fid
44 assert_equal expect, i