Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(541)

Unified Diff: mojo/public/cpp/environment/tests/async_wait_unittest.cc

Issue 703273002: Update mojo sdk to rev 04a510fb37db10642e156957f9b2c11c2f6442ac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix content/child -> mojo/common linking Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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()));
« no previous file with comments | « mojo/public/cpp/environment/tests/BUILD.gn ('k') | mojo/public/cpp/environment/tests/async_waiter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698