mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-28 15:55:38 +08:00
Tests - fixed timing issue in path highlighting test
This commit is contained in:
+3
-2
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user