@@ -0,0 +1,648 @@
+package com.dianping.cat.report.task.storage;%0A%0Aimport org.unidal.lookup.ComponentTestCase;%0A%0Aimport com.dianping.cat.helper.TimeHelper;%0Aimport com.dianping.cat.report.task.TaskBuilder;%0A%0Apublic class StorageReportBuilderTest extends ComponentTestCase %7B%0A%0A%09// @Test%0A%09public void testDailyTask() %7B%0A%09%09TaskBuilder builder = lookup(TaskBuilder.class, StorageReportBuilder.ID);%0A%0A%09%09builder.buildDailyTask(StorageReportBuilder.ID, %22cat-SQL%22, TimeHelper.getYesterday());%0A%09%09builder.buildWeeklyTask(StorageReportBuilder.ID, %22cat-SQL%22, TimeHelper.getCurrentWeek());%0A%09%09builder.buildMonthlyTask(StorageReportBuilder.ID, %22cat-SQL%22, TimeHelper.getLastMonth());%0A%09%7D%0A%0A%7D%0A

add test case