GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — [java] TestClassWithoutTestCases false positive with JUnit5 ParameterizedTest · Issue #2636 · pmd/pmd Closed Labels a:false-positivePMD flags a piece of code that is not problematic Milestone DescriptionAffects PMD Version: 6.10.0 Rule: TestClassWithoutTestCases Description: When a test class is extended from some parent class, the following check is triggered: final class SampleTest extends Object { @ParameterizedTest @ValueSource(ints = {1}) void doesTest(final int num) { Assertions.assertTrue(num > 0); } } Test class which has no parent works fine, but empty class is not producing an error too (probably worth a separate issue). final class SampleTest { } Expected outcome: No error occurs when Activity
MetadataMetadataAssigneesLabelsa:false-positivePMD flags a piece of code that is not problematic TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| 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. |