| 40 | |
| 41 | template<class type, class method_functor> |
| 42 | void test_result_method_ex(std::shared_ptr<thread_executor> te, method_functor&& tested_method, value_gen<type> converter) { |
| 43 | const auto tp = system_clock::now() + seconds(2); |
| 44 | auto results = result_gen<type>::make_exceptional_array(1024, tp, te, converter); |
| 45 | |
| 46 | std::this_thread::sleep_until(tp); |
| 47 | |
| 48 | test_exceptional_array(std::move(results), tested_method); |
| 49 | } |
| 50 | } // namespace concurrencpp::tests |
| 51 | |
| 52 | namespace concurrencpp::tests { |
nothing calls this directly
no test coverage detected