Package com.google.test.metric.report

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


  }

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

TOP

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

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.