summaryrefslogtreecommitdiffstats
path: root/chrome/browser/google_apis/gdata_wapi_parser_unittest.cc
diff options
context:
space:
mode:
authorkeishi@chromium.org <keishi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-08 14:12:38 +0000
committerkeishi@chromium.org <keishi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-08 14:12:38 +0000
commit3ac6b8fc372273274f2f219af304dde3f4df2ec6 (patch)
treec5d97b9fad3b858dac705025b1ef9148087f6944 /chrome/browser/google_apis/gdata_wapi_parser_unittest.cc
parentf9461a945da6fb2d47c89b64ca4eb7d6c1dcf68a (diff)
downloadchromium_src-3ac6b8fc372273274f2f219af304dde3f4df2ec6.zip
chromium_src-3ac6b8fc372273274f2f219af304dde3f4df2ec6.tar.gz
chromium_src-3ac6b8fc372273274f2f219af304dde3f4df2ec6.tar.bz2
Changing GetTestFilePath so we can place test files outside of the chromeos directory.
BUG=176884 Review URL: https://chromiumcodereview.appspot.com/12462010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186958 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.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/google_apis/gdata_wapi_parser_unittest.cc b/chrome/browser/google_apis/gdata_wapi_parser_unittest.cc
index 67c1fe3..f85d325 100644
--- a/chrome/browser/google_apis/gdata_wapi_parser_unittest.cc
+++ b/chrome/browser/google_apis/gdata_wapi_parser_unittest.cc
@@ -30,7 +30,7 @@ namespace google_apis {
TEST(GDataWAPIParserTest, ResourceListJsonParser) {
std::string error;
scoped_ptr<Value> document =
- test_util::LoadJSONFile("gdata/basic_feed.json");
+ test_util::LoadJSONFile("chromeos/gdata/basic_feed.json");
ASSERT_TRUE(document.get());
ASSERT_EQ(Value::TYPE_DICTIONARY, document->GetType());
scoped_ptr<ResourceList> feed(ResourceList::ExtractAndParse(*document));
@@ -159,7 +159,7 @@ TEST(GDataWAPIParserTest, ResourceListJsonParser) {
TEST(GDataWAPIParserTest, ResourceEntryJsonParser) {
std::string error;
scoped_ptr<Value> document =
- test_util::LoadJSONFile("gdata/file_entry.json");
+ test_util::LoadJSONFile("chromeos/gdata/file_entry.json");
ASSERT_TRUE(document.get());
ASSERT_EQ(Value::TYPE_DICTIONARY, document->GetType());
scoped_ptr<ResourceEntry> entry(ResourceEntry::ExtractAndParse(*document));
@@ -240,7 +240,7 @@ TEST(GDataWAPIParserTest, ResourceEntryJsonParser) {
TEST(GDataWAPIParserTest, AccountMetadataParser) {
scoped_ptr<Value> document =
- test_util::LoadJSONFile("gdata/account_metadata.json");
+ test_util::LoadJSONFile("chromeos/gdata/account_metadata.json");
ASSERT_TRUE(document.get());
ASSERT_EQ(Value::TYPE_DICTIONARY, document->GetType());
DictionaryValue* entry_value = NULL;