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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MavenCacheResultAssertassertThat(MavenCacheResult actual) An entry point for MavenCacheResult to follow AssertJ standardassertThat()statements.
With a static import, one's can write directly :assertThat(result).isSuccessful();booleanDeprecated.inthashCode()Always returns 1.Methods inherited from class org.assertj.core.api.AbstractAssert
areEqual, asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, 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, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnErrorMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods 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
-
equals
Deprecated.useAbstractAssert.isEqualTo(java.lang.Object)instead- Specified by:
equalsin interfaceorg.assertj.core.api.Assert<MavenCacheResultAssert,MavenCacheResult> - Overrides:
equalsin classorg.assertj.core.api.AbstractAssert<MavenCacheResultAssert,MavenCacheResult> - Throws:
UnsupportedOperationException- if this method is called.- Implementation Note:
- java:S1133: Suppressing "Do not forget to remove this deprecated code someday." message.
-
hashCode
public int hashCode()Always returns 1.- Overrides:
hashCodein classorg.assertj.core.api.AbstractAssert<MavenCacheResultAssert,MavenCacheResult> - Returns:
- 1.
-
AbstractAssert.isEqualTo(java.lang.Object)instead