1 6 21 22 package de.schlichtherle.io; 23 24 import de.schlichtherle.io.archive.tar.TarBZip2Driver; 25 26 import junit.framework.*; 27 28 import org.apache.tools.bzip2.CBZip2OutputStream; 29 30 37 public class RandomDataTarBZip2Test extends FileTestBase { 38 39 public static Test suite() throws Exception { 40 TestSuite suite = new TestSuite(RandomDataTarBZip2Test.class); 41 43 44 return suite; 45 } 46 47 50 public RandomDataTarBZip2Test(String testName) { 51 super(testName); 52 } 53 54 protected void setUp() throws Exception { 55 suffix = ".tar.bz2"; 56 File.setDefaultArchiveDetector(new DefaultArchiveDetector( 61 "tar.bz2", new TarBZip2Driver(1))); 62 63 super.setUp(); 64 } 65 } 66 | Popular Tags |