Package ghidra.program.model.data
Class DataTypeWriterTest
- java.lang.Object
-
- generic.test.AbstractGTest
-
- generic.test.AbstractGenericTest
-
- ghidra.program.model.data.DataTypeWriterTest
-
public class DataTypeWriterTest 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 DataTypeWriterTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
void
tearDown()
void
testArray()
void
testArrayInStructure()
void
testArrayInUnion()
void
testEnum()
void
testEnum2()
void
testPointer()
void
testSizableDynamicInStructure()
void
testStructure()
void
testStructureBasic()
void
testStructureInStructure()
void
testStructureInUnion()
void
testStructureSelfReference()
void
testTypeDef()
void
testTypeDef2()
void
testTypeDef3()
void
testTypeDef4()
void
testUnion()
void
testUnionInStructure()
void
testUnionInUnion()
void
testUnionSelfReference()
-
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() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testTypeDef
public void testTypeDef() throws java.io.IOException, CancelledException
- Throws:
java.io.IOException
CancelledException
-
testTypeDef2
public void testTypeDef2() throws java.io.IOException, CancelledException
- Throws:
java.io.IOException
CancelledException
-
testTypeDef3
public void testTypeDef3() throws java.io.IOException, CancelledException
- Throws:
java.io.IOException
CancelledException
-
testTypeDef4
public void testTypeDef4() throws java.io.IOException, CancelledException
- Throws:
java.io.IOException
CancelledException
-
testEnum
public void testEnum() throws java.io.IOException, CancelledException
- Throws:
java.io.IOException
CancelledException
-
testEnum2
public void testEnum2() throws java.io.IOException, CancelledException
- Throws:
java.io.IOException
CancelledException
-
testStructure
public void testStructure() throws java.io.IOException, CancelledException
- Throws:
java.io.IOException
CancelledException
-
testStructureBasic
public void testStructureBasic() throws java.io.IOException, CancelledException
- Throws:
java.io.IOException
CancelledException
-
testStructureInStructure
public void testStructureInStructure() throws java.io.IOException, CancelledException
- Throws:
java.io.IOException
CancelledException
-
testStructureInUnion
public void testStructureInUnion() throws java.io.IOException, CancelledException
- Throws:
java.io.IOException
CancelledException
-
testStructureSelfReference
public void testStructureSelfReference() throws java.io.IOException, CancelledException
- Throws:
java.io.IOException
CancelledException
-
testUnion
public void testUnion() throws java.io.IOException, CancelledException
- Throws:
java.io.IOException
CancelledException
-
testUnionInUnion
public void testUnionInUnion() throws java.io.IOException, CancelledException
- Throws:
java.io.IOException
CancelledException
-
testUnionInStructure
public void testUnionInStructure() throws java.io.IOException, CancelledException
- Throws:
java.io.IOException
CancelledException
-
testArray
public void testArray()
-
testSizableDynamicInStructure
public void testSizableDynamicInStructure() throws java.io.IOException, CancelledException
- Throws:
java.io.IOException
CancelledException
-
testArrayInStructure
public void testArrayInStructure() throws java.io.IOException, CancelledException
- Throws:
java.io.IOException
CancelledException
-
testArrayInUnion
public void testArrayInUnion() throws java.io.IOException, CancelledException
- Throws:
java.io.IOException
CancelledException
-
testUnionSelfReference
public void testUnionSelfReference() throws java.io.IOException, CancelledException
- Throws:
java.io.IOException
CancelledException
-
testPointer
public void testPointer() throws java.io.IOException, CancelledException
- Throws:
java.io.IOException
CancelledException
-
-