Ghidra is a software reverse engineering (SRE) framework
Tests - updated test to handle html-escaped '&'
dragonmachere75b1cd6db1f
diff --git a/Ghidra/Features/Base/src/test.slow/java/ghidra/framework/plugintool/dialog/KeyBindingsTest.java b/Ghidra/Features/Base/src/test.slow/java/ghidra/framework/plugintool/dialog/KeyBindingsTest.javaindex a4d0eb300b..7b90f6c136 100644--- a/Ghidra/Features/Base/src/test.slow/java/ghidra/framework/plugintool/dialog/KeyBindingsTest.java+++ b/Ghidra/Features/Base/src/test.slow/java/ghidra/framework/plugintool/dialog/KeyBindingsTest.java@@ -101,10 +101,12 @@ public class KeyBindingsTest extends AbstractGhidraHeadedIntegrationTest {selectRowForAction(action1);String actualText = getText(statusPane);+ String description = action1.getDescription();+ String escaped = description.replaceAll("&", "&");assertTrue("Description is not updated for action '" + action1.getName() + "'; instead the " +- "description is '" + actualText + "'",- actualText.indexOf(action1.getDescription()) != -1);+ "description is '" + actualText + "'\n\tDescrption: " + escaped,+ actualText.indexOf(escaped) != -1);}@Test