Package com.google.speedtracer.client.model

Examples of com.google.speedtracer.client.model.ParseHtmlEvent


            + paintEvent.getY()));
        details.put("Size", new StringCellRenderer(paintEvent.getWidth()
            + " x " + paintEvent.getHeight()));
        break;
      case ParseHtmlEvent.TYPE:
        ParseHtmlEvent parseHtmlEvent = e.cast();
        details.put("Line Number", new StringCellRenderer(
            parseHtmlEvent.getStartLine() + ""));
        details.put("Length", new StringCellRenderer(parseHtmlEvent.getLength()
            + " characters"));
        break;
      case EvalScript.TYPE:
        EvalScript scriptTagEvent = e.cast();
        details.put("Url", new StringCellRenderer(scriptTagEvent.getURL()));
View Full Code Here


   *   Layout:50
   *     ParseHtml:48
   *   Layout:50
   */
  public void testNonLayoutSubEvents2NoHint() {
    ParseHtmlEvent input = createParseHtmlEvent(2000);
   
    LayoutEvent child1 = createLayoutEvent(50);
    child1.addChild(createParseHtmlEvent(48));
    input.addChild(child1);
   
    LayoutEvent child2 = createLayoutEvent(50);
    child2.addChild(createParseHtmlEvent(48));
    input.addChild(child2);
   
    input.addChild(createLayoutEvent(50));
   
    test.addInput(input);
    HintletTestHelper.runTest(rule, test);
  }
View Full Code Here

TOP

Related Classes of com.google.speedtracer.client.model.ParseHtmlEvent

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.