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 TypeMethodDescriptionstatic ProcessorAssertassertThat(Class<? extends Processor> actual) Returns assertions on a processor class.Verifies that javac can find the processor: that the service loader lists it as aProcessor, throughMETA-INF/services/javax.annotation.processing.Processoron the class path, or throughprovides javax.annotation.processing.Processor with ...in itsmodule-info.javaon 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, withThreadDumpOnErrorMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.assertj.core.api.Descriptable
as, as, as, describedAs, describedAs
-
Method Details
-
assertThat
Returns assertions on a processor class.- Parameters:
actual- the processor class- Returns:
- the assertions
-
isRegistered
Verifies that javac can find the processor: that the service loader lists it as aProcessor, throughMETA-INF/services/javax.annotation.processing.Processoron the class path, or throughprovides javax.annotation.processing.Processor with ...in itsmodule-info.javaon the module path. A processor that is not registered silently does nothing.- Returns:
- these assertions
-