]> git.donarmstrong.com Git - deb_pkgs/libhtml-calendarmonth-perl.git/blobdiff - t/02_timelocal.t
Imported Upstream version 2.04
[deb_pkgs/libhtml-calendarmonth-perl.git] / t / 02_timelocal.t
diff --git a/t/02_timelocal.t b/t/02_timelocal.t
new file mode 100644 (file)
index 0000000..4611847
--- /dev/null
@@ -0,0 +1,23 @@
+#!/usr/bin/perl
+
+use strict;
+use FindBin;
+use lib $FindBin::RealBin;
+
+use testload;
+
+my($test_count, $method);
+BEGIN {
+  $method     = 'Time::Local';
+  $test_count = bulk_count() + odd_count() + 2;
+}
+
+use Test::More tests => $test_count;
+
+SKIP: {
+  eval "use $method";
+  skip("$method not installed", $test_count) if $@;
+  check_datetool($method);
+  check_bulk_with_datetool($method);
+  check_odd_with_datetool($method);
+}