paths.assertDoesNotExist(info, actual); return myself;
paths.assertEndsWith(info, actual, other); return myself;
paths.assertEndsWithRaw(info, actual, other); return myself;
public void assertStartsWithRaw(final AssertionInfo info, final Path actual, final Path other) { assertNotNull(info, actual); assertExpectedStartPathIsNotNull(other); if (!actual.startsWith(other)) throw failures.failure(info, shouldStartWith(actual, other)); }
public void assertIsReadable(final AssertionInfo info, final Path actual) { assertNotNull(info, actual); assertExists(info, actual); if (!nioFilesWrapper.isReadable(actual)) throw failures.failure(info, shouldBeReadable(actual)); }
public void assertEndsWithRaw(final AssertionInfo info, final Path actual, final Path end) { assertNotNull(info, actual); assertExpectedEndPathIsNotNull(end); if (!actual.endsWith(end)) throw failures.failure(info, shouldEndWith(actual, end)); }
paths.assertHasDigest(info, actual, digest, expected); return myself;
paths.assertExists(info, actual); return myself;
paths.assertExistsNoFollowLinks(info, actual); return myself;
paths.assertHasBinaryContent(info, actual, expected); return myself;
paths.assertHasContent(info, actual, expected, charset); return myself;
public void assertIsWritable(AssertionInfo info, Path actual) { assertNotNull(info, actual); assertExists(info, actual); if (!nioFilesWrapper.isWritable(actual)) throw failures.failure(info, shouldBeWritable(actual)); }
public void assertEndsWith(final AssertionInfo info, final Path actual, final Path end) { assertNotNull(info, actual); assertExpectedEndPathIsNotNull(end); try { final Path canonicalActual = actual.toRealPath(); if (!canonicalActual.endsWith(end.normalize())) throw failures.failure(info, shouldEndWith(actual, end)); } catch (IOException e) { throw new PathsException(FAILED_TO_RESOLVE_ACTUAL_REAL_PATH, e); } }
public void assertStartsWithRaw(final AssertionInfo info, final Path actual, final Path other) { assertNotNull(info, actual); assertExpectedStartPathIsNotNull(other); if (!actual.startsWith(other)) throw failures.failure(info, shouldStartWith(actual, other)); }
paths.assertHasDigest(info, actual, algorithm, expected); return myself;
paths.assertExists(info, actual); return myself;
paths.assertExistsNoFollowLinks(info, actual); return myself;
paths.assertHasBinaryContent(info, actual, expected); return myself;
paths.assertHasContent(info, actual, expected, charset); return myself;
public void assertIsExecutable(final AssertionInfo info, final Path actual) { assertNotNull(info, actual); assertExists(info, actual); if (!nioFilesWrapper.isExecutable(actual)) throw failures.failure(info, shouldBeExecutable(actual)); }