Skip to content

Ghidra is a software reverse engineering (SRE) framework

GP-0: Fixing test

Ryan Kurtzc03417b3f658
diff --git a/Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/script/GhidraScriptMgrPlugin3Test.java b/Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/script/GhidraScriptMgrPlugin3Test.java
index 6ac044ec73..3bb0bbfb40 100644
--- a/Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/script/GhidraScriptMgrPlugin3Test.java
+++ b/Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/script/GhidraScriptMgrPlugin3Test.java
@@ -261,7 +261,7 @@ public class GhidraScriptMgrPlugin3Test extends AbstractGhidraScriptMgrPluginTes
@Test
public void testNewInCategory() throws Exception {
- String category = "Memory";
+ String category = "Update";
selectCategory(category);
ResourceFile newScript = createNewScriptUsingGUI();
@@ -292,8 +292,8 @@ public class GhidraScriptMgrPlugin3Test extends AbstractGhidraScriptMgrPluginTes
SaveDialog saveDialog = waitForDialogComponent(SaveDialog.class);
- final ListPanel listPanel =
- (ListPanel) findComponentByName(saveDialog.getComponent(), "PATH_LIST");
+ final ListPanel<?> listPanel =
+ (ListPanel<?>) findComponentByName(saveDialog.getComponent(), "PATH_LIST");
assertNotNull(listPanel);
assertTrue(listPanel.isVisible());
assertEquals(2, listPanel.getListModel().getSize());