Index: mojo/public/cpp/environment/tests/async_wait_unittest.cc |
diff --git a/mojo/public/cpp/environment/tests/async_waiter_unittest.cc b/mojo/public/cpp/environment/tests/async_wait_unittest.cc |
similarity index 92% |
copy from mojo/public/cpp/environment/tests/async_waiter_unittest.cc |
copy to mojo/public/cpp/environment/tests/async_wait_unittest.cc |
index c1876b793d7cc722323d22e5e48738ad2f9b666e..83c5ca05bc7456a11b4edb469918b4de9c931173 100644 |
--- a/mojo/public/cpp/environment/tests/async_waiter_unittest.cc |
+++ b/mojo/public/cpp/environment/tests/async_wait_unittest.cc |
@@ -53,19 +53,19 @@ void CallCancelWait(MojoAsyncWaitID wait_id) { |
Environment::GetDefaultAsyncWaiter()->CancelWait(wait_id); |
} |
-class AsyncWaiterTest : public testing::Test { |
+class AsyncWaitTest : public testing::Test { |
public: |
- AsyncWaiterTest() {} |
+ AsyncWaitTest() {} |
private: |
Environment environment_; |
RunLoop run_loop_; |
- MOJO_DISALLOW_COPY_AND_ASSIGN(AsyncWaiterTest); |
+ MOJO_DISALLOW_COPY_AND_ASSIGN(AsyncWaitTest); |
}; |
// Verifies AsyncWaitCallback is notified when pipe is ready. |
-TEST_F(AsyncWaiterTest, CallbackNotified) { |
+TEST_F(AsyncWaitTest, CallbackNotified) { |
TestAsyncWaitCallback callback; |
MessagePipe test_pipe; |
EXPECT_TRUE(test::WriteTextMessage(test_pipe.handle1.get(), std::string())); |
@@ -78,7 +78,7 @@ TEST_F(AsyncWaiterTest, CallbackNotified) { |
} |
// Verifies 2 AsyncWaitCallbacks are notified when there pipes are ready. |
-TEST_F(AsyncWaiterTest, TwoCallbacksNotified) { |
+TEST_F(AsyncWaitTest, TwoCallbacksNotified) { |
TestAsyncWaitCallback callback1; |
TestAsyncWaitCallback callback2; |
MessagePipe test_pipe1; |
@@ -99,7 +99,7 @@ TEST_F(AsyncWaiterTest, TwoCallbacksNotified) { |
} |
// Verifies cancel works. |
-TEST_F(AsyncWaiterTest, CancelCallback) { |
+TEST_F(AsyncWaitTest, CancelCallback) { |
TestAsyncWaitCallback callback; |
MessagePipe test_pipe; |
EXPECT_TRUE(test::WriteTextMessage(test_pipe.handle1.get(), std::string())); |