Uses of Class
io.github.ascopes.jct.assertions.TraceDiagnosticListAssert
Packages that use TraceDiagnosticListAssert
Package
Description
Assertions to perform on the result of a compilation.
-
Uses of TraceDiagnosticListAssert in io.github.ascopes.jct.assertions
Methods in io.github.ascopes.jct.assertions that return TraceDiagnosticListAssertModifier and TypeMethodDescriptionstatic TraceDiagnosticListAssertJctAssertions.assertThatDiagnostics(List<? extends TraceDiagnostic<? extends JavaFileObject>> diagnostics) Perform an assertion on a list of diagnostics.TraceDiagnosticListAssert.customWarnings()Get aTraceDiagnosticListAssertacross all diagnostics that have theDiagnostic.Kind.WARNINGkind.JctCompilationAssert.diagnostics()Get assertions for diagnostics.TraceDiagnosticListAssert.errors()Get aTraceDiagnosticListAssertacross all diagnostics that have theDiagnostic.Kind.ERRORkind.TraceDiagnosticListAssert.excludingKinds(Iterable<Diagnostic.Kind> kinds) Get aTraceDiagnosticListAssertthat contains diagnostics corresponding to none of the givenkinds.TraceDiagnosticListAssert.excludingKinds(Diagnostic.Kind kind, Diagnostic.Kind... moreKinds) Get aTraceDiagnosticListAssertthat contains diagnostics corresponding to none of the givenkinds.TraceDiagnosticListAssert.filteringBy(Predicate<TraceDiagnostic<? extends JavaFileObject>> predicate) Filter diagnostics by a given predicate and return an assertion object that applies to all diagnostics that match that predicate.TraceDiagnosticListAssert.filteringByKinds(Iterable<Diagnostic.Kind> kinds) Get aTraceDiagnosticListAssertthat contains diagnostics corresponding to any of the givenkinds.TraceDiagnosticListAssert.filteringByKinds(Diagnostic.Kind kind, Diagnostic.Kind... moreKinds) Get aTraceDiagnosticListAssertthat contains diagnostics corresponding to any of the givenkinds.TraceDiagnosticListAssert.hasNoCustomWarnings()Assert that this list has noDiagnostic.Kind.WARNINGdiagnostics.TraceDiagnosticListAssert.hasNoDiagnosticsOfKinds(Iterable<Diagnostic.Kind> kinds) Assert that this list has no diagnostics matching any of the given kinds.TraceDiagnosticListAssert.hasNoDiagnosticsOfKinds(Diagnostic.Kind kind, Diagnostic.Kind... moreKinds) Assert that this list has no diagnostics matching any of the given kinds.TraceDiagnosticListAssert.hasNoErrors()Assert that this list has noDiagnostic.Kind.ERRORdiagnostics.TraceDiagnosticListAssert.hasNoErrorsOrWarnings()Assert that this list has noDiagnostic.Kind.ERROR,Diagnostic.Kind.WARNING, orDiagnostic.Kind.MANDATORY_WARNINGdiagnostics.TraceDiagnosticListAssert.hasNoMandatoryWarnings()Assert that this list has noDiagnostic.Kind.MANDATORY_WARNINGdiagnostics.TraceDiagnosticListAssert.hasNoNotes()Assert that this list has noDiagnostic.Kind.NOTEdiagnostics.TraceDiagnosticListAssert.hasNoOtherDiagnostics()Assert that this list has noDiagnostic.Kind.OTHERdiagnostics.TraceDiagnosticListAssert.hasNoWarnings()Assert that this list has noDiagnostic.Kind.WARNINGorDiagnostic.Kind.MANDATORY_WARNINGdiagnostics.TraceDiagnosticListAssert.mandatoryWarnings()Get aTraceDiagnosticListAssertacross all diagnostics that have theDiagnostic.Kind.MANDATORY_WARNINGkind.protected TraceDiagnosticListAssertTraceDiagnosticListAssert.newAbstractIterableAssert(Iterable<? extends TraceDiagnostic<? extends JavaFileObject>> iterable) TraceDiagnosticListAssert.notes()Get aTraceDiagnosticListAssertacross all diagnostics that have theDiagnostic.Kind.NOTEkind.TraceDiagnosticListAssert.others()Get aTraceDiagnosticListAssertacross all diagnostics that have theDiagnostic.Kind.OTHERkind.TraceDiagnosticListAssert.warnings()Get aTraceDiagnosticListAssertacross all diagnostics that have theDiagnostic.Kind.WARNINGorDiagnostic.Kind.MANDATORY_WARNINGkind.