Add more tests for cases in which the chapter parser should fail

This commit is contained in:
Moritz Bunkus 2012-03-25 15:33:23 +02:00
parent 190172981c
commit 88826e094b
2 changed files with 2 additions and 2 deletions

View File

@ -200,6 +200,6 @@ T_352timecode_scale_auto_libmatroska_assert:a88275bb9d14d8d6fcdf59a7db271750:pas
T_353ac3-from-ts-with-missing-tcs-with-non-zero-first-tc::new:20120312-134345:0.0
T_353ac3_from_ts_with_missing_tcs_with_non_zero_first_tc:cd895e8b406108f0568ed4495440ac28:passed:20120312-134456:0.86805827
T_354h264_60000_1001i_def_duration_60000_1000:3588de4a68a60301c05c0e96ec1499e8:passed:20120314-090846:0.236021657
T_355chapters:fe1f0f4bc6fea73176105ec2ed297fd5-aff1c812e628ee6c1dc11f8b48d8b472-89bf21b148f8bd2cb0d36a975ec1ce31-ok-ok-ok-ok-ok:passed:20120324-121601:0.134659652
T_355chapters:fe1f0f4bc6fea73176105ec2ed297fd5-aff1c812e628ee6c1dc11f8b48d8b472-89bf21b148f8bd2cb0d36a975ec1ce31-ok-ok-ok-ok-ok-ok-ok-ok-ok-ok-ok:passed:20120324-121601:0.218524938
T_356tags:44bd89109f3414e90b84b58b73536133-50b0db97dc1c571a2ae5688614cb0a39-52b632167e9dadb0779f239bf0c4b82a-2718d3a6e7d380df11d0bcdf176cfacf-ok-ok-ok-ok-ok-ok-ok-ok:passed:20120324-121752:0.210298216
T_357segment_info:2d71cf1bd5f76518c50cd264c9bbca02-2d71cf1bd5f76518c50cd264c9bbca02-ok-ok-ok:passed:20120324-122844:0.171732152

View File

@ -11,7 +11,7 @@ source = "data/srt/ven.srt"
end
# Invalid files:
%w{chapters-invalid-timecode.xml chapters-invalid-sub-tag.xml chapters-invalid-root-tag.xml chapters-invalid-xml.xml chapters-invalid-range.xml}.each do |chapters|
%w{timecode sub-tag root-tag xml range chaptercountry chapterlanguage chapter-track-no-chaptertracknumber no-atom no-chapterstring no-chaptertimestart}.each do |chapters|
test chapters do
merge "#{source} --chapters data/text/#{chapters}", :exit_code => 2
:ok