diff options
author | Daniel Friesel <derf@finalrewind.org> | 2010-10-05 18:33:24 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2010-10-05 18:33:24 +0200 |
commit | bd537196e67bf71ddacfbbb8ce608344beffb80e (patch) | |
tree | cac6edd505fcbcabc14db422a51b6ce555b2846a | |
parent | f75aea0e0a57a603203e6334fba4936bc5623a74 (diff) |
Add tests for --image-bg
-rw-r--r-- | test/bg/transparency | bin | 0 -> 4397 bytes | |||
-rwxr-xr-x | test/feh-scr.i | 17 | ||||
-rw-r--r-- | test/scr/feh_ibg_black | bin | 0 -> 9521 bytes | |||
-rw-r--r-- | test/scr/feh_ibg_default | bin | 0 -> 10808 bytes | |||
-rw-r--r-- | test/scr/feh_ibg_white | bin | 0 -> 8635 bytes |
5 files changed, 16 insertions, 1 deletions
diff --git a/test/bg/transparency b/test/bg/transparency Binary files differnew file mode 100644 index 0000000..1d4a171 --- /dev/null +++ b/test/bg/transparency diff --git a/test/feh-scr.i b/test/feh-scr.i index 5067ba7..098f1c0 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 => 38; +use Test::More tests => 42; use Time::HiRes qw/sleep/; use X11::GUITest qw/:ALL/; @@ -264,6 +264,21 @@ test_scr('feh_lhi_ooo'); feh_stop(); +feh_start(q{}, 'test/bg/transparency'); +test_scr('feh_ibg_default'); +feh_stop(); + +feh_start('--image-bg default', 'test/bg/transparency'); +test_scr('feh_ibg_default'); +feh_stop(); + +feh_start('--image-bg black', 'test/bg/transparency'); +test_scr('feh_ibg_black'); +feh_stop(); + +feh_start('--image-bg white', 'test/bg/transparency'); +test_scr('feh_ibg_white'); +feh_stop(); unlink('test/bg/exact/.tc/in.txt'); rmdir('test/bg/exact/.tc'); diff --git a/test/scr/feh_ibg_black b/test/scr/feh_ibg_black Binary files differnew file mode 100644 index 0000000..04f1364 --- /dev/null +++ b/test/scr/feh_ibg_black diff --git a/test/scr/feh_ibg_default b/test/scr/feh_ibg_default Binary files differnew file mode 100644 index 0000000..d0555fa --- /dev/null +++ b/test/scr/feh_ibg_default diff --git a/test/scr/feh_ibg_white b/test/scr/feh_ibg_white Binary files differnew file mode 100644 index 0000000..70138ff --- /dev/null +++ b/test/scr/feh_ibg_white |