public void testHourlyReport() throws Exception{
Cat.initialize("192.168.7.43");
ServiceReportBuilder builder = lookup(ServiceReportBuilder.class);
HostinfoService hostinfoService = lookup(HostinfoService.class);
hostinfoService.initialize();
builder.buildHourlyTask(Constants.REPORT_SERVICE, "cat", new SimpleDateFormat("yyyyMMddHH").parse("2013082011"));
}
@Test
public void testDailyReport() throws Exception{