aboutsummaryrefslogtreecommitdiff
path: root/Perl/t/Import.t
diff options
context:
space:
mode:
authormertz2003-09-23 12:15:15 +0000
committermertz2003-09-23 12:15:15 +0000
commit42d28bc62dee824cd527d798f441902b14bb3728 (patch)
tree6f016c39a51b18fe05f039f6dabf97cd5011604b /Perl/t/Import.t
parentc050da0ad14610b102fc653bb9d21bbaf24d9b13 (diff)
downloadtkzinc-42d28bc62dee824cd527d798f441902b14bb3728.zip
tkzinc-42d28bc62dee824cd527d798f441902b14bb3728.tar.gz
tkzinc-42d28bc62dee824cd527d798f441902b14bb3728.tar.bz2
tkzinc-42d28bc62dee824cd527d798f441902b14bb3728.tar.xz
initial release of some real (very very tiny) tests, as they are working now
without Tk::Zinc being installed
Diffstat (limited to 'Perl/t/Import.t')
-rw-r--r--Perl/t/Import.t30
1 files changed, 30 insertions, 0 deletions
diff --git a/Perl/t/Import.t b/Perl/t/Import.t
new file mode 100644
index 0000000..862904c
--- /dev/null
+++ b/Perl/t/Import.t
@@ -0,0 +1,30 @@
+#!/usr/bin/perl -w
+
+#
+# $Id: Import.t,v 1.1 2003-09-23 12:15:15 mertz Exp $
+# Author: Christophe Mertz
+#
+
+# testing all the import
+
+BEGIN {
+ if (!eval q{
+ use Test::More qw(no_plan);
+ 1;
+ }) {
+ print "# tests only work properly with installed Test::More module\n";
+ print "1..1\n";
+ print "ok 1\n";
+ exit;
+ }
+}
+
+require_ok( 'Tk::Zinc' );
+require_ok( 'Tk::Zinc::Debug' );
+require_ok( 'Tk::Zinc::Trace' );
+# require_ok( 'Tk::Zinc::TraceErrors' ); # incompatible with the previous one
+# we do not test the previous, as it should be equivalent!
+require_ok( 'Tk::Zinc::Graphics' );
+require_ok( 'Tk::Zinc::Logo' );
+require_ok( 'Tk::Zinc::Text' );
+diag("############## all imports");