mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-22 10:02:49 +08:00
Test fixes
This commit is contained in:
+5
@@ -73,6 +73,7 @@ public class ExtensionManagerTest extends AbstractGhidraHeadedIntegrationTest {
|
||||
|
||||
// verify user is prompted to add new plugins
|
||||
extensionManager.checkForNewExtensions();
|
||||
waitForSwing();
|
||||
assertTrue(extensionsState.didPrompt());
|
||||
}
|
||||
|
||||
@@ -99,6 +100,7 @@ public class ExtensionManagerTest extends AbstractGhidraHeadedIntegrationTest {
|
||||
|
||||
// verify no prompt
|
||||
extensionManager.checkForNewExtensions();
|
||||
waitForSwing();
|
||||
assertFalse(extensionsState.didPrompt());
|
||||
}
|
||||
|
||||
@@ -127,6 +129,7 @@ public class ExtensionManagerTest extends AbstractGhidraHeadedIntegrationTest {
|
||||
|
||||
// verify user is prompted to add new plugins
|
||||
extensionManager.checkForNewExtensions();
|
||||
waitForSwing();
|
||||
assertTrue(extensionsState.didPrompt());
|
||||
}
|
||||
|
||||
@@ -159,6 +162,7 @@ public class ExtensionManagerTest extends AbstractGhidraHeadedIntegrationTest {
|
||||
|
||||
// verify no prompt, since the plugins in the extension have already been installed
|
||||
extensionManager.checkForNewExtensions();
|
||||
waitForSwing();
|
||||
assertFalse(extensionsState.didPrompt());
|
||||
}
|
||||
|
||||
@@ -191,6 +195,7 @@ public class ExtensionManagerTest extends AbstractGhidraHeadedIntegrationTest {
|
||||
|
||||
// verify user is prompted to add new plugins
|
||||
extensionManager.checkForNewExtensions();
|
||||
waitForSwing();
|
||||
assertTrue(extensionsState.didPrompt());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user