use of com.insightfullogic.honest_profiler.framework.checker.TreeTableViewCheckAdapter in project honest-profiler by jvm-profiling-tools.
the class TreeViewQuickFilterTest method checkResult.
private void checkResult(FxRobot robot, ScenarioStraightFilter... filters) {
asList(ThreadGrouping.values()).forEach(tg -> {
asList(FrameGrouping.values()).forEach(fg -> {
selectThreadGrouping(robot, tg, "#tree");
selectFrameGrouping(robot, fg, "#tree");
clickExpandAll(robot, "#tree");
TreeTableView<Node> tableView = getTreeTableView(robot);
scenario.checkTreeAggregation(new TreeTableViewCheckAdapter(tg, fg, tableView), filters);
});
});
}
use of com.insightfullogic.honest_profiler.framework.checker.TreeTableViewCheckAdapter in project honest-profiler by jvm-profiling-tools.
the class TreeViewTest method testTreeViewScenario.
// Actual Test Method
@Test
public void testTreeViewScenario() {
FxRobot robot = new FxRobot();
newProfileTab(robot, app(), 0, scenario.getName(), scenario, LOG);
selectView(robot, TREE);
selectThreadGrouping(robot, threadGrouping, "#tree");
selectFrameGrouping(robot, frameGrouping, "#tree");
clickExpandAll(robot, "#tree");
TreeTableView<Node> tableView = getTreeTableView(robot);
runLater(() -> scenario.checkTreeAggregation(new TreeTableViewCheckAdapter(threadGrouping, frameGrouping, tableView)));
}
Aggregations