Add test case for extracting binary XML elements

This commit is contained in:
Moritz Bunkus 2012-04-04 15:26:29 +02:00
parent 1b9c03932e
commit 41d78551bf
2 changed files with 11 additions and 0 deletions

View File

@ -205,3 +205,4 @@ T_356tags:50b0db97dc1c571a2ae5688614cb0a39-44bd89109f3414e90b84b58b73536133-2718
T_357segment_info:2d71cf1bd5f76518c50cd264c9bbca02-14d5941c82657b7b39cb9c1f93bf39b4-ok-ok-ok-ok-ok-ok-ok:passed:20120324-122844:0.171732152
T_358usf:ed5c3f4942642971dc7b7cc9ff2e1c07:passed:20120329-142144:0.03867509
T_359split_parts:9957b93c496b1d21058c4dce51e11e9d+95b51d8b94bf77636fa4335717a9d92c+ok-6545822bdd41ba39b140b0246472a386+ok:passed:20120331-133448:0.551586473
T_360X_chapters_hex_format:c49e086961b3ca8b77f525753d3912cf-7572117a2f0e57f429fd7610815aa7ba:passed:20120404-152038:0.033946943

View File

@ -0,0 +1,10 @@
#!/usr/bin/ruby -w
# T_360X_chapters_hex_format
describe "mkvextract / extract XML chapters with binary elements (hex format)"
test_merge "data/srt/ven.srt --chapters data/text/chapters-hex-format.xml", :keep_tmp => true
test "extraction" do
extract "#{tmp} > #{tmp}-chapters", :mode => :chapters
hash_file "#{tmp}-chapters"
end