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

Unified Diff: services/url_response_disk_cache/url_response_disk_cache_apptest.cc

Issue 1150563003: Rename InterfacePtr's WaitForIncomingMethodCall() -> WaitForIncomingResponse(). (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 7 months 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
« no previous file with comments | « services/python/mojo_url_redirector/mojo_url_redirector_apptest.cc ('k') | shell/shell_apptest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/url_response_disk_cache/url_response_disk_cache_apptest.cc
diff --git a/services/url_response_disk_cache/url_response_disk_cache_apptest.cc b/services/url_response_disk_cache/url_response_disk_cache_apptest.cc
index 6b543de5a6ed8683210b4efe1b0e275b36d3211b..c2788c2ed09e6efc18bd1a3eaf6f793eeb3745f9 100644
--- a/services/url_response_disk_cache/url_response_disk_cache_apptest.cc
+++ b/services/url_response_disk_cache/url_response_disk_cache_apptest.cc
@@ -67,7 +67,7 @@ TEST_F(URLResponseDiskCacheAppTest, GetFile) {
file = toPath(received_file_path.Pass());
cache_dir = toPath(received_cache_dir_path.Pass());
});
- url_response_disk_cache_.WaitForIncomingMethodCall();
+ url_response_disk_cache_.WaitForIncomingResponse();
ASSERT_FALSE(file.empty());
std::string received_content;
ASSERT_TRUE(base::ReadFileToString(file, &received_content));
@@ -97,7 +97,7 @@ TEST_F(URLResponseDiskCacheAppTest, GetExtractedContent) {
extracted_dir = toPath(received_extracted_dir.Pass());
cache_dir = toPath(received_cache_dir_path.Pass());
});
- url_response_disk_cache_.WaitForIncomingMethodCall();
+ url_response_disk_cache_.WaitForIncomingResponse();
ASSERT_FALSE(extracted_dir.empty());
base::FilePath file1 = extracted_dir.Append("file1");
std::string file_content;
@@ -132,7 +132,7 @@ TEST_F(URLResponseDiskCacheAppTest, CacheTest) {
file = toPath(received_file_path.Pass());
cache_dir = toPath(received_cache_dir_path.Pass());
});
- url_response_disk_cache_.WaitForIncomingMethodCall();
+ url_response_disk_cache_.WaitForIncomingResponse();
ASSERT_FALSE(file.empty());
std::string received_content;
ASSERT_TRUE(base::ReadFileToString(file, &received_content));
@@ -165,7 +165,7 @@ TEST_F(URLResponseDiskCacheAppTest, CacheTest) {
file = toPath(received_file_path.Pass());
cache_dir = toPath(received_cache_dir_path.Pass());
});
- url_response_disk_cache_.WaitForIncomingMethodCall();
+ url_response_disk_cache_.WaitForIncomingResponse();
ASSERT_FALSE(file.empty());
ASSERT_TRUE(base::ReadFileToString(file, &received_content));
EXPECT_EQ(content, received_content);
@@ -197,7 +197,7 @@ TEST_F(URLResponseDiskCacheAppTest, CacheTest) {
file = toPath(received_file_path.Pass());
cache_dir = toPath(received_cache_dir_path.Pass());
});
- url_response_disk_cache_.WaitForIncomingMethodCall();
+ url_response_disk_cache_.WaitForIncomingResponse();
ASSERT_FALSE(file.empty());
ASSERT_TRUE(base::ReadFileToString(file, &received_content));
EXPECT_EQ(new_content, received_content);
@@ -226,7 +226,7 @@ TEST_F(URLResponseDiskCacheAppTest, CacheTest) {
file = toPath(received_file_path.Pass());
cache_dir = toPath(received_cache_dir_path.Pass());
});
- url_response_disk_cache_.WaitForIncomingMethodCall();
+ url_response_disk_cache_.WaitForIncomingResponse();
ASSERT_FALSE(file.empty());
ASSERT_TRUE(base::ReadFileToString(file, &received_content));
EXPECT_EQ(new_content, received_content);
@@ -256,7 +256,7 @@ TEST_F(URLResponseDiskCacheAppTest, CacheTest) {
file = toPath(received_file_path.Pass());
cache_dir = toPath(received_cache_dir_path.Pass());
});
- url_response_disk_cache_.WaitForIncomingMethodCall();
+ url_response_disk_cache_.WaitForIncomingResponse();
ASSERT_FALSE(file.empty());
ASSERT_TRUE(base::ReadFileToString(file, &received_content));
EXPECT_EQ(new_content, received_content);
« no previous file with comments | « services/python/mojo_url_redirector/mojo_url_redirector_apptest.cc ('k') | shell/shell_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698