Examples of queryRouterConfigReport()


Examples of com.dianping.cat.report.service.ReportServiceManager.queryRouterConfigReport()

  @Test
  public void test1() throws Exception {
    ReportServiceManager service = lookup(ReportServiceManager.class);
    SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
    RouterConfig report1 = service.queryRouterConfigReport(Constants.CAT, sdf.parse(day3), sdf.parse(day4));

    RouterConfig report2 = service.queryRouterConfigReport(Constants.CAT, sdf.parse(day3), sdf.parse(day4));

    Assert.assertEquals(report1.toString(), report2.toString());
  }
View Full Code Here

Examples of com.dianping.cat.report.service.ReportServiceManager.queryRouterConfigReport()

  public void test1() throws Exception {
    ReportServiceManager service = lookup(ReportServiceManager.class);
    SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
    RouterConfig report1 = service.queryRouterConfigReport(Constants.CAT, sdf.parse(day3), sdf.parse(day4));

    RouterConfig report2 = service.queryRouterConfigReport(Constants.CAT, sdf.parse(day3), sdf.parse(day4));

    Assert.assertEquals(report1.toString(), report2.toString());
  }
 
}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.