GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore: Fix pmd test setup (#6728) · pmd/pmd@fe99e85

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • pmd-apex/src/test/java/net/sourceforge/pmd/lang/apex/rule/bestpractices
    • ApexUnitTestClassShouldHaveRunAsTest.java
  • pmd-core/src/test/java/net/sourceforge/pmd/renderers
    • RenderersTestSuite.java
  • pmd-java/src/test/java/net/sourceforge/pmd/lang/java
    • ast
      • AllJavaAstTreeDumpTestSuite.java
    • rule
      • AllDataflowRuleTestSuite.java
      • AllDataflowRuleTests.java
      • bestpractices
        • ExhaustiveSwitchHasDefaultTest.java
        • UnusedAssignmentTest.java
      • codestyle
        • LocalVariableCouldBeFinalTest.java
      • design
        • AvoidThrowingNullPointerExceptionTest.java
        • ImmutableFieldTest.java
        • InvalidJavaBeanTest.java
        • LawOfDemeterTest.java
        • SingularFieldTest.java
      • errorprone
        • ImplicitSwitchFallThroughTest.java
        • InvalidLogMessageFormatTest.java
      • multithreading
        • OverridingThreadRunTest.java
  • pmd-plsql/src/test/java/net/sourceforge/pmd/lang/plsql/ast
    • AllPlsqlAstTreeDumpTestSuite.java
  • pom.xml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎pmd-apex/src/test/java/net/sourceforge/pmd/lang/apex/rule/bestpractices/ApexUnitTestClassShouldHaveRunAsTest.java‎

Copy file name to clipboardExpand all lines: pmd-apex/src/test/java/net/sourceforge/pmd/lang/apex/rule/bestpractices/ApexUnitTestClassShouldHaveRunAsTest.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66

77
import net.sourceforge.pmd.test.PmdRuleTst;
88

9-
public class ApexUnitTestClassShouldHaveRunAsTest extends PmdRuleTst {
9+
class ApexUnitTestClassShouldHaveRunAsTest extends PmdRuleTst {
1010
// no additional unit tests
1111
}
Collapse file

‎…eforge/pmd/renderers/RenderersTests.java‎ ‎…ge/pmd/renderers/RenderersTestSuite.java‎pmd-core/src/test/java/net/sourceforge/pmd/renderers/RenderersTests.java renamed to pmd-core/src/test/java/net/sourceforge/pmd/renderers/RenderersTestSuite.java pmd-core/src/test/java/net/sourceforge/pmd/renderers/RenderersTests.java renamed to pmd-core/src/test/java/net/sourceforge/pmd/renderers/RenderersTestSuite.java

Copy file name to clipboardExpand all lines: pmd-core/src/test/java/net/sourceforge/pmd/renderers/RenderersTestSuite.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@
3030
XSLTRendererTest.class,
3131
YAHTMLRendererTest.class
3232
})
33-
class RenderersTests {
33+
class RenderersTestSuite {
3434
}
Collapse file

‎…ang/java/ast/AllJavaAstTreeDumpTest.java‎ ‎…ava/ast/AllJavaAstTreeDumpTestSuite.java‎pmd-java/src/test/java/net/sourceforge/pmd/lang/java/ast/AllJavaAstTreeDumpTest.java renamed to pmd-java/src/test/java/net/sourceforge/pmd/lang/java/ast/AllJavaAstTreeDumpTestSuite.java pmd-java/src/test/java/net/sourceforge/pmd/lang/java/ast/AllJavaAstTreeDumpTest.java renamed to pmd-java/src/test/java/net/sourceforge/pmd/lang/java/ast/AllJavaAstTreeDumpTestSuite.java

Copy file name to clipboardExpand all lines: pmd-java/src/test/java/net/sourceforge/pmd/lang/java/ast/AllJavaAstTreeDumpTestSuite.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@
2525
Java26TreeDumpTest.class,
2626
Java26PreviewTreeDumpTest.class
2727
})
28-
class AllJavaAstTreeDumpTest {
28+
class AllJavaAstTreeDumpTestSuite {
2929

3030
}
Collapse file

‎pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/AllDataflowRuleTestSuite.java‎

Copy file name to clipboard
+19Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/*
2+
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
3+
*/
4+
5+
package net.sourceforge.pmd.lang.java.rule;
6+
7+
8+
import org.junit.platform.suite.api.IncludeTags;
9+
import org.junit.platform.suite.api.SelectPackages;
10+
import org.junit.platform.suite.api.Suite;
11+
12+
@Suite
13+
@SelectPackages("net.sourceforge.pmd.lang.java.rule")
14+
@IncludeTags(AllDataflowRuleTestSuite.TAG)
15+
public class AllDataflowRuleTestSuite {
16+
public static final String TAG = "dataflow";
17+
18+
private AllDataflowRuleTestSuite() {}
19+
}
Collapse file

‎pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/AllDataflowRuleTests.java‎

Copy file name to clipboardExpand all lines: pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/AllDataflowRuleTests.java
-32Lines changed: 0 additions & 32 deletions
This file was deleted.
Collapse file

‎pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/bestpractices/ExhaustiveSwitchHasDefaultTest.java‎

Copy file name to clipboardExpand all lines: pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/bestpractices/ExhaustiveSwitchHasDefaultTest.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66

77
import net.sourceforge.pmd.test.PmdRuleTst;
88

9-
public class ExhaustiveSwitchHasDefaultTest extends PmdRuleTst {
9+
class ExhaustiveSwitchHasDefaultTest extends PmdRuleTst {
1010
// no additional unit tests
1111
}
Collapse file

‎pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/bestpractices/UnusedAssignmentTest.java‎

Copy file name to clipboardExpand all lines: pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/bestpractices/UnusedAssignmentTest.java
+5-1Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@
44

55
package net.sourceforge.pmd.lang.java.rule.bestpractices;
66

7+
import org.junit.jupiter.api.Tag;
8+
9+
import net.sourceforge.pmd.lang.java.rule.AllDataflowRuleTestSuite;
710
import net.sourceforge.pmd.test.PmdRuleTst;
811

9-
public class UnusedAssignmentTest extends PmdRuleTst {
12+
@Tag(AllDataflowRuleTestSuite.TAG)
13+
class UnusedAssignmentTest extends PmdRuleTst {
1014
// no additional unit tests
1115
}
Collapse file

‎pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/codestyle/LocalVariableCouldBeFinalTest.java‎

Copy file name to clipboardExpand all lines: pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/codestyle/LocalVariableCouldBeFinalTest.java
+5-1Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@
44

55
package net.sourceforge.pmd.lang.java.rule.codestyle;
66

7+
import org.junit.jupiter.api.Tag;
8+
9+
import net.sourceforge.pmd.lang.java.rule.AllDataflowRuleTestSuite;
710
import net.sourceforge.pmd.test.PmdRuleTst;
811

9-
public class LocalVariableCouldBeFinalTest extends PmdRuleTst {
12+
@Tag(AllDataflowRuleTestSuite.TAG)
13+
class LocalVariableCouldBeFinalTest extends PmdRuleTst {
1014
// no additional unit tests
1115
}
Collapse file

‎pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/design/AvoidThrowingNullPointerExceptionTest.java‎

Copy file name to clipboardExpand all lines: pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/design/AvoidThrowingNullPointerExceptionTest.java
+5-1Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@
44

55
package net.sourceforge.pmd.lang.java.rule.design;
66

7+
import org.junit.jupiter.api.Tag;
8+
9+
import net.sourceforge.pmd.lang.java.rule.AllDataflowRuleTestSuite;
710
import net.sourceforge.pmd.test.PmdRuleTst;
811

9-
public class AvoidThrowingNullPointerExceptionTest extends PmdRuleTst {
12+
@Tag(AllDataflowRuleTestSuite.TAG)
13+
class AvoidThrowingNullPointerExceptionTest extends PmdRuleTst {
1014
// no additional unit tests
1115
}
Collapse file

‎pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/design/ImmutableFieldTest.java‎

Copy file name to clipboardExpand all lines: pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/design/ImmutableFieldTest.java
+5-1Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@
44

55
package net.sourceforge.pmd.lang.java.rule.design;
66

7+
import org.junit.jupiter.api.Tag;
8+
9+
import net.sourceforge.pmd.lang.java.rule.AllDataflowRuleTestSuite;
710
import net.sourceforge.pmd.test.PmdRuleTst;
811

9-
public class ImmutableFieldTest extends PmdRuleTst {
12+
@Tag(AllDataflowRuleTestSuite.TAG)
13+
class ImmutableFieldTest extends PmdRuleTst {
1014
// no additional unit tests
1115
}

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.