コード例 #1
0
 public void Usage_Tests()
 {
     try
     {
         usageService.GetUsageLogsForSomePeriod(DateTime.Now.AddMonths(-1), DateTime.Now, Utils.Local_Output_Path + "UsageLogsForSomePeriod.xlsx");
         usageService.GetUsageForCurrentSubscriptionPeriod(Utils.Local_Output_Path + "UsageForCurrentSubscriptionPeriod.xlsx");
         usageService.GetUsageForPreviousSubscriptionPeriod(Utils.Local_Output_Path + "UsageForPreviousSubscriptionPeriod.xlsx");
         usageService.GetSummaryUsageForCurrentSubscriptionPeriod(Utils.Local_Output_Path + "SummaryUsageForCurrentSubscriptionPeriod.xlsx");
     }
     catch (Exception ex)
     {
         Assert.Fail(ex.Message);
     }
 }