cryptix.test
Class TestScar
- Zoran Rajic
protected void | engineTest() - Test that is run by distribution to make sure everything is OK!
It writes some test files, makes Scar archive from them, unarchives files
and compares results.
|
String | localReader(File toRead)
|
void | localWriter(File toWrite, Object contents)
|
static void | main(argv[] )
|
commandline , commandline , describeOptions , describeUsage , engineTest , error , error , error , fail , getErrors , getExpectedPasses , getFailures , getName , getPasses , getSkipped , init , isGuiEnabled , isOverallPass , isVerbose , parseOption , parseOptions , pass , passIf , report , setExpectedPasses , setGuiEnabled , setName , setOutput , setVerbose , skip , test , waitForExit |
DEBUG
public static boolean DEBUG
inParams
public static final String[] inParams
outParams
public static final String[] outParams
tFile_1
public static final String tFile_1
tFile_2
public static final String tFile_2
tFile_3
public static final String tFile_3
testData_1
public static final String testData_1
testData_2
public static final String testData_2
testData_3
public static final char[] testData_3
tmpArch
public static final String tmpArch
tmpDirS_in
public static final String tmpDirS_in
tmpDirS_out
public static final String tmpDirS_out
engineTest
protected void engineTest()
throws Exception
Test that is run by distribution to make sure everything is OK!
It writes some test files, makes Scar archive from them, unarchives files
and compares results.
- engineTest in interface BaseTest
localReader
public String localReader(File toRead)
throws IOException
toRead
- File to be read from
- Contents of a file converted into String
localWriter
public void localWriter(File toWrite,
Object contents)
throws IOException
toWrite
- File to be writtencontents
- String or char[] contents to be written into file
main
public static void main(argv[] )