5#ifndef TestTools_ParallelCallTest_h
6#define TestTools_ParallelCallTest_h
9#include <initializer_list>
38 bool run(
size_t nrepeats );
59 static bool launchTests(
size_t nrepeats,
const std::vector<ParallelCallTest*>& tests );
Provides interface and helper functions to perform stress testing of the thread-safe code.
virtual bool callAndCompare() const =0
a function that performs request, and compares the results obtained with the result of the first exec...
virtual ~ParallelCallTest()
virtual void firstCall()=0
a method that will be called to obtain first results from the service It should set the reference qua...
static bool launchTests(size_t nrepeats, const std::vector< ParallelCallTest * > &tests)
Method to run launch number of tests in parallel (increasing the stress of the calle) It has a potent...