KickJava   Java API By Example, From Geeks To Geeks.

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


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 ZIP32 driver.
28  *
29  * @author Christian Schlichtherle
30  * @version @version@
31  */

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

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

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