mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-21 20:42:20 +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;
|
||||
|
||||
import static org.junit.Assert.assertFalse;
|
||||
import static org.junit.Assert.assertTrue;
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
import java.util.*;
|
||||
|
||||
@@ -726,10 +725,12 @@ public class VisualGraphPathHighlighterTest extends AbstractVisualGraphTest {
|
||||
|
||||
private void focusMode(PathHighlightMode mode) {
|
||||
swing(() -> graphComponent.setVertexFocusPathHighlightMode(mode));
|
||||
waitForPathHighligter();
|
||||
}
|
||||
|
||||
private void hoverMode(PathHighlightMode mode) {
|
||||
swing(() -> graphComponent.setVertexHoverPathHighlightMode(mode));
|
||||
waitForPathHighligter();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user