GP-2875 Split Generic module into two modules to remove Gui related code from the generic module

This commit is contained in:
ghidragon 2022-11-30 12:33:04 -05:00
parent 522bda39e8
commit 56fcce1456
228 changed files with 1652 additions and 1572 deletions

View file

@ -22,7 +22,7 @@ import javax.swing.tree.TreeModel;
import javax.swing.tree.TreePath;
import docking.widgets.tree.GTreeNode;
import generic.test.AbstractGenericTest;
import generic.test.AbstractGuiTest;
public class TreeTestUtils {
public static TreePath findTreePathToText(JTree tree, String text) {
@ -57,7 +57,7 @@ public class TreeTestUtils {
*/
public static void selectTreeNodeByText(final JTree tree, final String text) {
AbstractGenericTest.runSwing(new Runnable() {
AbstractGuiTest.runSwing(new Runnable() {
@Override
public void run() {
TreePath path = findTreePathToText(tree, text);
@ -68,9 +68,9 @@ public class TreeTestUtils {
}
});
AbstractGenericTest.waitForSwing();
AbstractGuiTest.waitForSwing();
AbstractGenericTest.runSwing(new Runnable() {
AbstractGuiTest.runSwing(new Runnable() {
@Override
public void run() {
TreePath path = findTreePathToText(tree, text);