DebugStatisticsModel.Node<GwtDebugStatisticsValue> actual) {
assertEquals(expected.getValue().getLabel() + " childcount",
expected.getChildCount(), actual.getChildCount());
for (int i = 0; i < expected.getChildCount(); i++) {
deepCompare(expected.getChild(i), actual.getChild(i));
DebugStatisticsValue expectedValue = expected.getChild(i).getValue();
DebugStatisticsValue actualValue = actual.getChild(i).getValue();
assertEquals(expected.getValue().getLabel() + " child " + i,
expectedValue.getLabel(), actualValue.getLabel());
assertEquals(expected.getValue().getLabel() + " child " + i,
expectedValue.getStartTime(), actualValue.getStartTime());
assertEquals(expected.getValue().getLabel() + " child " + i,
expectedValue.getEndTime(), actualValue.getEndTime());
}
}