diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2010-06-18 13:06:04 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2010-06-18 13:06:04 +0200 |
commit | 2039632c52562e407575936ca0ea2b4b430ef024 (patch) | |
tree | 81d28af1220eb2b4e21665d9f32cd6901ae76c2a /test | |
parent | c423cd2c5a8bed07f2d48f8378a6b8695ad53c9b (diff) |
Tests for --geometry
Diffstat (limited to 'test')
-rwxr-xr-x | test/feh.i | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -4,7 +4,7 @@ use warnings; use 5.010; use Cwd; -use Test::More tests => 58; +use Test::More tests => 60; use Time::HiRes qw/sleep/; use X11::GUITest qw/:ALL/; @@ -278,3 +278,9 @@ $win = feh_start('--filelist test/filelist', q{}); test_win_title($win, "feh [1 of 3] - ${pwd}/test/ok.gif"); feh_stop(); unlink('test/filelist'); + +$win = feh_start('--geometry 423x232'); +(undef, undef, $width, $height) = GetWindowPos($win); +is($width, 423, '--geometry: correct width'); +is($height, 232, '--geometry: correct height'); +feh_stop(); |