示例#1
0
 public static void TaskWaitAllAny41()
 {
     TaskInfo node1 = new TaskInfo(WorkloadType.VeryLight);
     TaskInfo node2 = new TaskInfo(WorkloadType.VeryHeavy);
     TaskInfo[] allTasks = new[] { node1, node2, };
     TestParameters_WaitAllAny parameters = new TestParameters_WaitAllAny(API.WaitAny, 0, WaitBy.TimeSpan, allTasks);
     TaskWaitAllAnyTest test = new TaskWaitAllAnyTest(parameters);
     test.RealRun();
 }
示例#2
0
 public static void TaskWaitAllAny39()
 {
     TaskInfo node1 = new TaskInfo(WorkloadType.Medium);
     TaskInfo node2 = new TaskInfo(WorkloadType.VeryLight);
     TaskInfo node3 = new TaskInfo(WorkloadType.Light);
     TaskInfo node4 = new TaskInfo(WorkloadType.Medium);
     TaskInfo node5 = new TaskInfo(WorkloadType.VeryHeavy);
     TaskInfo node6 = new TaskInfo(WorkloadType.VeryLight);
     TaskInfo node7 = new TaskInfo(WorkloadType.Medium);
     TaskInfo[] allTasks = new[] { node1, node2, node3, node4, node5, node6, node7, };
     TestParameters_WaitAllAny parameters = new TestParameters_WaitAllAny(API.WaitAny, 0, WaitBy.Millisecond, allTasks);
     TaskWaitAllAnyTest test = new TaskWaitAllAnyTest(parameters);
     test.RealRun();
 }
示例#3
0
 public static void TaskWaitAllAny40()
 {
     TaskInfo[] allTasks = new TaskInfo[0];
     TestParameters_WaitAllAny parameters = new TestParameters_WaitAllAny(API.WaitAny, 0, WaitBy.TimeSpan, allTasks);
     TaskWaitAllAnyTest test = new TaskWaitAllAnyTest(parameters);
     test.RealRun();
 }
示例#4
0
 public static void TaskWaitAllAny34()
 {
     TaskInfo node1 = new TaskInfo(WorkloadType.Medium);
     TaskInfo node2 = new TaskInfo(WorkloadType.VeryHeavy);
     TaskInfo[] allTasks = new[] { node1, node2, };
     TestParameters_WaitAllAny parameters = new TestParameters_WaitAllAny(API.WaitAny, -1, WaitBy.None, allTasks);
     TaskWaitAllAnyTest test = new TaskWaitAllAnyTest(parameters);
     test.RealRun();
 }
示例#5
0
 public static void TaskWaitAllAny38()
 {
     TaskInfo node1 = new TaskInfo(WorkloadType.Medium);
     TaskInfo[] allTasks = new[] { node1, };
     TestParameters_WaitAllAny parameters = new TestParameters_WaitAllAny(API.WaitAny, 0, WaitBy.Millisecond, allTasks);
     TaskWaitAllAnyTest test = new TaskWaitAllAnyTest(parameters);
     test.RealRun();
 }
示例#6
0
 public static void TaskWaitAllAny32()
 {
     TaskInfo[] allTasks = new TaskInfo[0];
     TestParameters_WaitAllAny parameters = new TestParameters_WaitAllAny(API.WaitAny, -1, WaitBy.None, allTasks);
     TaskWaitAllAnyTest test = new TaskWaitAllAnyTest(parameters);
     test.RealRun();
 }
示例#7
0
 public static void TaskWaitAllAny31()
 {
     TaskInfo node1 = new TaskInfo(WorkloadType.Medium);
     TaskInfo node2 = new TaskInfo(WorkloadType.Light);
     TaskInfo node3 = new TaskInfo(WorkloadType.Heavy);
     TaskInfo node4 = new TaskInfo(WorkloadType.Heavy);
     TaskInfo node5 = new TaskInfo(WorkloadType.VeryHeavy);
     TaskInfo node6 = new TaskInfo(WorkloadType.VeryLight);
     TaskInfo node7 = new TaskInfo(WorkloadType.Medium);
     TaskInfo node8 = new TaskInfo(WorkloadType.Medium);
     TaskInfo node9 = new TaskInfo(WorkloadType.Light);
     TaskInfo node10 = new TaskInfo(WorkloadType.Heavy);
     TaskInfo node11 = new TaskInfo(WorkloadType.Heavy);
     TaskInfo node12 = new TaskInfo(WorkloadType.VeryHeavy);
     TaskInfo node13 = new TaskInfo(WorkloadType.VeryLight);
     TaskInfo node14 = new TaskInfo(WorkloadType.Medium);
     TaskInfo node15 = new TaskInfo(WorkloadType.Medium);
     TaskInfo node16 = new TaskInfo(WorkloadType.Light);
     TaskInfo node17 = new TaskInfo(WorkloadType.Heavy);
     TaskInfo node18 = new TaskInfo(WorkloadType.Heavy);
     TaskInfo node19 = new TaskInfo(WorkloadType.VeryHeavy);
     TaskInfo node20 = new TaskInfo(WorkloadType.VeryLight);
     TaskInfo node21 = new TaskInfo(WorkloadType.Medium);
     TaskInfo node22 = new TaskInfo(WorkloadType.Medium);
     TaskInfo node23 = new TaskInfo(WorkloadType.Light);
     TaskInfo node24 = new TaskInfo(WorkloadType.Heavy);
     TaskInfo node25 = new TaskInfo(WorkloadType.Heavy);
     TaskInfo node26 = new TaskInfo(WorkloadType.VeryHeavy);
     TaskInfo node27 = new TaskInfo(WorkloadType.VeryLight);
     TaskInfo node28 = new TaskInfo(WorkloadType.Medium);
     TaskInfo node29 = new TaskInfo(WorkloadType.Medium);
     TaskInfo node30 = new TaskInfo(WorkloadType.Light);
     TaskInfo node31 = new TaskInfo(WorkloadType.Heavy);
     TaskInfo node32 = new TaskInfo(WorkloadType.Heavy);
     TaskInfo node33 = new TaskInfo(WorkloadType.VeryHeavy);
     TaskInfo node34 = new TaskInfo(WorkloadType.VeryLight);
     TaskInfo node35 = new TaskInfo(WorkloadType.Medium);
     TaskInfo node36 = new TaskInfo(WorkloadType.Medium);
     TaskInfo node37 = new TaskInfo(WorkloadType.Light);
     TaskInfo node38 = new TaskInfo(WorkloadType.Heavy);
     TaskInfo node39 = new TaskInfo(WorkloadType.Heavy);
     TaskInfo node40 = new TaskInfo(WorkloadType.VeryHeavy);
     TaskInfo node41 = new TaskInfo(WorkloadType.VeryLight);
     TaskInfo node42 = new TaskInfo(WorkloadType.Medium);
     TaskInfo node43 = new TaskInfo(WorkloadType.Medium);
     TaskInfo node44 = new TaskInfo(WorkloadType.Light);
     TaskInfo node45 = new TaskInfo(WorkloadType.Heavy);
     TaskInfo node46 = new TaskInfo(WorkloadType.Heavy);
     TaskInfo node47 = new TaskInfo(WorkloadType.VeryHeavy);
     TaskInfo node48 = new TaskInfo(WorkloadType.VeryLight);
     TaskInfo node49 = new TaskInfo(WorkloadType.Medium);
     TaskInfo node50 = new TaskInfo(WorkloadType.Medium);
     TaskInfo node51 = new TaskInfo(WorkloadType.Light);
     TaskInfo node52 = new TaskInfo(WorkloadType.Heavy);
     TaskInfo node53 = new TaskInfo(WorkloadType.Heavy);
     TaskInfo node54 = new TaskInfo(WorkloadType.VeryHeavy);
     TaskInfo node55 = new TaskInfo(WorkloadType.VeryLight);
     TaskInfo node56 = new TaskInfo(WorkloadType.Medium);
     TaskInfo node57 = new TaskInfo(WorkloadType.Medium);
     TaskInfo node58 = new TaskInfo(WorkloadType.Light);
     TaskInfo node59 = new TaskInfo(WorkloadType.Heavy);
     TaskInfo node60 = new TaskInfo(WorkloadType.Heavy);
     TaskInfo node61 = new TaskInfo(WorkloadType.VeryHeavy);
     TaskInfo node62 = new TaskInfo(WorkloadType.VeryLight);
     TaskInfo node63 = new TaskInfo(WorkloadType.Medium);
     TaskInfo node64 = new TaskInfo(WorkloadType.Medium);
     TaskInfo node65 = new TaskInfo(WorkloadType.Light);
     TaskInfo node66 = new TaskInfo(WorkloadType.VeryLight);
     TaskInfo[] allTasks = new[] { node1, node2, node3, node4, node5, node6, node7, node8, node9, node10, node11, node12, node13, node14, node15, node16, node17, node18, node19, node20, node21, node22, node23, node24, node25, node26, node27, node28, node29, node30, node31, node32, node33, node34, node35, node36, node37, node38, node39, node40, node41, node42, node43, node44, node45, node46, node47, node48, node49, node50, node51, node52, node53, node54, node55, node56, node57, node58, node59, node60, node61, node62, node63, node64, node65, node66, };
     TestParameters_WaitAllAny parameters = new TestParameters_WaitAllAny(API.WaitAny, -1, WaitBy.Millisecond, allTasks);
     TaskWaitAllAnyTest test = new TaskWaitAllAnyTest(parameters);
     test.RealRun();
 }
示例#8
0
 public static void TaskWaitAllAny27()
 {
     TaskInfo node1 = new TaskInfo(WorkloadType.Light);
     TaskInfo[] allTasks = new[] { node1, };
     TestParameters_WaitAllAny parameters = new TestParameters_WaitAllAny(API.WaitAll, 7, WaitBy.TimeSpan, allTasks);
     TaskWaitAllAnyTest test = new TaskWaitAllAnyTest(parameters);
     test.RealRun();
 }
示例#9
0
 public static void TaskWaitAllAny26()
 {
     TaskInfo[] allTasks = new TaskInfo[0];
     TestParameters_WaitAllAny parameters = new TestParameters_WaitAllAny(API.WaitAll, 7, WaitBy.Millisecond, allTasks);
     TaskWaitAllAnyTest test = new TaskWaitAllAnyTest(parameters);
     test.RealRun();
 }
示例#10
0
 public static void TaskWaitAllAny12()
 {
     TaskInfo node1 = new TaskInfo(WorkloadType.VeryHeavy);
     TaskInfo node2 = new TaskInfo(WorkloadType.Light);
     TaskInfo[] allTasks = new[] { node1, node2, };
     TestParameters_WaitAllAny parameters = new TestParameters_WaitAllAny(API.WaitAll, 197, WaitBy.Millisecond, allTasks);
     TaskWaitAllAnyTest test = new TaskWaitAllAnyTest(parameters);
     test.RealRun();
 }