Package com.google.test.metric.report

Examples of com.google.test.metric.report.DrillDownReport


    if (printer.equals("summary")) {
      report = new TextReport(out, maxExcellentCost, maxAcceptableCost, worstOffenderCount);
    } else if (printer.equals("html")) {
      report = new HtmlReport(out, maxExcellentCost, maxAcceptableCost, worstOffenderCount);
    } else if (printer.equals("detail")) {
      report = new DrillDownReport(out, entryList, printDepth, minCost);
    } else {
      throw new CmdLineException("Don't understand '-print' option '"
          + printer + "'");
    }
  }
View Full Code Here


  }

  public void testGlobalLoadAccessStateThroughFinalShouldBeOne() {
    MethodCost cost =
        computer.compute(GlobalStateUser.class, "accessMutableState()V");
    new DrillDownReport(new PrintStream(new ByteArrayOutputStream()),
        null, Integer.MAX_VALUE, 0).print("", cost, 10);
    assertEquals("Expecting one for read and one for write", 2L,
        cost.getTotalGlobalCost());
  }
View Full Code Here

TOP

Related Classes of com.google.test.metric.report.DrillDownReport

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.