コード例 #1
0
 public static IEnumerable <object[]> AllErrorSetupAndContentCases <T>()
 {
     foreach (var contentCase in ErrorContentApiHelper.AllCases <T>())
     {
         foreach (var setupCase in ErrorSetupApiHelper.AllCases <T>())
         {
             yield return(new object[]
             {
                 $"{contentCase[0]}_{setupCase[0]}",
                 contentCase[1],
                 contentCase[2],
                 setupCase[1],
                 setupCase[2],
             });
         }
     }
 }
コード例 #2
0
 public static IEnumerable <object[]> AllSetupCommandCases()
 {
     return(ErrorSetupApiHelper.AllCases <TestClass>());
 }