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

@ -1,12 +1,22 @@
package i3test;
# vim:ts=4:sw=4:expandtab
use Test::Kit qw(
Test::Exception
Data::Dumper
AnyEvent::I3
),
'Test::Deep' => {
exclude => [ qw(all) ],
};
use File::Temp qw(tmpnam);
use X11::XCB::Rect;
use X11::XCB::Window;
use X11::XCB qw(:all);
use AnyEvent::I3;
use Exporter qw(import);
# Test::Kit already uses Exporter
#use Exporter qw(import);
use base 'Exporter';
our @EXPORT = qw(get_workspace_names get_unused_workspace get_ws_content);