Package ghidra.program.model.data
Class EnumTest
- java.lang.Object
-
- generic.test.AbstractGTest
-
- generic.test.AbstractGenericTest
-
- ghidra.program.model.data.EnumTest
-
public class EnumTest extends AbstractGenericTest
Tests for Enum data types.
-
-
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 EnumTest()
Constructor for EnumTest.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
void
tearDown()
void
testAddValue()
void
testCloneRetain()
void
testCopyDontRetain()
void
testCreateEnum()
void
testEditValue()
void
testMoveEnum()
void
testRemoveEnum()
void
testRemoveValue()
void
testReplace()
void
testResolve()
-
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()
-
testCreateEnum
public void testCreateEnum() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testRemoveValue
public void testRemoveValue() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testAddValue
public void testAddValue() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testEditValue
public void testEditValue() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testCloneRetain
public void testCloneRetain() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testCopyDontRetain
public void testCopyDontRetain() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testRemoveEnum
public void testRemoveEnum() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testMoveEnum
public void testMoveEnum() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testResolve
public void testResolve() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testReplace
public void testReplace() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-