Class DeleteProjectFilesTaskTest
- java.lang.Object
-
- generic.test.AbstractGTest
-
- generic.test.AbstractGenericTest
-
- docking.test.AbstractDockingTest
-
- ghidra.framework.main.projectdata.actions.DeleteProjectFilesTaskTest
-
public class DeleteProjectFilesTaskTest extends AbstractDockingTest
-
-
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 DeleteProjectFilesTaskTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
void
tearDown()
void
testApplyToAll()
void
testCancelReadOnlyReallyCancels()
void
testConfirmDialogAppears()
void
testDeleteEmptyFolder()
void
testDeleteExtraConfirmForReadOnlyFileAndThenDeleteIt()
void
testDeleteExtraConfirmForVersionedFileAndThenDeleteIt()
void
testDeleteFolder()
void
testDeleteFolder_OnlyFolderSelected_WithFileInSubFolder()
void
testDeleteFolderAndParentFolderInSelection()
void
testDeleteFolderWhereNotAllFilesInFolderDeleted()
void
testDeleteOneFileAndThereIsNoSummary()
void
testDeleteTwoFilessuccessfullyAndThereIsNoSummary()
void
testDeleteTwoFilesWithOneFailureAndThereIsSummary()
void
testNotifyCantDeleteForVersionedCheckedOutFile()
void
testNotifyForDeleteInUseFile()
void
testReadOnlyFileSelectedAndInSelectedFolderAsksOnlyOnce()
void
testSelectedFileContainedInSelectedFolder()
-
Methods inherited from class docking.test.AbstractDockingTest
assertEnabled, assertToggleButtonSelected, capture, checkMessageDisplay, clickComponentProvider, clickComponentProvider, close, close, closeAllWindows, closeAllWindows, closeAllWindowsAndFrames, closeProvider, closeSaveChangesDialog, createApplicationConfiguration, createApplicationLayout, createRenderedImage, createScreenImage, disposeErrorGUI, dockingSetUp, dockingTearDown, expandPath, expandTree, findButtonByActionName, findButtonByIcon, findButtonByText, findComponent, findComponentByName, getAction, getAction, getActions, getClipboardText, getComponentProvider, getDialogComponent, getDialogComponentProvider, getDockableComponent, getNode, getOpenWindowsAsString, getStatusText, getTitleForWindow, getWindow, getWindowByTitle, getWindowByTitleContaining, getWindows, isEnabled, isEnabled, isSelected, isUseErrorGUI, performAction, performAction, performAction, performAction, performDialogAction, pressButtonByText, pressButtonByText, printOpenWindows, selectPath, selectTabIfAvailable, setErrorGUIEnabled, setErrorsExpected, setToggleActionSelected, setToggleActionSelected, setToggleButtonSelected, setToggleButtonSelected, showProvider, triggerActionKey, triggerActionKey, triggerBackspaceKey, triggerEnter, triggerEscapeKey, triggerKey, triggerKey, triggerText, triggerText, waitForComponentProvider, waitForComponentProvider, waitForDialogComponent, waitForDialogComponent, waitForDialogComponent, waitForJDialog, waitForJDialog, waitForTableModel, waitForTree, waitForUpdateOnChooser, waitForWindow, waitForWindow, waitForWindow, waitForWindow, waitForWindowByName, waitForWindowByTitleContaining, waitForWindowByTitleContaining, writeImage, writeImage
-
Methods inherited from class generic.test.AbstractGenericTest
clickMouse, clickMouse, clickTableCell, 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()
-
testConfirmDialogAppears
public void testConfirmDialogAppears()
-
testDeleteOneFileAndThereIsNoSummary
public void testDeleteOneFileAndThereIsNoSummary()
-
testDeleteTwoFilessuccessfullyAndThereIsNoSummary
public void testDeleteTwoFilessuccessfullyAndThereIsNoSummary()
-
testDeleteTwoFilesWithOneFailureAndThereIsSummary
public void testDeleteTwoFilesWithOneFailureAndThereIsSummary() throws java.io.IOException
- Throws:
java.io.IOException
-
testDeleteExtraConfirmForReadOnlyFileAndThenDeleteIt
public void testDeleteExtraConfirmForReadOnlyFileAndThenDeleteIt() throws java.io.IOException
- Throws:
java.io.IOException
-
testDeleteExtraConfirmForVersionedFileAndThenDeleteIt
public void testDeleteExtraConfirmForVersionedFileAndThenDeleteIt()
-
testNotifyCantDeleteForVersionedCheckedOutFile
public void testNotifyCantDeleteForVersionedCheckedOutFile()
-
testNotifyForDeleteInUseFile
public void testNotifyForDeleteInUseFile()
-
testApplyToAll
public void testApplyToAll() throws java.io.IOException
- Throws:
java.io.IOException
-
testDeleteFolder
public void testDeleteFolder()
-
testDeleteEmptyFolder
public void testDeleteEmptyFolder()
-
testDeleteFolder_OnlyFolderSelected_WithFileInSubFolder
public void testDeleteFolder_OnlyFolderSelected_WithFileInSubFolder()
-
testDeleteFolderWhereNotAllFilesInFolderDeleted
public void testDeleteFolderWhereNotAllFilesInFolderDeleted() throws java.io.IOException
- Throws:
java.io.IOException
-
testSelectedFileContainedInSelectedFolder
public void testSelectedFileContainedInSelectedFolder()
-
testDeleteFolderAndParentFolderInSelection
public void testDeleteFolderAndParentFolderInSelection()
-
testReadOnlyFileSelectedAndInSelectedFolderAsksOnlyOnce
public void testReadOnlyFileSelectedAndInSelectedFolderAsksOnlyOnce() throws java.io.IOException
- Throws:
java.io.IOException
-
testCancelReadOnlyReallyCancels
public void testCancelReadOnlyReallyCancels() throws java.io.IOException
- Throws:
java.io.IOException
-
-