diff --git a/test/feh-scr.i b/test/feh-scr.i index 9696c9ef620272405f80d3c8ca59f3d2f9296308..037f42c7ebe385c556a6a50977d7c6db77afd661 100755 --- a/test/feh-scr.i +++ b/test/feh-scr.i @@ -6,7 +6,7 @@ use autodie qw/:all/; use Cwd; use GD qw/:DEFAULT :cmp/; -use Test::More tests => 42; +use Test::More tests => 48; use Time::HiRes qw/sleep/; use X11::GUITest qw/:ALL/; @@ -188,6 +188,20 @@ test_scr('caption_none'); feh_stop(); +feh_start( + '--info "echo \'%f\n%wx%h\'"', + 'test/bg/exact/in' +); +test_scr('draw_info'); +feh_stop(); + +feh_start( + '--info "echo \'%f\n%wx%h\'" --draw-tinted', + 'test/bg/exact/in' +); +test_scr('draw_info_tinted'); +feh_stop(); + feh_start( '--draw-actions --action8 "nrm \'%f\'"', 'test/bg/exact/in' @@ -195,6 +209,13 @@ feh_start( test_scr('draw_action'); feh_stop(); +feh_start( + '--draw-actions --action8 "nrm \'%f\'" --draw-tinted', + 'test/bg/exact/in' +); +test_scr('draw_action_tinted'); +feh_stop(); + feh_start( '--draw-filename', 'test/bg/exact/in' @@ -202,6 +223,13 @@ feh_start( test_scr('draw_filename'); feh_stop(); +feh_start( + '--draw-filename --draw-tinted', + 'test/bg/exact/in' +); +test_scr('draw_filename_tinted'); +feh_stop(); + feh_start( '--draw-filename --draw-actions --action8 "nrm \'%f\'"', 'test/bg/exact/in' @@ -209,6 +237,13 @@ feh_start( test_scr('draw_filename_action'); feh_stop(); +feh_start( + '--draw-filename --draw-actions --action8 "nrm \'%f\'" --draw-tinted', + 'test/bg/exact/in' +); +test_scr('draw_filename_action_tinted'); +feh_stop(); + feh_start( '--action8 "nrm \'%f\'"', 'test/bg/exact/in' @@ -229,6 +264,13 @@ test_scr('draw_nothing'); feh_stop(); +feh_start( + '--draw-tinted', + 'test/bg/exact/in' +); +test_scr('draw_nothing'); +feh_stop(); + feh_start(q{}, 'test/bg/large/h/in'); test_scr('feh_lhi'); diff --git a/test/scr/draw_action_tinted b/test/scr/draw_action_tinted new file mode 100644 index 0000000000000000000000000000000000000000..3b2d17f8c442e866c056c5a212cd5dea97d6161a Binary files /dev/null and b/test/scr/draw_action_tinted differ diff --git a/test/scr/draw_filename_action_tinted b/test/scr/draw_filename_action_tinted new file mode 100644 index 0000000000000000000000000000000000000000..55908eed814a12bbd8ea689f4c78bfa6f85391c4 Binary files /dev/null and b/test/scr/draw_filename_action_tinted differ diff --git a/test/scr/draw_filename_tinted b/test/scr/draw_filename_tinted new file mode 100644 index 0000000000000000000000000000000000000000..4f4e8f616114067e9615729c5194c1efaaeabb45 Binary files /dev/null and b/test/scr/draw_filename_tinted differ diff --git a/test/scr/draw_info b/test/scr/draw_info new file mode 100644 index 0000000000000000000000000000000000000000..e5d9244afbdf661b2223b21955c8f0e5a7cc70a1 Binary files /dev/null and b/test/scr/draw_info differ diff --git a/test/scr/draw_info_tinted b/test/scr/draw_info_tinted new file mode 100644 index 0000000000000000000000000000000000000000..37e2e263199bc647a1d04f6279bd51f9595116a9 Binary files /dev/null and b/test/scr/draw_info_tinted differ