mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-28 14:05:38 +08:00
GP-0 fix clipboard test byteviewer chars format
This commit is contained in:
+4
-4
@@ -985,7 +985,7 @@ public class ClipboardPluginTest extends AbstractGhidraHeadedIntegrationTest {
|
|||||||
public void testCopyTextSelection_ByteViewer_SingleLayout() throws Exception {
|
public void testCopyTextSelection_ByteViewer_SingleLayout() throws Exception {
|
||||||
|
|
||||||
ByteViewerOptionsDialog dialog = launchByteViewerOptions();
|
ByteViewerOptionsDialog dialog = launchByteViewerOptions();
|
||||||
setByteViewerViewSelected(dialog, "Ascii", true);
|
setByteViewerViewSelected(dialog, "Chars", true);
|
||||||
setByteViewerViewSelected(dialog, "Octal", true);
|
setByteViewerViewSelected(dialog, "Octal", true);
|
||||||
pressButtonByText(dialog.getComponent(), "OK");
|
pressButtonByText(dialog.getComponent(), "OK");
|
||||||
|
|
||||||
@@ -1027,7 +1027,7 @@ public class ClipboardPluginTest extends AbstractGhidraHeadedIntegrationTest {
|
|||||||
//
|
//
|
||||||
// Test copying from the Hex view
|
// Test copying from the Hex view
|
||||||
//
|
//
|
||||||
bc = findByteViewerComponent(panel, "Ascii");
|
bc = findByteViewerComponent(panel, "Chars");
|
||||||
assertTrue(bc.isVisible());
|
assertTrue(bc.isVisible());
|
||||||
|
|
||||||
bounds = bc.getBounds();
|
bounds = bc.getBounds();
|
||||||
@@ -1074,7 +1074,7 @@ public class ClipboardPluginTest extends AbstractGhidraHeadedIntegrationTest {
|
|||||||
@Test
|
@Test
|
||||||
public void testCopyTextSelection_ByteViewer_MultipleLayout() throws Exception {
|
public void testCopyTextSelection_ByteViewer_MultipleLayout() throws Exception {
|
||||||
ByteViewerOptionsDialog dialog = launchByteViewerOptions();
|
ByteViewerOptionsDialog dialog = launchByteViewerOptions();
|
||||||
setByteViewerViewSelected(dialog, "Ascii", true);
|
setByteViewerViewSelected(dialog, "Chars", true);
|
||||||
setByteViewerViewSelected(dialog, "Octal", true);
|
setByteViewerViewSelected(dialog, "Octal", true);
|
||||||
pressButtonByText(dialog.getComponent(), "OK");
|
pressButtonByText(dialog.getComponent(), "OK");
|
||||||
|
|
||||||
@@ -1117,7 +1117,7 @@ public class ClipboardPluginTest extends AbstractGhidraHeadedIntegrationTest {
|
|||||||
//
|
//
|
||||||
// Test copying from the Hex view
|
// Test copying from the Hex view
|
||||||
//
|
//
|
||||||
bc = findByteViewerComponent(panel, "Ascii");
|
bc = findByteViewerComponent(panel, "Chars");
|
||||||
assertTrue(bc.isVisible());
|
assertTrue(bc.isVisible());
|
||||||
|
|
||||||
bounds = bc.getBounds();
|
bounds = bc.getBounds();
|
||||||
|
|||||||
Reference in New Issue
Block a user