Class TCFileAssert

    • 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 '/').
      • isNotEmptyDirectory

        public TCFileAssert isNotEmptyDirectory()