diff options
Diffstat (limited to 'base/worker_pool_unittest.cc')
-rw-r--r-- | base/worker_pool_unittest.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/base/worker_pool_unittest.cc b/base/worker_pool_unittest.cc index ba79766..aea78e6 100644 --- a/base/worker_pool_unittest.cc +++ b/base/worker_pool_unittest.cc @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#include "base/platform_test.h" #include "base/task.h" #include "base/waitable_event.h" #include "base/worker_pool.h" @@ -9,6 +10,8 @@ using base::WaitableEvent; +typedef PlatformTest WorkerPoolTest; + namespace { class PostTaskTestTask : public Task { @@ -24,7 +27,7 @@ class PostTaskTestTask : public Task { WaitableEvent* event_; }; -TEST(WorkerPoolTest, PostTask) { +TEST_F(WorkerPoolTest, PostTask) { WaitableEvent test_event(false, false); WaitableEvent long_test_event(false, false); bool signaled; |