mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-06 03:50:02 +02:00
Tests - fixed tests failing due to graph job not correctly notifying its
listener
This commit is contained in:
parent
dba6e117b8
commit
dee6e0cd4d
5 changed files with 21 additions and 17 deletions
|
@ -1305,8 +1305,7 @@ public abstract class AbstractGenericTest extends AbstractGTest {
|
|||
* @param count the number of rows to select
|
||||
* @throws Exception if there's a problem simulating the click
|
||||
*/
|
||||
public static void clickListRange(final JList list, final int row, int count)
|
||||
throws Exception {
|
||||
public static void clickListRange(final JList list, final int row, int count) throws Exception {
|
||||
waitForSwing();
|
||||
for (int i = row; i < row + count; i++) {
|
||||
Rectangle rect = list.getCellBounds(i, i);
|
||||
|
@ -1315,7 +1314,7 @@ public abstract class AbstractGenericTest extends AbstractGTest {
|
|||
}
|
||||
waitForSwing();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Clicks a range of items in a table (simulates holding SHIFT and selecting
|
||||
* each item in the range)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue