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

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

Issue 18355004: google_apis: Move data files out of chrome/test/data/chromeos (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix extension tests Created 7 years, 6 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
Index: chrome/browser/google_apis/drive_api_parser_unittest.cc
diff --git a/chrome/browser/google_apis/drive_api_parser_unittest.cc b/chrome/browser/google_apis/drive_api_parser_unittest.cc
index a823632cba791eec9c23230a11f8dcf11d19366d..60d4f35bb0acbb663c7ff75869def93bbf46024a 100644
--- a/chrome/browser/google_apis/drive_api_parser_unittest.cc
+++ b/chrome/browser/google_apis/drive_api_parser_unittest.cc
@@ -20,7 +20,7 @@ namespace google_apis {
TEST(DriveAPIParserTest, AboutResourceParser) {
std::string error;
scoped_ptr<base::Value> document = test_util::LoadJSONFile(
- "chromeos/drive/about.json");
+ "drive/about.json");
ASSERT_TRUE(document.get());
ASSERT_EQ(base::Value::TYPE_DICTIONARY, document->GetType());
@@ -56,7 +56,7 @@ TEST(DriveAPIParserTest, AboutResourceFromAccountMetadata) {
TEST(DriveAPIParserTest, AppListParser) {
std::string error;
scoped_ptr<base::Value> document = test_util::LoadJSONFile(
- "chromeos/drive/applist.json");
+ "drive/applist.json");
ASSERT_TRUE(document.get());
ASSERT_EQ(base::Value::TYPE_DICTIONARY, document->GetType());
@@ -234,7 +234,7 @@ TEST(DriveAPIParserTest, AppListFromAccountMetadata) {
TEST(DriveAPIParserTest, FileListParser) {
std::string error;
scoped_ptr<base::Value> document = test_util::LoadJSONFile(
- "chromeos/drive/filelist.json");
+ "drive/filelist.json");
ASSERT_TRUE(document.get());
ASSERT_EQ(base::Value::TYPE_DICTIONARY, document->GetType());
@@ -350,7 +350,7 @@ TEST(DriveAPIParserTest, FileListParser) {
TEST(DriveAPIParserTest, ChangeListParser) {
std::string error;
scoped_ptr<base::Value> document =
- test_util::LoadJSONFile("chromeos/drive/changelist.json");
+ test_util::LoadJSONFile("drive/changelist.json");
ASSERT_TRUE(document.get());
ASSERT_EQ(base::Value::TYPE_DICTIONARY, document->GetType());
@@ -413,9 +413,9 @@ TEST(DriveAPIParserTest, ChangeListParser) {
TEST(DriveAPIParserTest, HasKind) {
scoped_ptr<base::Value> change_list_json(
- test_util::LoadJSONFile("chromeos/drive/changelist.json"));
+ test_util::LoadJSONFile("drive/changelist.json"));
scoped_ptr<base::Value> file_list_json(
- test_util::LoadJSONFile("chromeos/drive/filelist.json"));
+ test_util::LoadJSONFile("drive/filelist.json"));
EXPECT_TRUE(ChangeList::HasChangeListKind(*change_list_json));
EXPECT_FALSE(ChangeList::HasChangeListKind(*file_list_json));
« no previous file with comments | « chrome/browser/google_apis/base_requests_server_unittest.cc ('k') | chrome/browser/google_apis/drive_api_requests_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698