Top Description Fields Constructors Methods
org.assertj.core.api

public Class PathAssert

extends AbstractPathAssert<PathAssert>
Class Inheritance
Imports
java.nio.file.Path

Assertion class for Paths

Field Summary

Inherited from org.assertj.core.api.AbstractPathAssert:
charsetpaths

Constructor Summary

AccessConstructor and Description
public
PathAssert(Path
the path to test
actual
)

Constructor

Method Summary

Modifier and TypeMethod and Description
public static AbstractPathAssert<?>
Inherited from org.assertj.core.api.AbstractPathAssert:
binaryContentcontentcontentdoesNotExistendsWithendsWithRawexistsexistsNoFollowLinkshasBinaryContenthasContenthasDigesthasDigesthasDigesthasDigesthasExtensionhasFileNamehasFileSystemhasNoExtensionhasNoParenthasNoParentRawhasParenthasParentRawhasSameBinaryContentAshasSameContentAshasSameContentAshasSameFileSystemAshasSameTextualContentAshasSameTextualContentAshasSizeisAbsoluteisCanonicalisDirectoryisDirectoryContainingisDirectoryContainingisDirectoryNotContainingisDirectoryNotContainingisDirectoryRecursivelyContainingisDirectoryRecursivelyContainingisEmptyDirectoryisEmptyFileisExecutableisNormalizedisNotEmptyDirectoryisNotEmptyFileisReadableisRegularFileisRelativeisSymbolicLinkisWritablestartsWithstartsWithRawusingCharsetusingCharset

Constructor Detail

PathAssertback to summary
public PathAssert(Path actual)

Constructor

Parameters
actual:Path

the path to test

Method Detail

assertThatPathback to summary
public static AbstractPathAssert<?> assertThatPath(Path actual)