mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-06 03:50:02 +02:00
Merge remote-tracking branch 'origin/GP-0-dragonmacher-test-fixes-3-14-24' into patch
This commit is contained in:
commit
26d3a2bc79
1 changed files with 13 additions and 0 deletions
|
@ -34,6 +34,7 @@ import javax.swing.tree.*;
|
|||
|
||||
import org.junit.Assert;
|
||||
|
||||
import ghidra.framework.ApplicationConfiguration;
|
||||
import ghidra.util.*;
|
||||
import ghidra.util.datastruct.WeakSet;
|
||||
import ghidra.util.exception.AssertException;
|
||||
|
@ -48,6 +49,18 @@ import utility.function.ExceptionalCallback;
|
|||
* should use AbstractGenericTest instead
|
||||
*/
|
||||
public class AbstractGuiTest extends AbstractGenericTest {
|
||||
|
||||
@Override
|
||||
protected ApplicationConfiguration createApplicationConfiguration() {
|
||||
// A simple way to signal that Gui tests are not headless
|
||||
return new ApplicationConfiguration() {
|
||||
@Override
|
||||
public boolean isHeadless() {
|
||||
return false;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets all windows in the system (including Frames).
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue