コード例 #1
0
 public static CustomerInfo SetValidInfo()
 {
     return(new CustomerInfo(ValidTestDataReader.GetData("PassangerFirstName"), ValidTestDataReader.GetData("PassengerLastName"),
                             ValidTestDataReader.GetData("PassangerEmail"), ValidTestDataReader.GetData("PassangerPhoneNumber"),
                             ValidTestDataReader.GetData("PassangerAddressLine"), ValidTestDataReader.GetData("PassangerCity"),
                             ValidTestDataReader.GetData("PassangerContry"), ValidTestDataReader.GetData("PassangerZipCode")));
 }
コード例 #2
0
 public static LoginInfo SetValidInfo()
 {
     return(new LoginInfo(ValidTestDataReader.GetData("LoginEmail"), ValidTestDataReader.GetData("LoginPassword")));
 }
コード例 #3
0
 public static PassangerInfo SetValidInfo()
 {
     return(new PassangerInfo(ValidTestDataReader.GetData("PassangerFirstName"), ValidTestDataReader.GetData("PassangerLastName")
                              , ValidTestDataReader.GetData("PassangerCountry")));
 }
コード例 #4
0
 public static CustomerInfo SetCardValidInfo()
 {
     return(new CustomerInfo(ValidTestDataReader.GetData("CustomerCardNumber"), ValidTestDataReader.GetData("CustomerCardMonthValidation"),
                             ValidTestDataReader.GetData("CustomerCVVCode"), ValidTestDataReader.GetData("CustomerName")));
 }
コード例 #5
0
 public static TripInfo SetValidInfo()
 {
     return(new TripInfo(ValidTestDataReader.GetData("DepartureStation"), ValidTestDataReader.GetData("ArrivalStation")
                         , ValidTestDataReader.GetData("DepartureDay")));
 }