| 31 | static const int kNumThreads = 30; |
| 32 | |
| 33 | TEST(ThreadPool, Empty) { |
| 34 | for (int num_threads = 1; num_threads < kNumThreads; num_threads++) { |
| 35 | fprintf(stderr, "Testing with %d threads\n", num_threads); |
| 36 | ThreadPool pool(Env::Default(), "test", num_threads); |
| 37 | } |
| 38 | } |
| 39 | |
| 40 | TEST(ThreadPool, DoWork) { |
| 41 | Context outer_context(ContextKind::kThread); |
nothing calls this directly
no test coverage detected