Package ghidra.framework.task
Class GTaskTest
- java.lang.Object
-
- generic.test.AbstractGTest
-
- generic.test.AbstractGenericTest
-
- ghidra.framework.task.GTaskTest
-
public class GTaskTest 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 GTaskTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
void
tearDown()
void
testAddingTaskByGroupNameToNonExistingGroup()
void
testAddingTaskByGroupNameToRunningGroup()
void
testAddingTaskByGroupNameToWaitingGroup()
void
testCancelAll()
void
testCancelGroup()
void
testCancelTask()
void
testExceptionInTaskListenerTaskCompleted()
void
testExceptionInTaskListenerTaskStarted()
void
testIsBusy()
void
testNewTransactionGroupWithNewTransaction()
void
testNewTransactionGroupWithoutNewTransaction()
void
testPriority()
void
testRunOneTask()
void
testRunTwoTaskDifferentTransactions()
void
testRunTwoTasksSameTransaction()
void
testSuspendAndSingleSteppingWhileYielding()
void
testSuspendBeforeSchedulingTasks()
void
testSuspendWhileRunningTasks()
void
testSuspendWhileYielding()
void
testWaitForHigherPriorityTasks()
-
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.io.IOException
- Throws:
java.io.IOException
-
tearDown
public void tearDown()
-
testRunOneTask
public void testRunOneTask()
-
testRunTwoTasksSameTransaction
public void testRunTwoTasksSameTransaction()
-
testRunTwoTaskDifferentTransactions
public void testRunTwoTaskDifferentTransactions()
-
testNewTransactionGroupWithoutNewTransaction
public void testNewTransactionGroupWithoutNewTransaction()
-
testNewTransactionGroupWithNewTransaction
public void testNewTransactionGroupWithNewTransaction()
-
testSuspendBeforeSchedulingTasks
public void testSuspendBeforeSchedulingTasks()
-
testSuspendWhileRunningTasks
public void testSuspendWhileRunningTasks()
-
testIsBusy
public void testIsBusy()
-
testWaitForHigherPriorityTasks
public void testWaitForHigherPriorityTasks()
-
testSuspendWhileYielding
public void testSuspendWhileYielding()
-
testSuspendAndSingleSteppingWhileYielding
public void testSuspendAndSingleSteppingWhileYielding()
-
testPriority
public void testPriority()
-
testCancelTask
public void testCancelTask()
-
testCancelGroup
public void testCancelGroup()
-
testCancelAll
public void testCancelAll()
-
testAddingTaskByGroupNameToRunningGroup
public void testAddingTaskByGroupNameToRunningGroup()
-
testAddingTaskByGroupNameToWaitingGroup
public void testAddingTaskByGroupNameToWaitingGroup()
-
testAddingTaskByGroupNameToNonExistingGroup
public void testAddingTaskByGroupNameToNonExistingGroup()
-
testExceptionInTaskListenerTaskCompleted
public void testExceptionInTaskListenerTaskCompleted()
-
testExceptionInTaskListenerTaskStarted
public void testExceptionInTaskListenerTaskStarted()
-
-