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

Side by Side Diff: google_apis/drive/gdata_wapi_parser_unittest.cc

Issue 443303003: Random cleanup around google_apis/drive and c/b/drive. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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
« no previous file with comments | « google_apis/drive/drive_api_parser_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "google_apis/drive/gdata_wapi_parser.h" 5 #include "google_apis/drive/gdata_wapi_parser.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/files/file_path.h"
10 #include "base/json/json_file_value_serializer.h" 9 #include "base/json/json_file_value_serializer.h"
11 #include "base/logging.h"
12 #include "base/time/time.h" 10 #include "base/time/time.h"
13 #include "base/values.h" 11 #include "base/values.h"
14 #include "google_apis/drive/test_util.h" 12 #include "google_apis/drive/test_util.h"
15 #include "google_apis/drive/time_util.h" 13 #include "google_apis/drive/time_util.h"
16 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
17 15
18 namespace google_apis { 16 namespace google_apis {
19 17
20 // Test document feed parsing. 18 // Test document feed parsing.
21 TEST(GDataWAPIParserTest, ResourceListJsonParser) { 19 TEST(GDataWAPIParserTest, ResourceListJsonParser) {
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 EXPECT_EQ(892721, entry->file_size()); 225 EXPECT_EQ(892721, entry->file_size());
228 226
229 // WAPI doesn't provide image metadata, but these fields are available 227 // WAPI doesn't provide image metadata, but these fields are available
230 // since this class can wrap data received from Drive API (via a converter). 228 // since this class can wrap data received from Drive API (via a converter).
231 EXPECT_EQ(-1, entry->image_width()); 229 EXPECT_EQ(-1, entry->image_width());
232 EXPECT_EQ(-1, entry->image_height()); 230 EXPECT_EQ(-1, entry->image_height());
233 EXPECT_EQ(-1, entry->image_rotation()); 231 EXPECT_EQ(-1, entry->image_rotation());
234 } 232 }
235 233
236 } // namespace google_apis 234 } // namespace google_apis
OLDNEW
« no previous file with comments | « google_apis/drive/drive_api_parser_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698