Package ghidra.graph.job
Class VisualGraphJobRunnerTest
- java.lang.Object
-
- generic.test.AbstractGTest
-
- generic.test.AbstractGenericTest
-
- ghidra.graph.job.VisualGraphJobRunnerTest
-
public class VisualGraphJobRunnerTest 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 VisualGraphJobRunnerTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
void
tearDown()
void
testCannotScheduleFinishedJob()
void
testDispose_WhenEmpty()
void
testDispose_WithCurrentJob_NoPendingJobs()
void
testDispose_WithCurrentJob_WithFinalJob()
void
testDispose_WithCurrentJob_WithPendingJobs()
void
testDispose_WithFinalJob()
void
testFinalJobGetsRunAfterQueuedJobs()
void
testFinishAllJobs_WhenEmpty()
void
testFinishAllJobs_WithCurrentJob_FinalJobGetsRun()
void
testFinishAllJobs_WithCurrentJob_NoPendingJobs()
void
testFinishAllJobs_WithCurrentJob_WithPendingJobs()
void
testFinishAllJobs_WithFinalJob()
void
testRunFinalJob()
void
testRunJob()
void
testRunJobDoesNotShortCutJobsThatCannotBeShortcut()
void
testRunJobShortCutsQueuedJobsButLastOne()
void
testRunJobShortCutsRunningJob()
void
testSchedule_ShortCutsQueuedJobs_ButNotThoseThatCannotBeShortcutOrThoseThatFollow()
void
testSetFinalJobDoesNotShortCutRunningJob()
-
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()
-
testRunJob
public void testRunJob()
-
testRunFinalJob
public void testRunFinalJob()
-
testRunJobShortCutsRunningJob
public void testRunJobShortCutsRunningJob()
-
testRunJobDoesNotShortCutJobsThatCannotBeShortcut
public void testRunJobDoesNotShortCutJobsThatCannotBeShortcut()
-
testRunJobShortCutsQueuedJobsButLastOne
public void testRunJobShortCutsQueuedJobsButLastOne()
-
testSchedule_ShortCutsQueuedJobs_ButNotThoseThatCannotBeShortcutOrThoseThatFollow
public void testSchedule_ShortCutsQueuedJobs_ButNotThoseThatCannotBeShortcutOrThoseThatFollow()
-
testSetFinalJobDoesNotShortCutRunningJob
public void testSetFinalJobDoesNotShortCutRunningJob()
-
testFinalJobGetsRunAfterQueuedJobs
public void testFinalJobGetsRunAfterQueuedJobs()
-
testCannotScheduleFinishedJob
public void testCannotScheduleFinishedJob()
-
testFinishAllJobs_WhenEmpty
public void testFinishAllJobs_WhenEmpty()
-
testFinishAllJobs_WithFinalJob
public void testFinishAllJobs_WithFinalJob()
-
testFinishAllJobs_WithCurrentJob_NoPendingJobs
public void testFinishAllJobs_WithCurrentJob_NoPendingJobs()
-
testFinishAllJobs_WithCurrentJob_WithPendingJobs
public void testFinishAllJobs_WithCurrentJob_WithPendingJobs()
-
testDispose_WhenEmpty
public void testDispose_WhenEmpty()
-
testDispose_WithFinalJob
public void testDispose_WithFinalJob()
-
testDispose_WithCurrentJob_WithFinalJob
public void testDispose_WithCurrentJob_WithFinalJob()
-
testDispose_WithCurrentJob_NoPendingJobs
public void testDispose_WithCurrentJob_NoPendingJobs()
-
testDispose_WithCurrentJob_WithPendingJobs
public void testDispose_WithCurrentJob_WithPendingJobs()
-
testFinishAllJobs_WithCurrentJob_FinalJobGetsRun
public void testFinishAllJobs_WithCurrentJob_FinalJobGetsRun()
-
-