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

Side by Side Diff: webkit/fileapi/file_system_url_request_job_unittest.cc

Issue 10447043: Move all webkit/fileapi tests to content_unittests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Try to fix ChromeOS build Created 8 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 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 //
5 // NOTE: These tests are run as part of "unit_tests" (in chrome/test/unit)
6 // rather than as part of test_shell_tests because they rely on being able
7 // to instantiate a MessageLoop of type TYPE_IO. test_shell_tests uses
8 // TYPE_UI, which URLRequest doesn't allow.
9 //
10 4
11 #include "webkit/fileapi/file_system_url_request_job.h" 5 #include "webkit/fileapi/file_system_url_request_job.h"
12 6
13 #include <string> 7 #include <string>
14 8
15 #include "base/bind.h" 9 #include "base/bind.h"
16 #include "base/file_path.h" 10 #include "base/file_path.h"
17 #include "base/file_util.h" 11 #include "base/file_util.h"
18 #include "base/format_macros.h" 12 #include "base/format_macros.h"
19 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 363
370 TestRequest(CreateFileSystemURL(kFilename)); 364 TestRequest(CreateFileSystemURL(kFilename));
371 365
372 std::string mime_type_from_job; 366 std::string mime_type_from_job;
373 request_->GetMimeType(&mime_type_from_job); 367 request_->GetMimeType(&mime_type_from_job);
374 EXPECT_EQ(mime_type_direct, mime_type_from_job); 368 EXPECT_EQ(mime_type_direct, mime_type_from_job);
375 } 369 }
376 370
377 } // namespace 371 } // namespace
378 } // namespace fileapi 372 } // namespace fileapi
OLDNEW
« no previous file with comments | « webkit/fileapi/file_system_quota_unittest.cc ('k') | webkit/fileapi/file_writer_delegate_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698