Package jetbrains.buildServer.asserts
Class TCFileAssert
- java.lang.Object
-
- org.assertj.core.api.AbstractAssert<S,File>
-
- org.assertj.core.api.AbstractFileAssert<TCFileAssert>
-
- jetbrains.buildServer.asserts.TCFileAssert
-
- All Implemented Interfaces:
org.assertj.core.api.Assert<TCFileAssert,File>,org.assertj.core.api.Descriptable<TCFileAssert>,org.assertj.core.api.ExtensionPoints<TCFileAssert,File>
public class TCFileAssert extends org.assertj.core.api.AbstractFileAssert<TCFileAssert>
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTCFileAssert(File actual)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TCFileAssertcontainsDirectories(String... dirPaths)Assert that the file is a directory and contains subdirectories with the specified paths (delimited with '/').TCFileAssertcontainsFiles(String... filePaths)Assert that the file is a directory and contains files with the specified paths (delimited with '/').TCFileAssertcontainsFilesOnly(String... filePaths)Assert that the file is a directory and contains only files with the specified paths (delimited with '/').TCFileAssertcontainUTF8Text(String text)TCFileAssertdoesNotContainDirectory(String dirPath)Assert that the file is a directory and doesn't contain subdirectory with the specified path (delimited with '/').TCFileAssertdoesNotContainFiles(String... filePaths)Assert that the file is a directory and doesn't contain files with the specified paths (delimited with '/').TCFileAssertdoesNotContainUTF8Text(String text)TCFileAssertisAncestorOf(File file)TCFileAssertisEmpty()TCFileAssertisNotEmptyDirectory()TCFileAssertisNotSymlink()TCFileAssertisSymlink()-
Methods inherited from class org.assertj.core.api.AbstractFileAssert
canRead, canWrite, doesNotExist, exists, hasBinaryContent, hasContent, hasContentEqualTo, hasExtension, hasName, hasNoParent, hasParent, hasParent, isAbsolute, isDirectory, isFile, isRelative, usingCharset, usingCharset
-
Methods inherited from class org.assertj.core.api.AbstractAssert
as, as, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, overridingErrorMessage, usingComparator, usingDefaultComparator
-
-
-
-
Constructor Detail
-
TCFileAssert
protected TCFileAssert(File actual)
-
-
Method Detail
-
containsDirectories
public TCFileAssert containsDirectories(String... dirPaths)
Assert that the file is a directory and contains subdirectories with the specified paths (delimited with '/').
-
containsFilesOnly
public TCFileAssert containsFilesOnly(String... filePaths)
Assert that the file is a directory and contains only files with the specified paths (delimited with '/').
-
containsFiles
public TCFileAssert containsFiles(String... filePaths)
Assert that the file is a directory and contains files with the specified paths (delimited with '/').
-
doesNotContainFiles
public TCFileAssert doesNotContainFiles(String... filePaths)
Assert that the file is a directory and doesn't contain files with the specified paths (delimited with '/').
-
doesNotContainDirectory
public TCFileAssert doesNotContainDirectory(String dirPath)
Assert that the file is a directory and doesn't contain subdirectory with the specified path (delimited with '/').
-
isEmpty
public TCFileAssert isEmpty()
-
isNotEmptyDirectory
public TCFileAssert isNotEmptyDirectory()
-
doesNotContainUTF8Text
public TCFileAssert doesNotContainUTF8Text(String text)
-
containUTF8Text
public TCFileAssert containUTF8Text(String text)
-
isAncestorOf
public TCFileAssert isAncestorOf(@NotNull File file)
-
isSymlink
public TCFileAssert isSymlink()
-
isNotSymlink
public TCFileAssert isNotSymlink()
-
-