Package com.soebes.itf.extension.assertj
Class ArchiveAssert
java.lang.Object
org.assertj.core.api.AbstractAssert<ArchiveAssert,Path>
com.soebes.itf.extension.assertj.ArchiveAssert
- All Implemented Interfaces:
org.assertj.core.api.Assert<ArchiveAssert,
,Path> org.assertj.core.api.Descriptable<ArchiveAssert>
,org.assertj.core.api.ExtensionPoints<ArchiveAssert,
Path>
@API(status=EXPERIMENTAL,
since="0.8.0")
public class ArchiveAssert
extends org.assertj.core.api.AbstractAssert<ArchiveAssert,Path>
Assertions related to Archives like
jar
, war
- Author:
- Karl Heinz Marbaise
-
Field Summary
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, info, myself, objects, throwUnsupportedExceptionOnEquals
-
Constructor Summary
ConstructorDescriptionArchiveAssert
(Path earFile, org.apache.maven.model.Model model, MavenProjectResultAssert parent) -
Method Summary
Modifier and TypeMethodDescriptionand()
containsOnly
(String... files) containsOnlyOnce
(String... files) containsOnlyOnce
(List<String> files) doesNotContain
(String... files) int
hashCode()
Always returns 1.This will ignore the files within an archive META-INF/maven/<groupId>/<artifactId>/pom.xml META-INF/maven/<groupId>/<artifactId>/pom.propertiesMethods 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, 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
-
ArchiveAssert
ArchiveAssert(Path earFile, org.apache.maven.model.Model model, MavenProjectResultAssert parent)
-
-
Method Details
-
ignoreMavenFiles
This will ignore the files within an archive- META-INF/maven/<groupId>/<artifactId>/pom.xml
- META-INF/maven/<groupId>/<artifactId>/pom.properties
- Returns:
ArchiveAssert
-
ignoreManifest
-
doesNotContain
-
containsOnlyOnce
-
containsOnlyOnce
-
containsOnly
-
and
-
isEqualTo
- Specified by:
isEqualTo
in interfaceorg.assertj.core.api.Assert<ArchiveAssert,
Path> - Overrides:
isEqualTo
in classorg.assertj.core.api.AbstractAssert<ArchiveAssert,
Path>
-
hashCode
public int hashCode()Always returns 1.- Overrides:
hashCode
in classorg.assertj.core.api.AbstractAssert<ArchiveAssert,
Path> - Returns:
- 1.
-