Class: ErrorsTest
- Inherits:
-
MiniTest::Test
- Object
- MiniTest::Test
- ErrorsTest
- Defined in:
- lib/hotplate/gems/rubyzip-1.1.7/test/errors_test.rb
Instance Method Summary collapse
- #test_rescue_legacy_zip_compression_method_error ⇒ Object
- #test_rescue_legacy_zip_destination_file_exists_error ⇒ Object
- #test_rescue_legacy_zip_entry_exists_error ⇒ Object
- #test_rescue_legacy_zip_entry_name_error ⇒ Object
- #test_rescue_legacy_zip_error ⇒ Object
- #test_rescue_legacy_zip_internal_error ⇒ Object
Instance Method Details
#test_rescue_legacy_zip_compression_method_error ⇒ Object
21 22 23 24 |
# File 'lib/hotplate/gems/rubyzip-1.1.7/test/errors_test.rb', line 21 def test_rescue_legacy_zip_compression_method_error raise ::Zip::CompressionMethodError rescue ::Zip::ZipCompressionMethodError end |
#test_rescue_legacy_zip_destination_file_exists_error ⇒ Object
16 17 18 19 |
# File 'lib/hotplate/gems/rubyzip-1.1.7/test/errors_test.rb', line 16 def test_rescue_legacy_zip_destination_file_exists_error raise ::Zip::DestinationFileExistsError rescue ::Zip::ZipDestinationFileExistsError end |
#test_rescue_legacy_zip_entry_exists_error ⇒ Object
11 12 13 14 |
# File 'lib/hotplate/gems/rubyzip-1.1.7/test/errors_test.rb', line 11 def test_rescue_legacy_zip_entry_exists_error raise ::Zip::EntryExistsError rescue ::Zip::ZipEntryExistsError end |
#test_rescue_legacy_zip_entry_name_error ⇒ Object
26 27 28 29 |
# File 'lib/hotplate/gems/rubyzip-1.1.7/test/errors_test.rb', line 26 def test_rescue_legacy_zip_entry_name_error raise ::Zip::EntryNameError rescue ::Zip::ZipEntryNameError end |
#test_rescue_legacy_zip_error ⇒ Object
6 7 8 9 |
# File 'lib/hotplate/gems/rubyzip-1.1.7/test/errors_test.rb', line 6 def test_rescue_legacy_zip_error raise ::Zip::Error rescue ::Zip::ZipError end |
#test_rescue_legacy_zip_internal_error ⇒ Object
31 32 33 34 |
# File 'lib/hotplate/gems/rubyzip-1.1.7/test/errors_test.rb', line 31 def test_rescue_legacy_zip_internal_error raise ::Zip::InternalError rescue ::Zip::ZipInternalError end |