mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-06 12:00:04 +02:00
Tests - fixed timing issue in path highlighting test
This commit is contained in:
parent
23a05a4177
commit
0e83fdbe70
1 changed files with 3 additions and 2 deletions
|
@ -15,8 +15,7 @@
|
||||||
*/
|
*/
|
||||||
package ghidra.graph.viewer.edge;
|
package ghidra.graph.viewer.edge;
|
||||||
|
|
||||||
import static org.junit.Assert.assertFalse;
|
import static org.junit.Assert.*;
|
||||||
import static org.junit.Assert.assertTrue;
|
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
@ -726,10 +725,12 @@ public class VisualGraphPathHighlighterTest extends AbstractVisualGraphTest {
|
||||||
|
|
||||||
private void focusMode(PathHighlightMode mode) {
|
private void focusMode(PathHighlightMode mode) {
|
||||||
swing(() -> graphComponent.setVertexFocusPathHighlightMode(mode));
|
swing(() -> graphComponent.setVertexFocusPathHighlightMode(mode));
|
||||||
|
waitForPathHighligter();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void hoverMode(PathHighlightMode mode) {
|
private void hoverMode(PathHighlightMode mode) {
|
||||||
swing(() -> graphComponent.setVertexHoverPathHighlightMode(mode));
|
swing(() -> graphComponent.setVertexHoverPathHighlightMode(mode));
|
||||||
|
waitForPathHighligter();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue