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
-
zipTest()
- Default Test constructor.
-
zipTest(Test)
- Default Test constructor.
-
_createTwoFiles(String)
- Create two files to use for zipping.
-
_deleteAndGetTestZipFileName()
- Get temporary test zip file name.
-
_doIt()
- All the tests happen here.
-
_getFileName(String, int)
- Get test file name number n.
-
_testDelete()
- Test -d option.
-
_testRecurse()
- Test -r option.
-
main(String[])
- Invoke zip selftest and exit.
zipTest
public zipTest()
- Default Test constructor.
zipTest
public zipTest(Test pTest_)
- Default Test constructor.
_deleteAndGetTestZipFileName
private String _deleteAndGetTestZipFileName()
- Get temporary test zip file name. Deletes also a file
in case it exists already.
_getFileName
private String _getFileName(String sDir_,
int number_)
- Get test file name number n.
_createTwoFiles
private void _createTwoFiles(String sDir_) throws Exception
- Create two files to use for zipping.
- Throws: Exception
- gets forwarded to ccl.util.Test
parent.
_testDelete
private void _testDelete() throws Exception
- Test -d option.
- Throws: Exception
- gets forwarded to ccl.util.Test
parent to count this test as
failed.
_testRecurse
private void _testRecurse() throws Exception
- Test -r option.
- Throws: Exception
- gets forwarded to ccl.util.Test
parent to count this test as
failed.
_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
main
public static void main(String asArg_[])
- Invoke zip selftest and exit.
All Packages Class Hierarchy This Package Previous Next Index