Package ghidra.framework.store.local
Class AbstractLocalFileSystemTest
- java.lang.Object
-
- generic.test.AbstractGTest
-
- generic.test.AbstractGenericTest
-
- ghidra.framework.store.local.AbstractLocalFileSystemTest
-
- Direct Known Subclasses:
IndexedLocalFileSystemTest
,MangledLocalFileSystemTest
public abstract class AbstractLocalFileSystemTest extends AbstractGenericTest
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class generic.test.AbstractGenericTest
AbstractGenericTest.ExceptionHandlingRunner
-
-
Field Summary
-
Fields inherited from class generic.test.AbstractGenericTest
concurrentTestExceptionRule, DEFAULT_TEST_TOOL_NAME, ruleChain, TESTDATA_DIRECTORY_NAME, watchman
-
Fields inherited from class generic.test.AbstractGTest
BATCH_MODE, DEFAULT_WAIT_DELAY, DEFAULT_WAIT_TIMEOUT, DEFAULT_WINDOW_TIMEOUT, PARALLEL_MODE, PRIVATE_LONG_WAIT_TIMEOUT, testName
-
-
Constructor Summary
Constructors Constructor Description AbstractLocalFileSystemTest(boolean useIndexedFileSystem)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
makeName(char startChar, int count)
void
setUp()
void
tearDown()
void
testCreateDataBase()
void
testCreateDataFile()
void
testCreateFolder()
void
testCreateTemporaryDatabase()
void
testDeleteDatabase()
void
testDeleteFolder()
void
testDeleteItem()
void
testFileNames()
void
testFilePaths()
void
testFilePathsWithSpaces()
void
testGetFolders()
void
testGetItems()
void
testItemChanged()
void
testMoveDatabase()
void
testMoveDataFile()
void
testMoveFolder()
void
testRenameFile()
void
testRenameFolder()
void
testReopenFileNames()
-
Methods inherited from class generic.test.AbstractGenericTest
clickMouse, clickMouse, clickTableCell, createApplicationConfiguration, createApplicationLayout, createStackTraceForAllThreads, createTempDirectory, createTempFile, createTempFile, createTempFileForTest, createTempFileForTest, createTempFilePath, createTempFilePath, deleteMatchingTempFiles, deleteSimilarTempFiles, doubleClick, dragMouse, editCell, executeOnSwingWithoutBlocking, findAbstractButtonByName, findAbstractButtonByText, findButtonByIcon, findButtonByText, findComponent, findComponent, findComponentByName, findComponentByName, findComponentsByName, findOwnedWindows, findPathToText, findTestDataFile, findTreePathToText, fixupGUI, getAllWindows, getDebugFileDirectory, getInstanceField, getInstanceFieldByClassType, getLocalResourceFile, getTestDataDir, getTestDataDirectory, getTestDataFile, getText, hasTestFailed, initializeLayout, initializeSystemProperties, invokeConstructor, invokeInstanceMethod, invokeInstanceMethod, leftClick, loadTextResource, loadTextResource, middleClick, moveMouse, postEvent, pressButton, pressButton, pressButtonByName, pressButtonByName, pressButtonByText, pressButtonByText, printMemory, privateWaitForPostedSwingRunnables_SwingSafe, rightClick, runSwing, runSwing, runSwing, setComboBoxSelection, setInstanceField, setText, testFailed, toString, waitForPostedSwingRunnables, waitForSwing, waitForTasks, windowForComponent, yieldToSwing
-
Methods inherited from class generic.test.AbstractGTest
assertArraysEqualOrdered, assertArraysEqualUnordered, assertArraysEqualUnordered, assertContainsExactly, assertContainsExactly, assertListEqualOrdered, assertListEqualOrdered, assertListEqualsArrayOrdered, assertListEqualsArrayUnordered, assertListEqualUnordered, failWithException, getName, getRandomInt, getRandomInt, getRandomString, getRandomString, getTestDirectoryPath, sleep, waitFor, waitFor, waitFor, waitForCondition, waitForCondition, waitForConditionWithoutFailing, waitForValue, waitForValueWithoutFailing
-
-
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception
- Throws:
java.lang.Exception
-
tearDown
public void tearDown()
-
testGetFolders
public void testGetFolders() throws java.io.IOException
- Throws:
java.io.IOException
-
testCreateFolder
public void testCreateFolder() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testDeleteFolder
public void testDeleteFolder() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testRenameFolder
public void testRenameFolder() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testRenameFile
public void testRenameFile() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testMoveFolder
public void testMoveFolder() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testCreateDataFile
public void testCreateDataFile() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testFileNames
public void testFileNames() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testReopenFileNames
public void testReopenFileNames() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testFilePaths
public void testFilePaths() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testFilePathsWithSpaces
public void testFilePathsWithSpaces() throws java.lang.Exception
- Throws:
java.lang.Exception
-
makeName
protected java.lang.String makeName(char startChar, int count)
-
testCreateDataBase
public void testCreateDataBase() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testCreateTemporaryDatabase
public void testCreateTemporaryDatabase() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testDeleteItem
public void testDeleteItem() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testGetItems
public void testGetItems() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testMoveDataFile
public void testMoveDataFile() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testMoveDatabase
public void testMoveDatabase() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testDeleteDatabase
public void testDeleteDatabase() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testItemChanged
public void testItemChanged() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-