public final class UnderFileSystemCommonOperations extends Object
Constructor and Description |
---|
UnderFileSystemCommonOperations(String ufsPath,
String topLevelTestDirectory,
UnderFileSystem ufs,
InstancedConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
void |
createAtomicTest()
Test for creating file atomic.
|
void |
createDeleteFileConjuctionTest()
Test for creating and deleting file conjunction.
|
void |
createEmptyTest()
Test for creating empty file.
|
void |
createNoParentTest()
Test for creating file without parent.
|
void |
createOpenAtPositionTest()
Test for creating file and opening at position.
|
void |
createOpenEmptyTest()
Test for creating and opening empty file.
|
void |
createOpenExistingLargeFileTest()
Test for creating and open existing large file.
|
void |
createOpenLargeTest()
Test for creating and opening large file.
|
void |
createOpenSkip()
Test for create file, open and seek.
|
void |
createOpenTest()
Test for creating and opening file.
|
void |
createParentTest()
Test for creating file with parent.
|
void |
createThenDeleteExistingDirectoryTest()
Test for creating and deleting existing directory.
|
void |
createThenGetExistingDirectoryStatusTest()
Test for getting existing directory status.
|
void |
createThenGetExistingFileStatusTest()
Test for getting existing file status.
|
void |
createThenGetExistingStatusTest()
Test for getting existing status.
|
void |
deleteDirTest()
Test for deleting directory.
|
void |
deleteFileTest()
Test for deleting file.
|
void |
deleteLargeDirectoryTest()
Test for deleting large directory.
|
void |
existsTest()
Test for checking file existence.
|
void |
getDirectoryStatusTest()
Test for getting directory status.
|
void |
getFileSizeTest()
Test for getting file size.
|
void |
getFileStatusTest()
Test for getting file status.
|
void |
getModTimeTest()
Test for getting modification time.
|
void |
getNonExistingDirectoryStatusTest()
Test for getting status of non-existent directory.
|
void |
getNonExistingFileStatusTest()
Test for getting status of non-existent file.
|
void |
getNonExistingPathStatusTest()
Test for getting status of non-existent path.
|
void |
isFileTest()
Test for checking file is actual file.
|
void |
listLargeDirectoryTest()
Test for listing large directory.
|
void |
listStatusEmptyTest()
Test for listing empty directory.
|
void |
listStatusFileTest()
Test for listing status on file.
|
void |
listStatusRecursiveTest()
Test for listing status recursively.
|
void |
listStatusRootTest()
Test for listing status of the root directory of the UFS.
|
void |
listStatusTest()
Test for listing status.
|
void |
mkdirsTest()
Test for creating directory.
|
void |
objectCommonPrefixesIsDirectoryTest()
Test for checking directory in object storage.
|
void |
objectCommonPrefixesListStatusNonRecursiveTest()
Test for listing status non recursively in object storage.
|
void |
objectCommonPrefixesListStatusRecursiveTest()
Test for listing status recursively in object storage.
|
void |
objectNestedDirsListStatusRecursiveTest()
Test for listing status recursively in nested directory in object storage.
|
void |
renameDirectoryDeepTest()
Test for renaming deep directory.
|
void |
renameDirectoryTest()
Test for renaming directory.
|
void |
renameFileTest()
Test for renaming file.
|
void |
renameLargeDirectoryTest()
Test for renaming large directory.
|
void |
renameRenamableDirectoryTest()
Test for renaming renamable directory.
|
void |
renameRenamableFileTest()
Test for renaming renamable file.
|
public UnderFileSystemCommonOperations(String ufsPath, String topLevelTestDirectory, UnderFileSystem ufs, InstancedConfiguration configuration)
ufsPath
- the under filesystem pathtopLevelTestDirectory
- the top level test directoryufs
- the under filesystemconfiguration
- the instance configurationpublic void createAtomicTest() throws IOException
IOException
public void createEmptyTest() throws IOException
IOException
public void createNoParentTest() throws IOException
IOException
public void createParentTest() throws IOException
IOException
public void createOpenTest() throws IOException
IOException
public void createOpenEmptyTest() throws IOException
IOException
public void createOpenAtPositionTest() throws IOException
IOException
public void createOpenLargeTest() throws IOException
IOException
public void createOpenExistingLargeFileTest() throws IOException
IOException
public void createOpenSkip() throws IOException
IOException
public void deleteFileTest() throws IOException
IOException
public void deleteDirTest() throws IOException
IOException
public void deleteLargeDirectoryTest() throws Exception
Exception
public void createDeleteFileConjuctionTest() throws IOException
IOException
public void createThenDeleteExistingDirectoryTest() throws IOException
IOException
public void existsTest() throws IOException
IOException
public void getDirectoryStatusTest() throws IOException
IOException
public void createThenGetExistingDirectoryStatusTest() throws IOException
IOException
public void getFileSizeTest() throws IOException
IOException
public void createThenGetExistingFileStatusTest() throws IOException
IOException
public void getFileStatusTest() throws IOException
IOException
public void createThenGetExistingStatusTest() throws IOException
IOException
public void getModTimeTest() throws IOException
IOException
public void getNonExistingDirectoryStatusTest() throws IOException
IOException
public void getNonExistingFileStatusTest() throws IOException
IOException
public void getNonExistingPathStatusTest() throws IOException
IOException
public void isFileTest() throws IOException
IOException
public void listStatusRootTest() throws IOException
IOException
public void listStatusTest() throws IOException
IOException
public void listStatusEmptyTest() throws IOException
IOException
public void listStatusFileTest() throws IOException
IOException
public void listLargeDirectoryTest() throws Exception
Exception
public void listStatusRecursiveTest() throws IOException
IOException
public void mkdirsTest() throws IOException
IOException
public void objectCommonPrefixesIsDirectoryTest() throws IOException
IOException
public void objectCommonPrefixesListStatusNonRecursiveTest() throws IOException
IOException
public void objectCommonPrefixesListStatusRecursiveTest() throws IOException
IOException
public void objectNestedDirsListStatusRecursiveTest() throws IOException
IOException
public void renameFileTest() throws IOException
IOException
public void renameRenamableFileTest() throws IOException
IOException
public void renameDirectoryTest() throws IOException
IOException
public void renameDirectoryDeepTest() throws IOException
IOException
public void renameRenamableDirectoryTest() throws IOException
IOException
Copyright © 2023. All Rights Reserved.