~ubuntu-branches/ubuntu/utopic/libcommons-compress-java/utopic

« back to all changes in this revision

Viewing changes to src/test/java/org/apache/commons/compress/DetectArchiverTestCase.java

  • Committer: Package Import Robot
  • Author(s): Emmanuel Bourg
  • Date: 2013-11-02 13:55:47 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20131102135547-nhcubj3ae7rv6t13
Tags: 1.6-1
* New upstream release
* Updated Standards-Version to 3.9.5 (no changes)
* Build depend on debhelper >= 9
* Removed the unused debian/orig-tar.sh script

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
import org.apache.commons.compress.archivers.ArchiveException;
27
27
import org.apache.commons.compress.archivers.ArchiveInputStream;
28
28
import org.apache.commons.compress.archivers.ar.ArArchiveInputStream;
 
29
import org.apache.commons.compress.archivers.arj.ArjArchiveInputStream;
29
30
import org.apache.commons.compress.archivers.cpio.CpioArchiveInputStream;
30
31
import org.apache.commons.compress.archivers.tar.TarArchiveInputStream;
31
32
import org.apache.commons.compress.archivers.zip.ZipArchiveInputStream;
73
74
        final ArchiveInputStream cpio = getStreamFor("bla.cpio");
74
75
        assertNotNull(cpio);
75
76
        assertTrue(cpio instanceof CpioArchiveInputStream);
 
77
        
 
78
        final ArchiveInputStream arj = getStreamFor("bla.arj");
 
79
        assertNotNull(arj);
 
80
        assertTrue(arj instanceof ArjArchiveInputStream);
76
81
 
77
82
// Not yet implemented
78
83
//        final ArchiveInputStream tgz = getStreamFor("bla.tgz");