test/test_pipeline.rb in tracksperanto-3.4.1 vs test/test_pipeline.rb in tracksperanto-3.5.0
- old
+ new
@@ -43,9 +43,18 @@
pipeline.run(@stabilizer, :importer => "ShakeScript", :width => 2910, :height => 1080)
end
end
end
+ def test_run_for_unsupported_format_raises_exception
+ pipeline = Tracksperanto::Pipeline::Base.new
+ %w( file.MOV file.mb vfx/shots/file.SNI ).each do | path |
+ assert_raise(Tracksperanto::UnsupportedFormatError) do
+ pipeline.run(path)
+ end
+ end
+ end
+
def test_run_with_autodetected_importer_and_size_with_progress_block
in_temp_dir do
create_stabilizer_file
processing_log = ""
accum = lambda do | percent, message |