GP-0 fix clipboard test byteviewer chars format

This commit is contained in:
dev747368
2026-01-07 17:57:49 +00:00
parent 1a26772550
commit 345a723b61

View File

@@ -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();