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>
@API(since="0.0.1",
status=STABLE)
public final class LocationAssert
extends AbstractAssert<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
ConstructorsConstructorDescriptionInitialize this assertion type. -
Method Summary
Modifier and TypeMethodDescriptionAssert that the location is module-oriented.Assert that the location is not module-oriented.Assert that the location is not an output location.Assert that the location is an output location.name()Perform assertions on the name of the location.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, hashCode, 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, 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
-
LocationAssert
Initialize this assertion type.- Parameters:
value- the value to assert on.
-
-
Method Details
-
isModuleOrientedLocation
Assert that the location is module-oriented.- Returns:
- this assertion object for further call chaining.
- Throws:
AssertionError- if the location is null.
-
isNotModuleOrientedLocation
Assert that the location is not module-oriented.- Returns:
- this assertion object for further call chaining.
- Throws:
AssertionError- if the location is null.
-
isOutputLocation
Assert that the location is an output location.- Returns:
- this assertion object for further call chaining.
- Throws:
AssertionError- if the location is null.
-
isNotOutputLocation
Assert that the location is not an output location.- Returns:
- this assertion object for further call chaining.
- Throws:
AssertionError- if the location is null.
-
name
Perform assertions on the name of the location.- Returns:
- the string assertions to perform.
- Throws:
AssertionError- if the location is null.
-