public class TestFileSystem
extends java.lang.Object
| Constructor and Description |
|---|
TestFileSystem() |
| Modifier and Type | Method and Description |
|---|---|
static void |
performExtendedAttributesTest(FileSystem fileSystem)
Performs some tests on extended attributes
|
static void |
performFullTests(FileSystem fs)
This is a small utillity function, which calls testFileSystemUnmounted, mounts the file system, performs the mounted file system tests and unmounts it.
|
static void |
performHardLinksTest(FileSystem fileSystem)
Performs some tests on hard links
|
static void |
performLockTest(FileSystem fileSystem)
Performs some tests on windows file locking
|
static void |
performSymbolicLinksTest(FileSystem fileSystem)
Performs some tests on symbolic links
|
static void |
performUnixPermissionsTest(FileSystem fileSystem)
Performs some tests on unix permissions
|
static void |
performWindowsAttributesTest(FileSystem fileSystem)
Performs some tests on windows attributes
|
static void |
testFileSystemMounted(java.lang.String mountedPath)
Performs some tests when the file system is mounted
|
static void |
testFileSystemUnmounted(FileSystem fileSystem,
boolean isReadOnly)
Tests the file system.
|
public static void testFileSystemMounted(java.lang.String mountedPath)
throws TestFailedException
mountedPath - the pathTestFailedExceptionpublic static void testFileSystemUnmounted(FileSystem fileSystem, boolean isReadOnly) throws TestFailedException
fileSystem - the file system to testisReadOnly - whether the file system is read onlyTestFailedExceptionpublic static void performUnixPermissionsTest(FileSystem fileSystem) throws TestFailedException
fileSystem - the file systemTestFailedExceptionpublic static void performWindowsAttributesTest(FileSystem fileSystem) throws TestFailedException
fileSystem - the file systemTestFailedExceptionpublic static void performExtendedAttributesTest(FileSystem fileSystem) throws TestFailedException
fileSystem - the file systemTestFailedExceptionpublic static void performSymbolicLinksTest(FileSystem fileSystem) throws TestFailedException
fileSystem - the file systemTestFailedExceptionpublic static void performHardLinksTest(FileSystem fileSystem) throws TestFailedException
fileSystem - the file systemTestFailedExceptionpublic static void performLockTest(FileSystem fileSystem) throws TestFailedException
fileSystem - the file systemTestFailedExceptionpublic static void performFullTests(FileSystem fs) throws TestFailedException
fs - the file systemTestFailedException