summaryrefslogtreecommitdiffstats
path: root/net/base/test_completion_callback_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/base/test_completion_callback_unittest.cc')
-rw-r--r--net/base/test_completion_callback_unittest.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/base/test_completion_callback_unittest.cc b/net/base/test_completion_callback_unittest.cc
index 3f4dd5e..9695e66 100644
--- a/net/base/test_completion_callback_unittest.cc
+++ b/net/base/test_completion_callback_unittest.cc
@@ -7,8 +7,11 @@
#include "testing/gtest/include/gtest/gtest.h"
#include "net/base/completion_callback.h"
#include "net/base/test_completion_callback.h"
+#include "base/platform_test.h"
#include "base/worker_pool.h"
+typedef PlatformTest TestCompletionCallbackTest;
+
using net::CompletionCallback;
const int kMagicResult = 8888;
@@ -105,7 +108,7 @@ bool ExampleEmployer::DoSomething(CompletionCallback* callback) {
return true;
}
-TEST(TestCompletionCallbackTest, Simple) {
+TEST_F(TestCompletionCallbackTest, Simple) {
ExampleEmployer boss;
TestCompletionCallback callback;
bool queued = boss.DoSomething(&callback);