Fixed the pod path in archive
[sdlgit/SDL_perl.git] / t / apppm.t
index 19d9f12..e583db0 100644 (file)
--- a/t/apppm.t
+++ b/t/apppm.t
@@ -2,14 +2,39 @@
 #
 # Copyright (C) 2003 Tels
 # Copyright (C) 2004 David J. Goehrig
-# Copyright (C) 2009 Kartik Thakore
+#
+# ------------------------------------------------------------------------------
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+# 
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+# 
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+#
+# ------------------------------------------------------------------------------
+#
+# Please feel free to send questions, suggestions or improvements to:
+#
+#      David J. Goehrig
+#      dgoehrig\@cpan.org
+#
+#
 # basic testing of SDL::App
 
 BEGIN {
-       unshift @INC, 'blib/lib','blib/arch', 'blib/arch/auto/src', 'blib/arch/auto/src/SDL/SFont';
+       unshift @INC, 'blib/lib','blib/arch';
 }
 
 use strict;
+use SDL;
 use SDL::Config;
 
 use Test::More;
@@ -32,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);
+