summaryrefslogtreecommitdiff
path: root/ext/Compress/Zlib/t/12any-deflate.t
diff options
context:
space:
mode:
Diffstat (limited to 'ext/Compress/Zlib/t/12any-deflate.t')
-rw-r--r--ext/Compress/Zlib/t/12any-deflate.t29
1 files changed, 29 insertions, 0 deletions
diff --git a/ext/Compress/Zlib/t/12any-deflate.t b/ext/Compress/Zlib/t/12any-deflate.t
new file mode 100644
index 0000000000..a97e96d630
--- /dev/null
+++ b/ext/Compress/Zlib/t/12any-deflate.t
@@ -0,0 +1,29 @@
+BEGIN {
+ if ($ENV{PERL_CORE}) {
+ chdir 't' if -d 't';
+ @INC = ("../lib", "lib/compress");
+ }
+}
+
+use lib 't';
+use strict;
+use warnings;
+
+
+use IO::Uncompress::AnyInflate qw($AnyInflateError) ;
+
+use IO::Compress::Deflate qw($DeflateError) ;
+use IO::Uncompress::Inflate qw($InflateError) ;
+
+sub getClass
+{
+ 'AnyInflate';
+}
+
+sub identify
+{
+ 'IO::Compress::Deflate';
+}
+
+require "any.pl" ;
+run();