Update integration test

The plain text language of the designer is
not registered through LanguageRegistry anymore
since pmd-ui 6.21.0, so that regular PMD
cannot access it
This commit is contained in:
Clément Fournier
2020-01-24 19:44:11 +01:00
parent 18f124f6e5
commit 988ee1c9da

View File

@ -65,8 +65,7 @@ public class BinaryDistributionIT extends AbstractBinaryDistributionTest {
ExecutionResult result;
result = PMDExecutor.runPMD(tempDir, "-h");
// note: the language "text" is provided by pmd-designer
result.assertExecutionResult(0, "apex, ecmascript, java, jsp, modelica, plsql, pom, scala, text, vf, vm, wsdl, xml, xsl");
result.assertExecutionResult(0, "apex, ecmascript, java, jsp, modelica, plsql, pom, scala, vf, vm, wsdl, xml, xsl");
result = PMDExecutor.runPMDRules(tempDir, srcDir, "src/test/resources/rulesets/sample-ruleset.xml");
result.assertExecutionResult(4, "", "JumbledIncrementer.java:8:");