use of com.insightfullogic.honest_profiler.framework.checker.TreeDiffCheckAdapter in project honest-profiler by jvm-profiling-tools.
the class TreeDiffAggregatorTest method testScenario.
// Actual Test Method
@Test
public void testScenario() {
TreeGenerator baseGen;
TreeGenerator newGen;
baseGen = new TreeGenerator(threadGrouping, frameGrouping);
baseScenario.executeAndEnd(baseGen);
newGen = new TreeGenerator(threadGrouping, frameGrouping);
newScenario.executeAndEnd(newGen);
TreeDiff diff = new TreeDiff();
diff.set(baseGen.getTree(), newGen.getTree());
baseScenario.checkTreeDiffAggregation(newScenario, new TreeDiffCheckAdapter(diff));
}
Aggregations