Uses of Class
io.github.ascopes.jct.assertions.DiagnosticKindAssert
Package
Description
AssertJ extensions for testing the results of compilations.
-
Uses of DiagnosticKindAssert in io.github.ascopes.jct.assertions
Modifier and TypeClassDescriptionfinal class
Assertions for an individual diagnostic kind.Modifier and TypeMethodDescriptionstatic DiagnosticKindAssert
JctAssertions.assertThat
(@Nullable Diagnostic.Kind kind) Perform an assertion on a diagnostic kind.static DiagnosticKindAssert
JctAssertions.assertThatKind
(@Nullable Diagnostic.Kind kind) Perform an assertion on a diagnostic kind.DiagnosticKindAssert.isCustomWarning()
Assert that the kind isDiagnostic.Kind.WARNING
.DiagnosticKindAssert.isError()
Assert that the kind isDiagnostic.Kind.ERROR
.DiagnosticKindAssert.isMandatoryWarning()
Assert that the kind isDiagnostic.Kind.MANDATORY_WARNING
.DiagnosticKindAssert.isNote()
Assert that the kind isDiagnostic.Kind.NOTE
.DiagnosticKindAssert.isOther()
Assert that the kind isDiagnostic.Kind.OTHER
.DiagnosticKindAssert.isWarning()
Assert that the kind is eitherDiagnostic.Kind.WARNING
orDiagnostic.Kind.MANDATORY_WARNING
.DiagnosticKindAssert.isWarningOrError()
Assert that the kind isDiagnostic.Kind.ERROR
,Diagnostic.Kind.WARNING
, orDiagnostic.Kind.MANDATORY_WARNING
.TraceDiagnosticAssert.kind()
Get assertions for the kind of the diagnostic.