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 String
getOutput()
Deprecated.UserunTest(CPD.StatusCode, String...)
which returns the output.protected void
runCPD(String... args)
Deprecated.protected String
runTest(CPD.StatusCode expectedStatusCode, String... args)
Deprecated.void
setup()
Deprecated.void
teardown()
Deprecated.
-
-
-
Method Detail
-
setup
public void setup() throws UnsupportedEncodingException
Deprecated.- 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.
-
-