Uploaded image for project: 'SonarJava'
  1. SonarJava
  2. SONARJAVA-3182

JavaCheckVerifier.verifyNoIssue() should fail in case of Parsing error

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0
    • Component/s: Rules
    • Labels:
      None

      Description

      Current implementation of JavaCheckVerifier.verifyNoIssue() does not fail (tests are passing) when the file under test fails parsing, which is not a valid use case, as it allow file which are in fact not analyzed to pass the test.

        Attachments

          Activity

            People

            • Assignee:
              michael.gumowski Michael Gumowski
              Reporter:
              michael.gumowski Michael Gumowski
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: