Package com.soebes.itf.extension.assertj
Class MavenCacheResultAssert
java.lang.Object
org.assertj.core.api.AbstractAssert<MavenCacheResultAssert,MavenCacheResult>
com.soebes.itf.extension.assertj.MavenCacheResultAssert
- All Implemented Interfaces:
org.assertj.core.api.Assert<MavenCacheResultAssert,
,MavenCacheResult> org.assertj.core.api.Descriptable<MavenCacheResultAssert>
,org.assertj.core.api.ExtensionPoints<MavenCacheResultAssert,
MavenCacheResult>
@API(status=EXPERIMENTAL,
since="0.8.0")
public class MavenCacheResultAssert
extends org.assertj.core.api.AbstractAssert<MavenCacheResultAssert,MavenCacheResult>
- Author:
- Karl Heinz Marbaise
-
Field Summary
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, info, myself, objects, throwUnsupportedExceptionOnEquals
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic MavenCacheResultAssert
assertThat
(MavenCacheResult actual) An entry point for MavenCacheResult to follow AssertJ standardassertThat()
statements.
With a static import, one's can write directly :assertThat(result).isSuccessful();
int
hashCode()
Always returns 1.Methods inherited from class org.assertj.core.api.AbstractAssert
areEqual, asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hasSameClassAs, hasSameHashCodeAs, 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, usingRecursiveAssertion, usingRecursiveAssertion, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnError
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.assertj.core.api.Descriptable
as, as, as, describedAs
-
Constructor Details
-
MavenCacheResultAssert
MavenCacheResultAssert(MavenCacheResult actual)
-
-
Method Details
-
assertThat
An entry point for MavenCacheResult to follow AssertJ standardassertThat()
statements.
With a static import, one's can write directly :assertThat(result).isSuccessful();
- Parameters:
actual
- the MavenLog we want to make assertions on.- Returns:
- a new
MavenCacheResultAssert
-
hashCode
public int hashCode()Always returns 1.- Overrides:
hashCode
in classorg.assertj.core.api.AbstractAssert<MavenCacheResultAssert,
MavenCacheResult> - Returns:
- 1.
-