Esempio n. 1
0
 public StandardConcurrentTestCase(string description, Action <T> writerThreadExecAction, Action <T> readerThreadExecAction, ConcurrentTestCaseThreadConfig threadConfig)
 {
     Description             = description;
     ThreadConfig            = threadConfig;
     _writerThreadExecAction = writerThreadExecAction;
     _readerThreadExecAction = readerThreadExecAction;
 }
Esempio n. 2
0
 public IterativeConcurrentTestCase(string description, Action <T> writerThreadExecAction, Action <T> readerThreadExecAction, ConcurrentTestCaseThreadConfig threadConfig, int numIterationsTotalPerThreadType, bool iterateWriters, bool iterateReaders, Action writerThreadCompletionAction, Action readerThreadCompletionAction)
 {
     Description                      = description;
     ThreadConfig                     = threadConfig;
     _writerThreadExecAction          = writerThreadExecAction;
     _readerThreadExecAction          = readerThreadExecAction;
     _numIterationsTotalPerThreadType = numIterationsTotalPerThreadType;
     _iterateWriters                  = iterateWriters;
     _iterateReaders                  = iterateReaders;
     _writerThreadCompletionAction    = writerThreadCompletionAction;
     _readerThreadCompletionAction    = readerThreadCompletionAction;
 }
Esempio n. 3
0
 public IterativeConcurrentTestCase(string description, Action <T> writerThreadExecAction, Action <T> readerThreadExecAction, ConcurrentTestCaseThreadConfig threadConfig, int numIterationsTotalPerThreadType, bool iterateWriters, bool iterateReaders)
     : this(description, writerThreadExecAction, readerThreadExecAction, threadConfig, numIterationsTotalPerThreadType, iterateWriters, iterateReaders, null, null)
 {
 }