source: trunk/soft/ObsData/t/OA-01.t @ 154

Last change on this file since 154 was 154, checked in by thauvin, 18 years ago
  • add Zip file support
  • Property cvs2svn:cvs-rev set to 1.4
  • Property svn:keywords set to Author Date Id Revision
  • Property svn:mime-type set to text/x-troff
File size: 376 bytes
Line 
1# $Id$
2
3use Test::More tests => 10;
4
5foreach (qw(
6        ObsData::Archive
7        ObsData::Archive::Compressed
8        ObsData::Archive::Tar
9        ObsData::Archive::Zip
10        )) {
11    use_ok($_);
12    can_ok($_, qw(ls extract seterror error));
13}
14
15my $oa = ObsData::Archive->new();
16ok(!$oa, "return an error on wrong call");
17ok(ObsData::Archive->error(), "Can get error");
Note: See TracBrowser for help on using the repository browser.