public StandardConcurrentTestCase(string description, Action <T> writerThreadExecAction, Action <T> readerThreadExecAction, ConcurrentTestCaseThreadConfig threadConfig) { Description = description; ThreadConfig = threadConfig; _writerThreadExecAction = writerThreadExecAction; _readerThreadExecAction = readerThreadExecAction; }
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; }
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) { }