Exemplo n.º 1
0
 private static RandomizedContext Create(ThreadGroup tg, Type suiteClass, RandomizedRunner runner)
 {
     lock (globalLock)
     {
         var context = new RandomizedContext(tg, suiteClass, runner);
         contexts.Add(tg, context);
         context.threadResources.Add(ThreadClass.Current(), new ThreadResources());
         return(context);
     }
 }
Exemplo n.º 2
0
 private RandomizedContext(ThreadGroup group, Type suiteClass, RandomizedRunner runner)
 {
     this.threadGroup = group;
     this.suiteClass = suiteClass;
     this.runner = runner;
 }
Exemplo n.º 3
0
 private static RandomizedContext Create(ThreadGroup tg, Type suiteClass, RandomizedRunner runner)
 {
     lock (globalLock)
     {
         var context = new RandomizedContext(tg, suiteClass, runner);
         contexts.Add(tg, context);
         context.threadResources.Add(ThreadClass.Current(), new ThreadResources());
         return context;
     }
 }
Exemplo n.º 4
0
 private RandomizedContext(ThreadGroup group, Type suiteClass, RandomizedRunner runner)
 {
     this.threadGroup = group;
     this.suiteClass  = suiteClass;
     this.runner      = runner;
 }