mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 02:39:44 +02:00
Test fixes for atypical test path
This commit is contained in:
parent
c17448d2f2
commit
8eac3ca38b
2 changed files with 2 additions and 2 deletions
|
@ -2017,7 +2017,7 @@ public abstract class AbstractDockingTest extends AbstractGenericTest {
|
||||||
// ThreadedTableModelUpdateMgr<ROW_OBJECT>
|
// ThreadedTableModelUpdateMgr<ROW_OBJECT>
|
||||||
Object updateManager = getInstanceField("updateManager", model);
|
Object updateManager = getInstanceField("updateManager", model);
|
||||||
SwingUpdateManager sum =
|
SwingUpdateManager sum =
|
||||||
(SwingUpdateManager) getInstanceField("updateManager", updateManager);
|
(SwingUpdateManager) getInstanceField("addRemoveUpdater", updateManager);
|
||||||
Worker worker = (Worker) getInstanceField("worker", model);
|
Worker worker = (Worker) getInstanceField("worker", model);
|
||||||
String workerState = worker == null ? "<no worker>" : Boolean.toString(worker.isBusy());
|
String workerState = worker == null ? "<no worker>" : Boolean.toString(worker.isBusy());
|
||||||
return "Table model busy state - Swing Update Manager? " + sum.isBusy() + "; worker?" +
|
return "Table model busy state - Swing Update Manager? " + sum.isBusy() + "; worker?" +
|
||||||
|
|
|
@ -515,7 +515,7 @@ public class IncrementalThreadedTableTest extends AbstractThreadedTableTest {
|
||||||
|
|
||||||
if (isBusy) {
|
if (isBusy) {
|
||||||
SwingUpdateManager sum =
|
SwingUpdateManager sum =
|
||||||
(SwingUpdateManager) getInstanceField("updateManager", tableUpdateManager);
|
(SwingUpdateManager) getInstanceField("addRemoveUpdater", tableUpdateManager);
|
||||||
spy.record("\t\tSwingUpdateManager busy?: " + sum.isBusy());
|
spy.record("\t\tSwingUpdateManager busy?: " + sum.isBusy());
|
||||||
|
|
||||||
if (sum.isBusy()) {
|
if (sum.isBusy()) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue