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

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

Issue 1052553004: Fix DriveApiRequestsTest.EmptyBatchUploadRequest in official builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « no previous file | 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/bind.h" 5 #include "base/bind.h"
6 #include "base/files/file_path.h" 6 #include "base/files/file_path.h"
7 #include "base/files/file_util.h" 7 #include "base/files/file_util.h"
8 #include "base/files/scoped_temp_dir.h" 8 #include "base/files/scoped_temp_dir.h"
9 #include "base/json/json_reader.h" 9 #include "base/json/json_reader.h"
10 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
(...skipping 1979 matching lines...) Expand 10 before | Expand all | Expand 10 after
1990 "\n" 1990 "\n"
1991 "aaaaaaaaaa\n" 1991 "aaaaaaaaaa\n"
1992 "--INNERBOUNDARY--\n" 1992 "--INNERBOUNDARY--\n"
1993 "--OUTERBOUNDARY--", 1993 "--OUTERBOUNDARY--",
1994 http_request_.content); 1994 http_request_.content);
1995 } 1995 }
1996 1996
1997 TEST_F(DriveApiRequestsTest, EmptyBatchUploadRequest) { 1997 TEST_F(DriveApiRequestsTest, EmptyBatchUploadRequest) {
1998 scoped_ptr<drive::BatchUploadRequest> request(new drive::BatchUploadRequest( 1998 scoped_ptr<drive::BatchUploadRequest> request(new drive::BatchUploadRequest(
1999 request_sender_.get(), *url_generator_)); 1999 request_sender_.get(), *url_generator_));
2000 EXPECT_DEATH(request->Commit(), "Check failed"); 2000 EXPECT_DEATH(request->Commit(), "");
2001 } 2001 }
2002 2002
2003 } // namespace google_apis 2003 } // namespace google_apis
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698