tests: add test case for Emojis

This commit is contained in:
Moritz Bunkus 2019-03-12 20:28:47 +01:00
parent f4fff6190a
commit 66a2cebc82
No known key found for this signature in database
GPG Key ID: 74AF00ADF2E32C85
2 changed files with 13 additions and 0 deletions

View File

@ -516,3 +516,4 @@ T_667ogg_chapters_use_name_template:8b5c27fdfb8d79b438d179c4845ed460-d30883a76d1
T_668flush_on_close:7087ba97938d8b341e678f8ad6d40e36-e811bbfaa7fabc16d14310db3092dbe3:passed:20190110-220105:0.03641201
T_669ssa_ass_zero_duration:1bbca62bfcc25b7480e8bbfb228f510e-c34beca52c9bf3eac07c5ee6c2eb899b:passed:20190124-143027:0.020726405
T_670h265_interlaced:720x480+1920x1080+1920x1080+1920x1080+1920x1080+1920x1080+1920x1080+1920x1080+1920x1080+1920x1080+1920x1080:passed:20190126-134743:0.040331695
T_671emojis:063f1c31e5ba1046edd225f387eb0d81-true:passed:20190312-202232:0.016691955

12
tests/test-671emojis.rb Executable file
View File

@ -0,0 +1,12 @@
#!/usr/bin/ruby -w
# coding: utf-8
# T_671emojis
describe "mkvmerge / Emojis"
emojis = "😀😁😁😂😂😃😃😃😄😄😄😅😅😅😆😆😆😉😊😊😋😋😎😎😎😍😍😍😘😘😗😗😙😙😚😚😘😘😘😍😍😍"
test_merge "data/subtitles/srt/ven.srt", :args => "--title #{emojis}", :keep_tmp => true
test "identification" do
identify_json(tmp)["container"]["properties"]["title"] == emojis
end