Class LocationAssert
java.lang.Object
org.assertj.core.api.AbstractAssert<LocationAssert,JavaFileManager.Location>
io.github.ascopes.jct.assertions.LocationAssert
- All Implemented Interfaces:
Assert<LocationAssert,
,JavaFileManager.Location> Descriptable<LocationAssert>
,ExtensionPoints<LocationAssert,
JavaFileManager.Location>
Assertions for an individual
location
.- Since:
- 0.0.1
- Author:
- Ashley Scopes
-
Field Summary
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, info, myself, objects, throwUnsupportedExceptionOnEquals
-
Constructor Summary
ConstructorDescriptionInitialize this assertion type. -
Method Summary
Modifier and TypeMethodDescriptionAssert that the location ismodule-oriented
.Assert that the location is notmodule-oriented
.Assert that the location is not anoutput location
.Assert that the location is anoutput location
.name()
Perform assertions on thename
of the location.Methods inherited from class org.assertj.core.api.AbstractAssert
areEqual, asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, doesNotHaveToString, 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, 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, describedAs
-
Constructor Details
-
LocationAssert
Initialize this assertion type.- Parameters:
value
- the value to assert on.
-
-
Method Details
-
isModuleOrientedLocation
Assert that the location ismodule-oriented
.- Returns:
- this assertion object for further call chaining.
- Throws:
AssertionError
- if the location is null or if the location is not module-oriented.
-
isNotModuleOrientedLocation
Assert that the location is notmodule-oriented
.- Returns:
- this assertion object for further call chaining.
- Throws:
AssertionError
- if the location is null or if the location is module-oriented.
-
isOutputLocation
Assert that the location is anoutput location
.- Returns:
- this assertion object for further call chaining.
- Throws:
AssertionError
- if the location is null or is not an output location.
-
isNotOutputLocation
Assert that the location is not anoutput location
.- Returns:
- this assertion object for further call chaining.
- Throws:
AssertionError
- if the location is null or is an output location.
-
name
Perform assertions on thename
of the location.- Returns:
- the string assertions to perform.
- Throws:
AssertionError
- if the location is null.
-