use of com.insightfullogic.honest_profiler.ports.javafx.model.ProfileContext.ProfileMode.LOG in project honest-profiler by jvm-profiling-tools.
the class TreeViewQuickFilterTest method testTreeQuickFilterScenario.
// Actual Test Method
@Test
public void testTreeQuickFilterScenario() {
FxRobot robot = new FxRobot();
newProfileTab(robot, app(), 0, scenario.getName(), scenario, LOG);
selectView(robot, TREE);
focusOn(robot, "#quickFilterText", "#tree");
robot.write("ba");
clickQuickFilterButton(robot, "#tree");
checkResult(robot, keyFlt(s -> s.contains("ba")));
selectView(robot, TREE);
focusOn(robot, "#quickFilterText", "#tree");
robot.type(BACK_SPACE, BACK_SPACE, ENTER);
checkResult(robot);
}
use of com.insightfullogic.honest_profiler.ports.javafx.model.ProfileContext.ProfileMode.LOG in project honest-profiler by jvm-profiling-tools.
the class FlatViewQuickFilterTest method testFlatQuickFilterScenario.
@Test
public void testFlatQuickFilterScenario() {
FxRobot robot = new FxRobot();
newProfileTab(robot, app(), 0, scenario.getName(), scenario, LOG);
selectView(robot, FLAT);
focusOn(robot, "#quickFilterText", "#flat");
robot.write("ba");
clickQuickFilterButton(robot, "#flat");
checkResult(robot, keyFlt(s -> s.contains("ba")));
selectView(robot, FLAT);
focusOn(robot, "#quickFilterText", "#flat");
robot.type(BACK_SPACE, BACK_SPACE, ENTER);
checkResult(robot);
}
Aggregations