net.sourceforge.pmd.cli
Class BaseCLITest
java.lang.Object
net.sourceforge.pmd.cli.BaseCLITest
public abstract class BaseCLITest
- extends Object
- Author:
- Romain Pelisse
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TEST_OUPUT_DIRECTORY
protected static final String TEST_OUPUT_DIRECTORY
- See Also:
- Constant Field Values
SOURCE_FOLDER
protected static final String SOURCE_FOLDER
- See Also:
- Constant Field Values
originalOut
protected PrintStream originalOut
originalErr
protected PrintStream originalErr
BaseCLITest
public BaseCLITest()
setUp
public static void setUp()
throws Exception
- Throws:
Exception
setup
public void setup()
tearDown
public void tearDown()
createTestOutputFile
protected void createTestOutputFile(String filename)
runTest
protected String runTest(String[] args,
String testname)
runTest
protected String runTest(String[] args,
String testname,
int expectedExitCode)
runPMDWith
protected void runPMDWith(String[] args)
checkStatusCode
protected void checkStatusCode(int expectedExitCode)
getStatusCode
protected int getStatusCode()
Copyright © 2002-2015 InfoEther. All Rights Reserved.