Skip to content
Snippets Groups Projects
Commit 596adb8c authored by Florian Fittkau's avatar Florian Fittkau
Browse files

fixed tests

parent a94d6bb7
No related branches found
No related tags found
No related merge requests found
......@@ -34,6 +34,8 @@ public class IterationFilter extends AbstractReductionFilter implements ITraceRe
.get(i + 2);
if (firstBeforeEvent.compareTo(secondBeforeEvent) == 0) {
if (traceEvents.get(i + 3) instanceof AbstractAfterEventRecord) {
secondBeforeEvent.getRuntimeStatisticInformation().makeAccumulator(
0);
secondBeforeEvent.getRuntimeStatisticInformation().merge(
firstBeforeEvent.getRuntimeStatisticInformation(),
firstBeforeEvent.getObjectId());
......
......@@ -29,6 +29,8 @@ public class IterationFilterTest {
beforeEvent.setRuntimeStatisticInformation(new RuntimeStatisticInformation(11L));
traceEvents.add(beforeEvent);
beforeEvent.getRuntimeStatisticInformation().makeAccumulator(0);
final BeforeOperationEventRecord beforeEvent1 = new BeforeOperationEventRecord(2L, 1L, 1,
0, "test.package.Clazz.method2()", new HostApplicationMetaDataRecord("testSystem",
"testIp", "host", "application"));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment