less boilerplate by using Test::Kit and -It/lib in Makefile

This commit is contained in:
Michael Stapelberg
2010-04-17 22:49:26 +02:00
parent a2e3bb1cdd
commit 206e1ed041
22 changed files with 36 additions and 131 deletions

View File

@ -4,16 +4,9 @@
# the workspace to be empty).
# TODO: skip it by default?
use Test::More tests => 15;
use Test::Deep;
use i3test tests => 15;
use X11::XCB qw(:all);
use Data::Dumper;
use Time::HiRes qw(sleep);
use FindBin;
use Digest::SHA1 qw(sha1_base64);
use lib "$FindBin::Bin/lib";
use i3test;
use AnyEvent::I3;
BEGIN {
use_ok('X11::XCB::Connection') or BAIL_OUT('Cannot load X11::XCB::Connection');