tests: rename files (00x-*.t is basic stuff, >=100-*.t are tests using IPC)

This commit is contained in:
Michael Stapelberg
2011-10-08 14:38:50 +01:00
parent c48a092e24
commit ae1ab9eb27
74 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,24 @@
#!perl
# vim:ts=4:sw=4:expandtab
#
# Tests if WM_STATE is WM_STATE_NORMAL when mapped and WM_STATE_WITHDRAWN when
# unmapped.
#
use X11::XCB qw(:all);
use i3test;
my $x = X11::XCB::Connection->new;
my $window = open_window($x);
sync_with_i3($x);
is($window->state, ICCCM_WM_STATE_NORMAL, 'WM_STATE normal');
$window->unmap;
wait_for_unmap $x;
is($window->state, ICCCM_WM_STATE_WITHDRAWN, 'WM_STATE withdrawn');
done_testing;