KickJava   Java API By Example, From Geeks To Geeks.

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


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

6 /*
7  * Copyright 2005-2006 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 driver.
28  *
29  * @author Christian Schlichtherle
30  * @version @version@
31  * @since TrueZIP 6.0
32  */

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

39         
40         return suite;
41     }
42     
43     /**
44      * Creates a new instance of <code>RandomDataZip32Test</code>
45      */

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