Package spoon.testing
Class AbstractAssert<T extends AbstractAssert<T,A>,A>
java.lang.Object
spoon.testing.AbstractAssert<T,A>
- Type Parameters:
T
- the self type of this assertion class.A
- the type of the actual value.
- Direct Known Subclasses:
AbstractCtElementAssert
,AbstractCtPackageAssert
,AbstractFileAssert
Base contract for all assertion objects: the minimum functionality that
any assertion object should provide.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
hashCode()
withProcessor(Class<? extends Processor<?>> processor)
Applies the processor on the actual value.withProcessor(String qualifiedName)
Applies the processor on the actual value.withProcessor(Processor<?> processor)
Applies the processor on the actual value.
-
Field Details
-
processors
-
actual
-
myself
-
-
Constructor Details
-
AbstractAssert
-
-
Method Details
-
withProcessor
Applies the processor on the actual value.- Parameters:
processor
- the given processor.- Returns:
this
assertion object.
-
withProcessor
Applies the processor on the actual value.- Parameters:
processor
- the class of the given processor.- Returns:
this
assertion object.
-
withProcessor
Applies the processor on the actual value.- Parameters:
qualifiedName
- the qualified name of the given processor.- Returns:
this
assertion object.
-
hashCode
public int hashCode()
-