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 pathTestFailedException
public static void testFileSystemUnmounted(FileSystem fileSystem, boolean isReadOnly) throws TestFailedException
fileSystem
- the file system to testisReadOnly
- whether the file system is read onlyTestFailedException
public static void performUnixPermissionsTest(FileSystem fileSystem) throws TestFailedException
fileSystem
- the file systemTestFailedException
public static void performWindowsAttributesTest(FileSystem fileSystem) throws TestFailedException
fileSystem
- the file systemTestFailedException
public static void performExtendedAttributesTest(FileSystem fileSystem) throws TestFailedException
fileSystem
- the file systemTestFailedException
public static void performSymbolicLinksTest(FileSystem fileSystem) throws TestFailedException
fileSystem
- the file systemTestFailedException
public static void performHardLinksTest(FileSystem fileSystem) throws TestFailedException
fileSystem
- the file systemTestFailedException
public static void performLockTest(FileSystem fileSystem) throws TestFailedException
fileSystem
- the file systemTestFailedException
public static void performFullTests(FileSystem fs) throws TestFailedException
fs
- the file systemTestFailedException