All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class test.zipTest

java.lang.Object
   |
   +----ccl.util.Test
           |
           +----test.zipTest

public class zipTest
extends Test
Self test of zip application.

Version:
$Id: zipTest.java,v 1.3 2000/05/14 16:07:19 clemens Exp clemens $
Author:
Chr. Clemens Lee clemens@kclee.com

Constructor Index

 o zipTest()
Default Test constructor.
 o zipTest(Test)
Default Test constructor.

Method Index

 o _createTwoFiles(String)
Create two files to use for zipping.
 o _deleteAndGetTestZipFileName()
Get temporary test zip file name.
 o _doIt()
All the tests happen here.
 o _getFileName(String, int)
Get test file name number n.
 o _testDelete()
Test -d option.
 o _testRecurse()
Test -r option.
 o main(String[])
Invoke zip selftest and exit.

Constructors

 o zipTest
 public zipTest()
Default Test constructor.

 o zipTest
 public zipTest(Test pTest_)
Default Test constructor.

Methods

 o _deleteAndGetTestZipFileName
 private String _deleteAndGetTestZipFileName()
Get temporary test zip file name. Deletes also a file in case it exists already.

 o _getFileName
 private String _getFileName(String sDir_,
                             int number_)
Get test file name number n.

 o _createTwoFiles
 private void _createTwoFiles(String sDir_) throws Exception
Create two files to use for zipping.

Throws: Exception
gets forwarded to ccl.util.Test parent.
 o _testDelete
 private void _testDelete() throws Exception
Test -d option.

Throws: Exception
gets forwarded to ccl.util.Test parent to count this test as failed.
 o _testRecurse
 private void _testRecurse() throws Exception
Test -r option.

Throws: Exception
gets forwarded to ccl.util.Test parent to count this test as failed.
 o _doIt
 protected void _doIt() throws Exception
All the tests happen here. This gets invoked by the test harness.

Throws: Exception
gets forwarded to ccl.util.Test parent to count this test as failed.
Overrides:
_doIt in class Test
 o main
 public static void main(String asArg_[])
Invoke zip selftest and exit.


All Packages  Class Hierarchy  This Package  Previous  Next  Index