diff --git a/pmd-core/src/test/java/net/sourceforge/pmd/processor/MultiThreadProcessorTest.java b/pmd-core/src/test/java/net/sourceforge/pmd/lang/impl/MultiThreadProcessorTest.java similarity index 96% rename from pmd-core/src/test/java/net/sourceforge/pmd/processor/MultiThreadProcessorTest.java rename to pmd-core/src/test/java/net/sourceforge/pmd/lang/impl/MultiThreadProcessorTest.java index 0bfc95124c..67bbe52fac 100644 --- a/pmd-core/src/test/java/net/sourceforge/pmd/processor/MultiThreadProcessorTest.java +++ b/pmd-core/src/test/java/net/sourceforge/pmd/lang/impl/MultiThreadProcessorTest.java @@ -2,7 +2,7 @@ * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ -package net.sourceforge.pmd.processor; +package net.sourceforge.pmd.lang.impl; import static net.sourceforge.pmd.util.CollectionUtil.listOf; import static org.junit.jupiter.api.Assertions.assertEquals; @@ -31,6 +31,7 @@ class MultiThreadProcessorTest { PmdAnalysis setupForTest(final String ruleset) { PMDConfiguration configuration = new PMDConfiguration(); configuration.setThreads(2); + configuration.setIgnoreIncrementalAnalysis(true); PmdAnalysis pmd = PmdAnalysis.create(configuration); LanguageVersion lv = DummyLanguageModule.getInstance().getDefaultVersion(); pmd.files().addFile(TextFile.forCharSeq("abc", "file1-violation.dummy", lv)); @@ -47,7 +48,7 @@ class MultiThreadProcessorTest { return pmd; } - // Dysfunctional rules are pruned upstream of the processor. + // TODO: Dysfunctional rules are pruned upstream of the processor. // // @Test // void testRulesDysnfunctionalLog() throws Exception { diff --git a/pmd-core/src/test/resources/rulesets/MultiThreadProcessorTest/basic.xml b/pmd-core/src/test/resources/rulesets/MultiThreadProcessorTest/basic.xml index 71b65b500e..203b57ea47 100644 --- a/pmd-core/src/test/resources/rulesets/MultiThreadProcessorTest/basic.xml +++ b/pmd-core/src/test/resources/rulesets/MultiThreadProcessorTest/basic.xml @@ -6,10 +6,10 @@ Ruleset used by test RuleSetReferenceIdTest - Foo 3 - \ No newline at end of file + diff --git a/pmd-core/src/test/resources/rulesets/MultiThreadProcessorTest/dysfunctional.xml b/pmd-core/src/test/resources/rulesets/MultiThreadProcessorTest/dysfunctional.xml index 7ee4f275f9..fa4b6468b7 100644 --- a/pmd-core/src/test/resources/rulesets/MultiThreadProcessorTest/dysfunctional.xml +++ b/pmd-core/src/test/resources/rulesets/MultiThreadProcessorTest/dysfunctional.xml @@ -6,10 +6,10 @@ Ruleset used by test MultiThreadProcessorTest - Dysfunctional 3 - \ No newline at end of file +