Package com.google.gwt.debugpanel.models

Examples of com.google.gwt.debugpanel.models.DebugStatisticsValue


      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());
    }
  }
View Full Code Here


        end = start;
      }
      result = new GwtNode(label, parent.getValue().getModuleName(), start, end);
      int idx = 0;
      for (; idx < parent.getChildCount(); idx++) {
        DebugStatisticsValue value = parent.getChild(idx).getValue();
        if (start <= value.getStartTime() && end <= value.getEndTime()) {
          break;
        }
      }
      model.addNodeAndUpdateItsParents(parent, result, idx);
    }
View Full Code Here

    assertFalse(rpcFilter.include(value("_abc")));
    assertFalse(rpcFilter.include(value("abc_")));
  }

  private static DebugStatisticsValue value(final long start, final long end) {
    return new DebugStatisticsValue("name", "module", start, end) {};
  }
View Full Code Here

TOP

Related Classes of com.google.gwt.debugpanel.models.DebugStatisticsValue

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.