summaryrefslogtreecommitdiffstats
path: root/chrome/browser/google_apis/gdata_wapi_parser_unittest.cc
diff options
context:
space:
mode:
authorsatorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-10 12:01:01 +0000
committersatorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-10 12:01:01 +0000
commit2d2755e700a72839353c3e1edd1659fa3452b6c7 (patch)
treef7cfe4af9ca5a3484dc38cf46519990aeb733b53 /chrome/browser/google_apis/gdata_wapi_parser_unittest.cc
parent5fdd6d292b9b7d7894d738986fca23869565dd68 (diff)
downloadchromium_src-2d2755e700a72839353c3e1edd1659fa3452b6c7.zip
chromium_src-2d2755e700a72839353c3e1edd1659fa3452b6c7.tar.gz
chromium_src-2d2755e700a72839353c3e1edd1659fa3452b6c7.tar.bz2
google_apis: Rename DocumentFeed to ResourceList
DocumentFeed was a misnomer, as this class represented a resource list. Along the way, add more useful comments in gdata_wapi_parser.h, and fix wrong variable names like 'doc'. BUG=164090 TEST=none Review URL: https://chromiumcodereview.appspot.com/11499006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172038 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/google_apis/gdata_wapi_parser_unittest.cc')
-rw-r--r--chrome/browser/google_apis/gdata_wapi_parser_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/google_apis/gdata_wapi_parser_unittest.cc b/chrome/browser/google_apis/gdata_wapi_parser_unittest.cc
index aa85102..b34f97e 100644
--- a/chrome/browser/google_apis/gdata_wapi_parser_unittest.cc
+++ b/chrome/browser/google_apis/gdata_wapi_parser_unittest.cc
@@ -57,13 +57,13 @@ class GDataWAPIParserTest : public testing::Test {
// TODO(nhiroki): Move json files to out of 'chromeos' directory
// (http://crbug.com/149788).
// Test document feed parsing.
-TEST_F(GDataWAPIParserTest, DocumentFeedJsonParser) {
+TEST_F(GDataWAPIParserTest, ResourceListJsonParser) {
std::string error;
scoped_ptr<Value> document =
test_util::LoadJSONFile("gdata/basic_feed.json");
ASSERT_TRUE(document.get());
ASSERT_EQ(Value::TYPE_DICTIONARY, document->GetType());
- scoped_ptr<DocumentFeed> feed(DocumentFeed::ExtractAndParse(*document));
+ scoped_ptr<ResourceList> feed(ResourceList::ExtractAndParse(*document));
ASSERT_TRUE(feed.get());
base::Time update_time;