Kouhei Sutou
null+****@clear*****
Wed Jul 5 23:23:49 JST 2017
Kouhei Sutou 2017-07-05 23:23:49 +0900 (Wed, 05 Jul 2017) New Revision: d180cf537936c5f062adcc4fdb8f749b551a9ead https://github.com/ranguba/chupa-text/commit/d180cf537936c5f062adcc4fdb8f749b551a9ead Message: test: add screenshot data Modified files: test/command/test-chupa-text.rb Modified: test/command/test-chupa-text.rb (+20 -0) =================================================================== --- test/command/test-chupa-text.rb 2017-07-05 18:27:14 +0900 (501f821) +++ test/command/test-chupa-text.rb 2017-07-05 23:23:49 +0900 (ab58baa) @@ -203,6 +203,26 @@ class TestCommandChupaText < Test::Unit::TestCase "source-mime-types" => ["text/csv"], "body" => "1 2 3\n4 5 6\n7 8 9\n", "size" => 18, + "screenshot" => { + "mime-type" => "image/svg+xml", + "data" => <<-SVG +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg + xmlns="http://www.w3.org/2000/svg" + width="100" + height="100" + viewBox="0 0 100 100"> + <text + x="0" + y="10" + xml:space="preserve" + style="font-size: 10px;">1 2 3 +4 5 6 +7 8 9 +</text> +</svg> + SVG + }, }, ], }, -------------- next part -------------- HTML����������������������������... Download