Commit | Line | Data |
8fde61e3 |
1 | #!/usr/bin/perl -w |
2 | # |
3 | # Copyright (C) 2003 Tels |
4 | # Copyright (C) 2004 David J. Goehrig |
d9dfc034 |
5 | # Copyright (C) 2009 Kartik Thakore |
8fde61e3 |
6 | # basic testing of SDL::App |
7 | |
8 | BEGIN { |
b13012a4 |
9 | unshift @INC, 'blib/lib','blib/arch', 'blib/arch/auto/', 'blib/arch/auto/SDL/SFont'; |
8fde61e3 |
10 | } |
11 | |
12 | use strict; |
13 | use SDL::Config; |
14 | |
15 | use Test::More; |
16 | |
17 | plan ( tests => 2 ); |
18 | |
19 | use_ok( 'SDL::App' ); |
20 | |
21 | can_ok ('SDL::App', qw/ |
22 | new |
23 | resize |
24 | title |
25 | delay |
26 | ticks |
27 | error |
28 | warp |
29 | fullscreen |
30 | iconify |
31 | grab_input |
32 | loop |
33 | sync |
34 | attribute /); |