Package net.sourceforge.pmd.cli
Class BaseCPDCLITest
- java.lang.Object
-
- net.sourceforge.pmd.cli.BaseCPDCLITest
-
@Deprecated public abstract class BaseCPDCLITest extends Object
Deprecated.This is deprecated for removal without replacement. CLI tests should be done in pmd-core only (and in PMD7 in pmd-cli). Individual language modules shouldn't need to test the CLI integration logic again. Instead, the individual language modules should test their functionality as unit tests.
-
-
Constructor Summary
Constructors Constructor Description BaseCPDCLITest()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetOutput()Deprecated.UserunTest(CPD.StatusCode, String...)which returns the output.protected voidrunCPD(String... args)Deprecated.protected StringrunTest(CPD.StatusCode expectedStatusCode, String... args)Deprecated.voidsetup()Deprecated.voidteardown()Deprecated.
-
-
-
Method Detail
-
setup
public void setup() throws UnsupportedEncodingExceptionDeprecated.- Throws:
UnsupportedEncodingException
-
teardown
public void teardown()
Deprecated.
-
getOutput
@Deprecated public final String getOutput()
Deprecated.UserunTest(CPD.StatusCode, String...)which returns the output.
-
runCPD
@Deprecated protected void runCPD(String... args)
Deprecated.
-
runTest
protected String runTest(CPD.StatusCode expectedStatusCode, String... args)
Deprecated.
-
-