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

Unified Diff: chrome/browser/google_apis/gdata_wapi_operations_unittest.cc

Issue 11444024: Clarify the use of the term "Document" in gdata_wapi_operations.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comment on DeleteResourceOperation. Created 8 years 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: chrome/browser/google_apis/gdata_wapi_operations_unittest.cc
diff --git a/chrome/browser/google_apis/gdata_wapi_operations_unittest.cc b/chrome/browser/google_apis/gdata_wapi_operations_unittest.cc
index 3db346df2f1462b08ccf4d7a3e8f2b3d684ffb6d..33497d2c239553669baf7a0a985a949225586696 100644
--- a/chrome/browser/google_apis/gdata_wapi_operations_unittest.cc
+++ b/chrome/browser/google_apis/gdata_wapi_operations_unittest.cc
@@ -494,11 +494,11 @@ TEST_F(GDataWapiOperationsTest, GetDocumentsOperation_InvalidFeed) {
EXPECT_FALSE(result_data);
}
-TEST_F(GDataWapiOperationsTest, GetDocumentEntryOperation_ValidResourceId) {
+TEST_F(GDataWapiOperationsTest, GetResourceEntryOperation_ValidResourceId) {
GDataErrorCode result_code = GDATA_OTHER_ERROR;
scoped_ptr<base::Value> result_data;
- GetDocumentEntryOperation* operation = new GetDocumentEntryOperation(
+ GetResourceEntryOperation* operation = new GetResourceEntryOperation(
&operation_registry_,
request_context_getter_.get(),
*url_generator_,
@@ -520,11 +520,11 @@ TEST_F(GDataWapiOperationsTest, GetDocumentEntryOperation_ValidResourceId) {
result_data.get()));
}
-TEST_F(GDataWapiOperationsTest, GetDocumentEntryOperation_InvalidResourceId) {
+TEST_F(GDataWapiOperationsTest, GetResourceEntryOperation_InvalidResourceId) {
GDataErrorCode result_code = GDATA_OTHER_ERROR;
scoped_ptr<base::Value> result_data;
- GetDocumentEntryOperation* operation = new GetDocumentEntryOperation(
+ GetResourceEntryOperation* operation = new GetResourceEntryOperation(
&operation_registry_,
request_context_getter_.get(),
*url_generator_,
@@ -615,10 +615,10 @@ TEST_F(GDataWapiOperationsTest, DownloadFileOperation_NonExistentFile) {
// Do not verify the not found message.
}
-TEST_F(GDataWapiOperationsTest, DeleteDocumentOperation) {
+TEST_F(GDataWapiOperationsTest, DeleteResourceOperation) {
GDataErrorCode result_code = GDATA_OTHER_ERROR;
- DeleteDocumentOperation* operation = new DeleteDocumentOperation(
+ DeleteResourceOperation* operation = new DeleteResourceOperation(
&operation_registry_,
request_context_getter_.get(),
base::Bind(&CopyResultFromEntryActionCallbackAndQuit,
@@ -670,12 +670,12 @@ TEST_F(GDataWapiOperationsTest, CreateDirectoryOperation) {
http_request_.content);
}
-TEST_F(GDataWapiOperationsTest, CopyDocumentOperation) {
+TEST_F(GDataWapiOperationsTest, CopyHostedDocumentOperation) {
GDataErrorCode result_code = GDATA_OTHER_ERROR;
scoped_ptr<base::Value> result_data;
// Copy a document with a new name "New Document".
- CopyDocumentOperation* operation = new CopyDocumentOperation(
+ CopyHostedDocumentOperation* operation = new CopyHostedDocumentOperation(
&operation_registry_,
request_context_getter_.get(),
*url_generator_,

Powered by Google App Engine
This is Rietveld 408576698