Class MSP430XAssemblyTest
- java.lang.Object
-
- generic.test.AbstractGTest
-
- generic.test.AbstractGenericTest
-
- ghidra.app.plugin.assembler.sleigh.AbstractAssemblyTest
-
- ghidra.app.plugin.assembler.sleigh.MSP430XAssemblyTest
-
public class MSP430XAssemblyTest extends AbstractAssemblyTest
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ghidra.app.plugin.assembler.sleigh.AbstractAssemblyTest
AbstractAssemblyTest.DisassemblyMismatchException
-
Nested classes/interfaces inherited from class generic.test.AbstractGenericTest
AbstractGenericTest.ExceptionHandlingRunner
-
-
Field Summary
-
Fields inherited from class ghidra.app.plugin.assembler.sleigh.AbstractAssemblyTest
DEFAULT_ADDR
-
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 MSP430XAssemblyTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected LanguageID
getLanguageID()
Get the ID of the language under test The test case will automatically attempt to obtain a suitable assembler before the first test is run.void
testAssemble_MOV_W_0_0xcmSPm()
void
testAssemble_MOVA_0x8mSPm_R12()
void
testAssemble_RPT_0x8_b_RLAX_W_R14()
-
Methods inherited from class ghidra.app.plugin.assembler.sleigh.AbstractAssemblyTest
assertAllSemanticErrors, assertAllSemanticErrors, assertAllSyntaxErrors, assertOneCompatRestExact, assertOneCompatRestExact, assertOneCompatRestExact, assertOneCompatRestExact, assertOneCompatRestExact, checkAllExact, checkAllSemanticErrs, checkAllSyntaxErrs, checkOneCompat, dbgPrintTrees, disassemble, dumpConstructorTree, formatWithCons, runTest, setUp, tearDown
-
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
-
getLanguageID
protected LanguageID getLanguageID()
Description copied from class:AbstractAssemblyTest
Get the ID of the language under test The test case will automatically attempt to obtain a suitable assembler before the first test is run.- Specified by:
getLanguageID
in classAbstractAssemblyTest
- Returns:
- the ID of the language
-
testAssemble_MOVA_0x8mSPm_R12
public void testAssemble_MOVA_0x8mSPm_R12()
-
testAssemble_RPT_0x8_b_RLAX_W_R14
public void testAssemble_RPT_0x8_b_RLAX_W_R14()
-
testAssemble_MOV_W_0_0xcmSPm
public void testAssemble_MOV_W_0_0xcmSPm()
-
-