|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
wt.step.STEPTestCase
wt.step.PackagerTests
Field Summary | |
private File |
_packageFile
|
private static StepPackager |
_packager
|
private File |
_testRoot
|
private File |
_tmpDir
|
private static int |
TEST_FILE_SIZE
|
Fields inherited from class junit.framework.TestCase |
|
Constructor Summary | |
PackagerTests(String name)
|
Method Summary | |
private void |
collectFilenames(File dir,
HashSet set,
int prefixSize)
|
private void |
makeFile(String path)
|
private void |
recursiveDelete(File file)
|
void |
setUp()
|
static junit.framework.Test |
suite()
|
void |
testExtraction()
|
void |
testOption1()
|
void |
testOption2()
|
void |
testOption3()
|
void |
testPackagerOption(boolean includeRootDir,
boolean ignoreDirectories,
String[] expectedResult)
|
void |
testSpecificPackage()
|
Methods inherited from class wt.step.STEPTestCase |
assertSTEPTrue, assertSTEPTrue |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString |
Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final int TEST_FILE_SIZE
private static StepPackager _packager
private File _tmpDir
private File _packageFile
private File _testRoot
Constructor Detail |
public PackagerTests(String name)
Method Detail |
public void setUp()
private void makeFile(String path)
public void testPackagerOption(boolean includeRootDir, boolean ignoreDirectories, String[] expectedResult) throws Exception
Exception
public void testOption1() throws Exception
Exception
public void testOption2() throws Exception
Exception
public void testOption3() throws Exception
Exception
public void testExtraction() throws Exception
Exception
private void collectFilenames(File dir, HashSet set, int prefixSize)
private void recursiveDelete(File file)
public void testSpecificPackage() throws Exception
Exception
public static final junit.framework.Test suite()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |