projects
/
sdlgit/SDL_perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
260ff6c
)
Added graphical test for app
Kartik Thakore [Sun, 27 Sep 2009 14:02:56 +0000 (10:02 -0400)]
t/apppm.t
patch
|
blob
|
blame
|
history
diff --git
a/t/apppm.t
b/t/apppm.t
index
c577511
..
e583db0
100644
(file)
--- a/
t/apppm.t
+++ b/
t/apppm.t
@@
-34,6
+34,7
@@
BEGIN {
}
use strict;
+use SDL;
use SDL::Config;
use Test::More;
@@
-56,3
+57,9
@@
can_ok ('SDL::App', qw/
loop
sync
attribute /);
+
+my $app = SDL::App->new(-title => "Test", -width => 640, -height => 480, -init => SDL_INIT_VIDEO);
+
+ $app->sync;
+ sleep(1);
+