use of com.insightfullogic.honest_profiler.framework.checker.FlatDiffCheckAdapter in project honest-profiler by jvm-profiling-tools.
the class FlatDiffAggregatorTest method testScenario.
// Actual Test Method
@Test
public void testScenario() {
FlatGenerator baseGen;
FlatGenerator newGen;
baseGen = new FlatGenerator(threadGrouping, frameGrouping);
baseScenario.executeAndEnd(baseGen);
newGen = new FlatGenerator(threadGrouping, frameGrouping);
newScenario.executeAndEnd(newGen);
FlatDiff diff = new FlatDiff();
diff.set(baseGen.getFlat(), newGen.getFlat());
baseScenario.checkFlatDiffAggregation(newScenario, new FlatDiffCheckAdapter(diff));
}
Aggregations