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

Side by Side Diff: chrome/browser/chromeos/gdata/gdata_parser_unittest.cc

Issue 9465030: Break two classes defined in json_value_serializer.cc, .h into separate files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/file_path.h" 5 #include "base/file_path.h"
6 #include "base/file_util.h" 6 #include "base/file_util.h"
7 #include "base/json/json_value_serializer.h" 7 #include "base/json/json_file_value_serializer.h"
8 #include "base/path_service.h" 8 #include "base/path_service.h"
9 #include "base/string16.h" 9 #include "base/string16.h"
10 #include "base/time.h" 10 #include "base/time.h"
11 #include "base/utf_string_conversions.h" 11 #include "base/utf_string_conversions.h"
12 #include "base/values.h" 12 #include "base/values.h"
13 #include "chrome/browser/chromeos/gdata/gdata_parser.h" 13 #include "chrome/browser/chromeos/gdata/gdata_parser.h"
14 #include "chrome/common/chrome_paths.h" 14 #include "chrome/common/chrome_paths.h"
15 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
16 16
17 using base::Value; 17 using base::Value;
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 ASSERT_TRUE(file_parent_link); 142 ASSERT_TRUE(file_parent_link);
143 EXPECT_EQ("https://file_link_parent/", file_parent_link->href().spec()); 143 EXPECT_EQ("https://file_link_parent/", file_parent_link->href().spec());
144 EXPECT_EQ("application/atom+xml", file_parent_link->mime_type()); 144 EXPECT_EQ("application/atom+xml", file_parent_link->mime_type());
145 EXPECT_EQ(ASCIIToUTF16("Medical"), file_parent_link->title()); 145 EXPECT_EQ(ASCIIToUTF16("Medical"), file_parent_link->title());
146 146
147 // Check a file entry. 147 // Check a file entry.
148 const DocumentEntry* document_entry = feed->entries()[2]; 148 const DocumentEntry* document_entry = feed->entries()[2];
149 ASSERT_TRUE(document_entry); 149 ASSERT_TRUE(document_entry);
150 EXPECT_EQ(gdata::DocumentEntry::DOCUMENT, document_entry->kind()); 150 EXPECT_EQ(gdata::DocumentEntry::DOCUMENT, document_entry->kind());
151 } 151 }
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_file_system_unittest.cc ('k') | chrome/browser/chromeos/proxy_config_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698