Class TestDiagnosticUtilsTest
java.lang.Object
org.checkerframework.framework.test.diagnostics.TestDiagnosticUtilsTest
Tests for
TestDiagnosticUtils.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidTests that square brackets that are not the whole message are not taken as a key.voidTests parsing a diagnostic string with an empty position.voidTests that an error key in parentheses and in square brackets are the same diagnostic.voidTests parsing a diagnostic string with a malformed position (missing comma).
-
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.
-