Methods Summary |
---|
public void | setUp()
configureProject("src/etc/testcases/filters/head-tail.xml");
|
public void | tearDown()
executeTarget("cleanup");
|
public void | testFilterReaderHeadLinesSkip()
executeTarget("testFilterReaderHeadLinesSkip");
File expected = FILE_UTILS.resolveFile(getProject().getBaseDir(),
"expected/head-tail.headLinesSkip.test");
File result = FILE_UTILS.resolveFile(getProject().getBaseDir(),
"result/head-tail.filterReaderHeadLinesSkip.test");
assertTrue("testFilterReaderHeadLinesSkip: Result not like expected",
FILE_UTILS.contentEquals(expected, result));
|
public void | testFilterReaderTailLinesSkip()
executeTarget("testFilterReaderTailLinesSkip");
File expected = FILE_UTILS.resolveFile(getProject().getBaseDir(),
"expected/head-tail.tailLinesSkip.test");
File result = FILE_UTILS.resolveFile(getProject().getBaseDir(),
"result/head-tail.filterReaderTailLinesSkip.test");
assertTrue("testFilterReaderTailLinesSkip: Result not like expected",
FILE_UTILS.contentEquals(expected, result));
|
public void | testHead()
executeTarget("testHead");
File expected = FILE_UTILS.resolveFile(getProject().getBaseDir(), "expected/head-tail.head.test");
File result = FILE_UTILS.resolveFile(getProject().getBaseDir(), "result/head-tail.head.test");
assertTrue("testHead: Result not like expected", FILE_UTILS.contentEquals(expected, result));
|
public void | testHeadLines()
executeTarget("testHeadLines");
File expected = FILE_UTILS.resolveFile(getProject().getBaseDir(), "expected/head-tail.headLines.test");
File result = FILE_UTILS.resolveFile(getProject().getBaseDir(), "result/head-tail.headLines.test");
assertTrue("testHeadLines: Result not like expected", FILE_UTILS.contentEquals(expected, result));
|
public void | testHeadLinesSkip()
executeTarget("testHeadLinesSkip");
File expected = FILE_UTILS.resolveFile(getProject().getBaseDir(),"expected/head-tail.headLinesSkip.test");
File result = FILE_UTILS.resolveFile(getProject().getBaseDir(),"result/head-tail.headLinesSkip.test");
assertTrue("testHeadLinesSkip: Result not like expected", FILE_UTILS.contentEquals(expected, result));
|
public void | testHeadSkip()
executeTarget("testHeadSkip");
File expected = FILE_UTILS.resolveFile(getProject().getBaseDir(),"expected/head-tail.headSkip.test");
File result = FILE_UTILS.resolveFile(getProject().getBaseDir(),"result/head-tail.headSkip.test");
assertTrue("testHeadSkip: Result not like expected", FILE_UTILS.contentEquals(expected, result));
|
public void | testHeadTail()
executeTarget("testHeadTail");
File expected = FILE_UTILS.resolveFile(getProject().getBaseDir(),"expected/head-tail.headtail.test");
File result = FILE_UTILS.resolveFile(getProject().getBaseDir(),"result/head-tail.headtail.test");
assertTrue("testHeadTail: Result not like expected", FILE_UTILS.contentEquals(expected, result));
|
public void | testTail()
executeTarget("testTail");
File expected = FILE_UTILS.resolveFile(getProject().getBaseDir(),"expected/head-tail.tail.test");
File result = FILE_UTILS.resolveFile(getProject().getBaseDir(),"result/head-tail.tail.test");
assertTrue("testTail: Result not like expected", FILE_UTILS.contentEquals(expected, result));
|
public void | testTailLines()
executeTarget("testTailLines");
File expected = FILE_UTILS.resolveFile(getProject().getBaseDir(),"expected/head-tail.tailLines.test");
File result = FILE_UTILS.resolveFile(getProject().getBaseDir(),"result/head-tail.tailLines.test");
assertTrue("testTailLines: Result not like expected", FILE_UTILS.contentEquals(expected, result));
|
public void | testTailLinesSkip()
executeTarget("testTailLinesSkip");
File expected = FILE_UTILS.resolveFile(getProject().getBaseDir(),"expected/head-tail.tailLinesSkip.test");
File result = FILE_UTILS.resolveFile(getProject().getBaseDir(),"result/head-tail.tailLinesSkip.test");
assertTrue("testTailLinesSkip: Result not like expected", FILE_UTILS.contentEquals(expected, result));
|
public void | testTailSkip()
executeTarget("testTailSkip");
File expected = FILE_UTILS.resolveFile(getProject().getBaseDir(),"expected/head-tail.tailSkip.test");
File result = FILE_UTILS.resolveFile(getProject().getBaseDir(),"result/head-tail.tailSkip.test");
assertTrue("testTailSkip: Result not like expected", FILE_UTILS.contentEquals(expected, result));
|