Class ServerErrorsAssert

java.lang.Object
org.assertj.core.api.AbstractAssert<ServerErrorsAssert,@Nullable ServerErrorsHandle>
nl.pim16aap2.lightkeeper.framework.assertions.ServerErrorsAssert
All Implemented Interfaces:
org.assertj.core.api.Assert<ServerErrorsAssert,ServerErrorsHandle>, org.assertj.core.api.Descriptable<ServerErrorsAssert>, org.assertj.core.api.ExtensionPoints<ServerErrorsAssert,ServerErrorsHandle>

public final class ServerErrorsAssert extends org.assertj.core.api.AbstractAssert<ServerErrorsAssert,@Nullable ServerErrorsHandle>
Non-consuming assertions over live structured error and warning observations.
  • Field Summary

    Fields inherited from class org.assertj.core.api.AbstractAssert

    info, throwUnsupportedExceptionOnEquals
  • Method Summary

    Modifier and Type
    Method
    Description
    org.assertj.core.api.ListAssert<ServerErrorSnapshot>
     
     
    Checks for error-severity entries outside an explicit allowlist.
     

    Methods inherited from class org.assertj.core.api.AbstractAssert

    actual, asInstanceOf, asList, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, doesNotHaveToString, doesNotMatch, doesNotMatch, equals, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, hasToString, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, overridingErrorMessage, overridingErrorMessage, satisfies, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, setCustomRepresentation, setDescriptionConsumer, setPrintAssertionsDescription, usingComparator, usingComparator, usingDefaultComparator, usingEquals, usingEquals, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnError

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.assertj.core.api.Descriptable

    as, as, as, describedAs, describedAs
  • Method Details

    • captured

      public org.assertj.core.api.ListAssert<ServerErrorSnapshot> captured()
      Returns:
      Frozen assertions over currently captured entries; recreate navigation inside retries.
    • hasNoErrors

      public ServerErrorsAssert hasNoErrors()
      Returns:
      This assertion after checking for errors; warnings are ignored.
    • hasNoErrors

      public ServerErrorsAssert hasNoErrors(Predicate<ServerErrorSnapshot> allowedErrors)
      Checks for error-severity entries outside an explicit allowlist.
      Parameters:
      allowedErrors - Predicate matching known-benign errors.
      Returns:
      This assertion.
    • hasNoWarnings

      public ServerErrorsAssert hasNoWarnings()
      Returns:
      This assertion after checking for warning-severity entries; errors are checked separately.