use of com.insightfullogic.honest_profiler.framework.checker.TreeDiffTableViewCheckAdapter in project honest-profiler by jvm-profiling-tools.
the class TreeDiffViewTest method testTreeDiffViewScenario.
// Actual Test Method
@Test
public void testTreeDiffViewScenario() {
FxRobot robot = new FxRobot();
waitUntil(asyncFx(() -> getMainStage().setMaximized(true)));
newProfileTab(robot, app(), 0, "Base : " + baseScenario.getName(), baseScenario, LOG);
newProfileTab(robot, app(), 1, "New : " + newScenario.getName(), newScenario, LOG);
selectTab(robot, 1);
selectCtxMenu(robot, "#compareButton", 0, "Base : " + baseScenario.getName());
selectTab(robot, 2);
selectView(robot, TREE);
selectFrameGrouping(robot, frameGrouping, "#tree");
selectThreadGrouping(robot, threadGrouping, "#tree");
clickExpandAll(robot, "#tree");
TreeTableView<DiffNode> tableView = getTreeDiffTableView(robot);
newScenario.checkTreeDiffAggregation(baseScenario, new TreeDiffTableViewCheckAdapter(threadGrouping, frameGrouping, tableView));
}
Aggregations