Class ProcessorAssert

java.lang.Object
org.assertj.core.api.AbstractAssert<ProcessorAssert, Class<? extends Processor>>
be.imgn.gaia.processing.testing.ProcessorAssert
All Implemented Interfaces:
org.assertj.core.api.Assert<ProcessorAssert, Class<? extends Processor>>, org.assertj.core.api.Descriptable<ProcessorAssert>, org.assertj.core.api.ExtensionPoints<ProcessorAssert, Class<? extends Processor>>

public final class ProcessorAssert extends org.assertj.core.api.AbstractAssert<ProcessorAssert, Class<? extends Processor>>
AssertJ assertions on an annotation processor class.
assertThat(MapperProcessor.class).isRegistered();
  • Field Summary

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

    actual, info, myself, objects, throwUnsupportedExceptionOnEquals
  • Method Summary

    Modifier and Type
    Method
    Description
    assertThat(Class<? extends Processor> actual)
    Returns assertions on a processor class.
    Verifies that javac can find the processor: that the service loader lists it as a Processor, through META-INF/services/javax.annotation.processing.Processor on the class path, or through provides javax.annotation.processing.Processor with ... in its module-info.java on the module path.

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

    actual, areEqual, asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, doesNotHaveToString, doesNotMatch, doesNotMatch, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, hasToString, inBinary, inHexadecimal, is, isElementOfCustomAssert, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, overridingErrorMessage, satisfies, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, satisfiesAnyOfForProxy, satisfiesForProxy, setCustomRepresentation, setDescriptionConsumer, setPrintAssertionsDescription, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, usingEquals, usingEquals, usingRecursiveAssertion, usingRecursiveAssertion, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnError

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

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

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

    • assertThat

      public static ProcessorAssert assertThat(Class<? extends Processor> actual)
      Returns assertions on a processor class.
      Parameters:
      actual - the processor class
      Returns:
      the assertions
    • isRegistered

      public ProcessorAssert isRegistered()
      Verifies that javac can find the processor: that the service loader lists it as a Processor, through META-INF/services/javax.annotation.processing.Processor on the class path, or through provides javax.annotation.processing.Processor with ... in its module-info.java on the module path. A processor that is not registered silently does nothing.
      Returns:
      these assertions