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

Unified Diff: chrome/browser/chromeos/gdata/gdata_wapi_parser_unittest.cc

Issue 10692152: Rename gdata_parser to gdata_wapi_parser (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase. Created 8 years, 5 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 | « chrome/browser/chromeos/gdata/gdata_wapi_parser.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/gdata/gdata_wapi_parser_unittest.cc
diff --git a/chrome/browser/chromeos/gdata/gdata_parser_unittest.cc b/chrome/browser/chromeos/gdata/gdata_wapi_parser_unittest.cc
similarity index 97%
rename from chrome/browser/chromeos/gdata/gdata_parser_unittest.cc
rename to chrome/browser/chromeos/gdata/gdata_wapi_parser_unittest.cc
index 810ce4a7aeb3cfee1d952ba1354e15809c2f4e83..242e2e5fa84fbbf3545b178c0f7f756aa9d9fc09 100644
--- a/chrome/browser/chromeos/gdata/gdata_parser_unittest.cc
+++ b/chrome/browser/chromeos/gdata/gdata_wapi_parser_unittest.cc
@@ -10,7 +10,7 @@
#include "base/time.h"
#include "base/utf_string_conversions.h"
#include "base/values.h"
-#include "chrome/browser/chromeos/gdata/gdata_parser.h"
+#include "chrome/browser/chromeos/gdata/gdata_wapi_parser.h"
#include "chrome/common/chrome_paths.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/libxml/chromium/libxml_utils.h"
@@ -29,7 +29,7 @@ using base::ListValue;
namespace gdata {
-class GDataParserTest : public testing::Test {
+class GDataWAPIParserTest : public testing::Test {
protected:
static Value* LoadJSONFile(const std::string& filename) {
FilePath path;
@@ -78,7 +78,7 @@ class GDataParserTest : public testing::Test {
};
// Test document feed parsing.
-TEST_F(GDataParserTest, DocumentFeedJsonParser) {
+TEST_F(GDataWAPIParserTest, DocumentFeedJsonParser) {
std::string error;
scoped_ptr<Value> document(LoadJSONFile("basic_feed.json"));
ASSERT_TRUE(document.get());
@@ -220,7 +220,7 @@ TEST_F(GDataParserTest, DocumentFeedJsonParser) {
// Test document feed parsing.
-TEST_F(GDataParserTest, DocumentEntryXmlParser) {
+TEST_F(GDataWAPIParserTest, DocumentEntryXmlParser) {
scoped_ptr<DocumentEntry> entry(LoadDocumentEntryFromXml("entry.xml"));
ASSERT_TRUE(entry.get());
@@ -308,7 +308,7 @@ TEST_F(GDataParserTest, DocumentEntryXmlParser) {
EXPECT_EQ(26562560, entry->file_size());
}
-TEST_F(GDataParserTest, AccountMetadataFeedParser) {
+TEST_F(GDataWAPIParserTest, AccountMetadataFeedParser) {
scoped_ptr<Value> document(LoadJSONFile("account_metadata.json"));
ASSERT_TRUE(document.get());
ASSERT_EQ(Value::TYPE_DICTIONARY, document->GetType());
@@ -378,7 +378,7 @@ TEST_F(GDataParserTest, AccountMetadataFeedParser) {
}
// Test file extension checking in DocumentEntry::HasDocumentExtension().
-TEST_F(GDataParserTest, DocumentEntryHasDocumentExtension) {
+TEST_F(GDataWAPIParserTest, DocumentEntryHasDocumentExtension) {
EXPECT_TRUE(DocumentEntry::HasHostedDocumentExtension(
FilePath(FILE_PATH_LITERAL("Test.gdoc"))));
EXPECT_TRUE(DocumentEntry::HasHostedDocumentExtension(
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_wapi_parser.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698