Skip to content

Ghidra is a software reverse engineering (SRE) framework

GP-0 fix clipboard test byteviewer chars format

dev747368345a723b6142
diff --git a/Ghidra/Test/IntegrationTest/src/test.slow/java/ghidra/app/plugin/core/clipboard/ClipboardPluginTest.java b/Ghidra/Test/IntegrationTest/src/test.slow/java/ghidra/app/plugin/core/clipboard/ClipboardPluginTest.java
index f0ec84502a..dfcadeee03 100644
--- a/Ghidra/Test/IntegrationTest/src/test.slow/java/ghidra/app/plugin/core/clipboard/ClipboardPluginTest.java
+++ b/Ghidra/Test/IntegrationTest/src/test.slow/java/ghidra/app/plugin/core/clipboard/ClipboardPluginTest.java
@@ -985,7 +985,7 @@ public class ClipboardPluginTest extends AbstractGhidraHeadedIntegrationTest {
public void testCopyTextSelection_ByteViewer_SingleLayout() throws Exception {
ByteViewerOptionsDialog dialog = launchByteViewerOptions();
- setByteViewerViewSelected(dialog, "Ascii", true);
+ setByteViewerViewSelected(dialog, "Chars", true);
setByteViewerViewSelected(dialog, "Octal", true);
pressButtonByText(dialog.getComponent(), "OK");
@@ -1027,7 +1027,7 @@ public class ClipboardPluginTest extends AbstractGhidraHeadedIntegrationTest {
//
// Test copying from the Hex view
//
- bc = findByteViewerComponent(panel, "Ascii");
+ bc = findByteViewerComponent(panel, "Chars");
assertTrue(bc.isVisible());
bounds = bc.getBounds();
@@ -1074,7 +1074,7 @@ public class ClipboardPluginTest extends AbstractGhidraHeadedIntegrationTest {
@Test
public void testCopyTextSelection_ByteViewer_MultipleLayout() throws Exception {
ByteViewerOptionsDialog dialog = launchByteViewerOptions();
- setByteViewerViewSelected(dialog, "Ascii", true);
+ setByteViewerViewSelected(dialog, "Chars", true);
setByteViewerViewSelected(dialog, "Octal", true);
pressButtonByText(dialog.getComponent(), "OK");
@@ -1117,7 +1117,7 @@ public class ClipboardPluginTest extends AbstractGhidraHeadedIntegrationTest {
//
// Test copying from the Hex view
//
- bc = findByteViewerComponent(panel, "Ascii");
+ bc = findByteViewerComponent(panel, "Chars");
assertTrue(bc.isVisible());
bounds = bc.getBounds();