|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ccl.util.Test | +--ccl.util.test.FileUtilTest
Tests for ccl.util.FileUtil.
Constructor Summary | |
FileUtilTest()
Default test constructor. |
|
FileUtilTest(Test pTest_)
Standard test constructor. |
Method Summary | |
protected void |
_doIt()
Inherit this method to do your test inside of it. |
static void |
main(java.lang.String[] args)
|
void |
testCopyWithOffset()
Checks if method 'copy' with an offset works. |
void |
testReadFile()
Checks that method 'readFile' throws a file not found exception containing in its message the file name which could not be found. |
void |
testWriteTempFile()
Tests method 'writeTempFile'. |
Methods inherited from class ccl.util.Test |
_enterSubTest, _exitSubTest, _getValue, _increment, _setTests, _showLiveSignals, assert, Assert, assert, Assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertTrue, assertTrue, assertTrue, bug, bugIf, bugIf, bugIf, fail, fail, getBugs, getComment, getGlobalTests, getLocalTests, getName, getTestClassDirectory, getTestDirectory, getTestName, getTestName, getValue, initialize, isTest, isTiming, isVerbose, printResult, printResult, redirectStandardStreams, run, setBug, setParentTest, setTests, setTiming, setValue, setVerbose, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FileUtilTest()
public FileUtilTest(Test pTest_)
Method Detail |
public void testReadFile() throws java.io.IOException
java.io.IOException
public void testCopyWithOffset() throws java.lang.Exception
java.lang.Exception
public void testWriteTempFile() throws java.lang.Exception
java.lang.Exception
protected void _doIt() throws java.lang.Exception
Test
_doIt
in class Test
java.lang.Exception
- Whatever can go wrong.public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |