Class: PassThruDecompressorTest
- Inherits:
-
MiniTest::Test
- Object
- MiniTest::Test
- PassThruDecompressorTest
show all
- Includes:
- DecompressorTests
- Defined in:
- lib/hotplate/gems/rubyzip-1.1.7/test/pass_thru_decompressor_test.rb
Constant Summary
DecompressorTests::TEST_FILE
Instance Method Summary
collapse
#test_mixingReadsAndProduceInput, #test_readEverything, #test_readInChunks
Instance Method Details
#setup ⇒ Object
5
6
7
8
9
|
# File 'lib/hotplate/gems/rubyzip-1.1.7/test/pass_thru_decompressor_test.rb', line 5
def setup
super
@file = File.new(TEST_FILE)
@decompressor = ::Zip::PassThruDecompressor.new(@file, File.size(TEST_FILE))
end
|
#teardown ⇒ Object
11
12
13
|
# File 'lib/hotplate/gems/rubyzip-1.1.7/test/pass_thru_decompressor_test.rb', line 11
def teardown
@file.close
end
|