Beispiel #1
0
 /// <summary>
 /// Get test coverage report
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 public static IDictionary <string, int?> GetReport(this IAutoRestReportService operations)
 {
     return(operations.GetReportAsync().GetAwaiter().GetResult());
 }
Beispiel #2
0
 /// <summary>
 /// Get test coverage report
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='qualifier'>
 /// If specified, qualifies the generated report further (e.g. '2.7' vs '3.5'
 /// in for Python). The only effect is, that generators that run all tests
 /// several times, can distinguish the generated reports.
 /// </param>
 public static IDictionary <string, int?> GetReport(this IAutoRestReportService operations, string qualifier = default(string))
 {
     return(operations.GetReportAsync(qualifier).GetAwaiter().GetResult());
 }