Beispiel #1
0
 public TaskFromAsyncTest(TestParameters parameters)
 {
     _api = parameters.Api;
     _sourceType = parameters.SourceTaskType;
     _fromAsyncType = parameters.FromAsyncTaskType;
     _errorCase = parameters.ErrorCase;
     _overloadChoice = parameters.OverloadChoice;
 }
Beispiel #2
0
 public static void TaskFromAsyncTest17()
 {
     TestParameters parameters = new TestParameters(API.APM_T, TaskType.TaskT, TaskType.TaskT, OverloadChoice.None, ErrorCase.Throwing);
     TaskFromAsyncTest test = new TaskFromAsyncTest(parameters);
     test.RealRun();
 }
Beispiel #3
0
 public static void TaskFromAsyncTest13()
 {
     TestParameters parameters = new TestParameters(API.APM_T3, TaskType.TaskT, TaskType.TaskT, OverloadChoice.WithTaskOption, ErrorCase.None);
     TaskFromAsyncTest test = new TaskFromAsyncTest(parameters);
     test.RealRun();
 }
Beispiel #4
0
 public static void TaskFromAsyncTest74()
 {
     TestParameters parameters = new TestParameters(API.IAsyncResult, TaskType.Task, TaskType.Task, OverloadChoice.None, ErrorCase.NullEnd);
     TaskFromAsyncTest test = new TaskFromAsyncTest(parameters);
     test.RealRun();
 }
Beispiel #5
0
 public static void TaskFromAsyncTest62()
 {
     TestParameters parameters = new TestParameters(API.APM_T3, TaskType.Task, TaskType.Task, OverloadChoice.None, ErrorCase.NullBegin);
     TaskFromAsyncTest test = new TaskFromAsyncTest(parameters);
     test.RealRun();
 }