File: pass_thru_decompressor_test.rb

package info (click to toggle)
ruby-zip 3.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 11,120 kB
  • sloc: ruby: 9,958; makefile: 23
file content (18 lines) | stat: -rw-r--r-- 375 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# frozen_string_literal: true

require_relative 'test_helper'
require_relative 'helpers/decompressor_tests'

class PassThruDecompressorTest < Minitest::Test
  include DecompressorTests

  def setup
    super
    @file = File.new(TEST_FILE, 'rb')
    @decompressor = ::Zip::PassThruDecompressor.new(@file, File.size(TEST_FILE))
  end

  def teardown
    @file.close
  end
end