KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > de > schlichtherle > io > RandomDataTarGZipTest


1 /*
2  * RandomDataTarGZipTest.java
3  *
4  * Created on 14. Oktober 2005, 16:49
5  */

6 /*
7  * Copyright 2005 Schlichtherle IT Services
8  *
9  * Licensed under the Apache License, Version 2.0 (the "License");
10  * you may not use this file except in compliance with the License.
11  * You may obtain a copy of the License at
12  *
13  * http://www.apache.org/licenses/LICENSE-2.0
14  *
15  * Unless required by applicable law or agreed to in writing, software
16  * distributed under the License is distributed on an "AS IS" BASIS,
17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  * See the License for the specific language governing permissions and
19  * limitations under the License.
20  */

21
22 package de.schlichtherle.io;
23
24 import junit.framework.*;
25
26 /**
27  * Tests the TrueZIP API in de.schlichtherle.io with the TAR.GZ driver.
28  *
29  * @author Christian Schlichtherle
30  * @version @version@
31  * @since TrueZIP 6.0
32  */

33 public class RandomDataTarGZipTest extends FileTestBase {
34
35     public static Test suite() throws Exception JavaDoc {
36         TestSuite suite = new TestSuite(RandomDataTarGZipTest.class);
37         /*TestSuite suite = new TestSuite();
38         suite.addTest(new RandomDataTarGZipTest("testBusyFileInputStream"));
39         suite.addTest(new RandomDataTarGZipTest("testFalsePositives"));*/

40         
41         return suite;
42     }
43     
44     /**
45      * Creates a new instance of RandomDataZip32Test
46      */

47     public RandomDataTarGZipTest(String JavaDoc testName) {
48         super(testName);
49     }
50
51     protected void setUp() throws Exception JavaDoc {
52         suffix = ".tar.gz";
53         File.setDefaultArchiveDetector(new DefaultArchiveDetector("tar.gz"));
54
55         super.setUp();
56     }
57 }
58
Popular Tags