コード例 #1
0
 public static IEnumerable IsNotNull_Throws_ArgumentNullException_TestCases_3()
 {
     return(TestCaseDataUtil.CreateTestCaseDataExceptionWithParameterAndMessage <object>(
                new object[] { null },
                ExceptionData.ArgumentNullExceptionMessage,
                ExceptionData.ArgumentNullExceptionDefaultMessage));
 }
コード例 #2
0
 public static IEnumerable Collection_IsNotNullOrEmpty_Throws_ArgumentNullException_TestCases_3()
 {
     return(TestCaseDataUtil.CreateTestCaseDataExceptionWithParameterAndMessage <ICollection>(
                new ICollection[] { null },
                ExceptionData.ArgumentNullExceptionMessage,
                ExceptionData.ArgumentNullExceptionDefaultMessage));
 }
コード例 #3
0
 public static IEnumerable String_IsNotNullOrWhiteSpace_Throws_ArgumentWhiteSpaceException_TestCases_3()
 {
     return(TestCaseDataUtil.CreateTestCaseDataExceptionWithParameterAndMessage <string>(
                new string[] { "", " " },
                ExceptionData.ArgumentWhiteSpaceExceptionMessage,
                ExceptionData.ArgumentWhiteSpaceExceptionDefaultMessage));
 }
コード例 #4
0
 public static IEnumerable Collection_IsNotNullOrEmpty_Throws_ArgumentEmptyException_TestCases_2()
 {
     return(TestCaseDataUtil.CreateTestCaseDataExceptionWithParameter <ICollection>(
                new ICollection[] { new List <object>() },
                ExceptionData.ArgumentEmptyExceptionMessage));
 }
コード例 #5
0
 public static IEnumerable Collection_IsNotNullOrEmpty_Throws_ArgumentNullException_TestCases_1()
 {
     return(TestCaseDataUtil.CreateTestCaseDataException <ICollection>(
                new ICollection[] { null },
                ExceptionData.ArgumentNullExceptionMessage));
 }
コード例 #6
0
 public static IEnumerable IsNotNull_Throws_ArgumentNullException_TestCases_1()
 {
     return(TestCaseDataUtil.CreateTestCaseDataException <object>(
                new object[] { null },
                ExceptionData.ArgumentNullExceptionMessage));
 }
コード例 #7
0
 public static IEnumerable String_IsNotNullOrWhiteSpace_Throws_ArgumentNullException_TestCases_2()
 {
     return(TestCaseDataUtil.CreateTestCaseDataExceptionWithParameter <string>(
                new string[] { null },
                ExceptionData.ArgumentNullExceptionMessage));
 }
コード例 #8
0
 public static IEnumerable String_IsNotNullOrEmpty_Throws_ArgumentEmptyException_TestCases_1()
 {
     return(TestCaseDataUtil.CreateTestCaseDataException <string>(
                new string[] { "" },
                ExceptionData.ArgumentEmptyExceptionMessage));
 }