Package com.google.speedtracer.client.util

Examples of com.google.speedtracer.client.util.Url


    assertEquals(child2, child1Children.get(0));
    assertEquals("child2", child1Children.get(0).getSymbol().getSymbolName());
  }

  public void testJavaScriptProfileNodeMerge() {
    Url resourceUrl = new Url("");
    JavaScriptProfileNode child0 = new JavaScriptProfileNode(new JsSymbol(
        resourceUrl, 0, "child0"));
    child0.addSelfTime(1);
    child0.addTime(2);
    assertEquals(1.0, child0.getSelfTime(), .001);
View Full Code Here


    assertEquals(4.0, child0.getSelfTime(), .001);
    assertEquals(16.0, child0.getTime(), .001);
  }

  public void testJavaScriptProfileNodeTime() {
    Url resourceUrl = new Url("");
    JavaScriptProfileNode topNode = new JavaScriptProfileNode(new JsSymbol(
        resourceUrl, 0, "top"));
    JavaScriptProfileNode child0 = new JavaScriptProfileNode(new JsSymbol(
        resourceUrl, 0, "child0"));
    topNode.addChild(child0);
View Full Code Here

TOP

Related Classes of com.google.speedtracer.client.util.Url

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.