Class TestDiagnosticUtilsTest

java.lang.Object
org.checkerframework.framework.test.diagnostics.TestDiagnosticUtilsTest

public class TestDiagnosticUtilsTest extends Object
  • Constructor Details

    • TestDiagnosticUtilsTest

      public TestDiagnosticUtilsTest()
  • Method Details

    • testEmptyDiagnosticPosition

      public void testEmptyDiagnosticPosition()
      Tests parsing a diagnostic string with an empty position.
    • testMalformedDiagnosticPosition

      public void testMalformedDiagnosticPosition()
      Tests parsing a diagnostic string with a malformed position (missing comma).
    • testKeyInParenthesesOrBrackets

      public void testKeyInParenthesesOrBrackets()
      Tests that an error key in parentheses and in square brackets are the same diagnostic.
    • testBracketsAroundLintCategory

      public void testBracketsAroundLintCategory()
      Tests that square brackets that are not the whole message are not taken as a key.