Ejemplo n.º 1
0
 public static void ParallelState7()
 {
     string[] actions = new string[] { "MultipleBreak", "MultipleBreak", "MultipleBreak", "MultipleBreak", "MultipleBreak", "MultipleBreak", "MultipleBreak", "MultipleBreak", "MultipleBreak", "MultipleBreak", };
     string[] verifications = new string[] { "BreakVerification", };
     TestParameters parameters = new TestParameters
     {
         Api = API.For,
         Count = 10,
         Actions = actions,
         Verifications = verifications,
         ExpectingException = false,
         WithLocalState = true,
         Is64 = false,
     };
     ParallelStateTest test = new ParallelStateTest(parameters);
     test.RealRun();
 }
Ejemplo n.º 2
0
 public static void ParallelState49()
 {
     string[] actions = new string[] { "SyncSetStop_0", "SyncWaitBreakCatchExp_1", };
     string[] verifications = new string[] { "StopVerification", };
     TestParameters parameters = new TestParameters
     {
         Api = API.ForeachOnArray,
         Count = 10,
         Actions = actions,
         Verifications = verifications,
         ExpectingException = false,
         WithLocalState = false,
         Is64 = false,
     };
     ParallelStateTest test = new ParallelStateTest(parameters);
     test.RealRun();
 }
Ejemplo n.º 3
0
 public static void ParallelState76()
 {
     string[] actions = new string[] { "SyncWaitBreak_0", "SyncSetBreak_1", };
     string[] verifications = new string[] { "BreakVerification", };
     TestParameters parameters = new TestParameters
     {
         Api = API.ForeachOnList,
         Count = 10,
         Actions = actions,
         Verifications = verifications,
         ExpectingException = false,
         WithLocalState = true,
         Is64 = false,
     };
     ParallelStateTest test = new ParallelStateTest(parameters);
     test.RealRun();
 }
Ejemplo n.º 4
0
 public static void ParallelState36()
 {
     string[] actions = new string[] { "Exceptional", };
     string[] verifications = new string[] { "ExceptionalVerification", };
     TestParameters parameters = new TestParameters
     {
         Api = API.ForeachOnArray,
         Count = 10,
         Actions = actions,
         Verifications = verifications,
         ExpectingException = true,
         WithLocalState = true,
         Is64 = false,
     };
     ParallelStateTest test = new ParallelStateTest(parameters);
     test.RealRun();
 }