From 66a2cebc82eb40c1515b6529a1512d150855a7a2 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 12 Mar 2019 20:28:47 +0100 Subject: [PATCH] tests: add test case for Emojis --- tests/results.txt | 1 + tests/test-671emojis.rb | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100755 tests/test-671emojis.rb diff --git a/tests/results.txt b/tests/results.txt index 48fabe9ae..dcf292b08 100644 --- a/tests/results.txt +++ b/tests/results.txt @@ -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 diff --git a/tests/test-671emojis.rb b/tests/test-671emojis.rb new file mode 100755 index 000000000..a3b917cb3 --- /dev/null +++ b/tests/test-671emojis.rb @@ -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