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

Side by Side Diff: webkit/glue/mimetype_unittest.cc

Issue 6264013: Clean up net unit testing code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-virtualize TestDelegate::OnResponseCompleted Created 9 years, 11 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 <string> 5 #include <string>
6 6
7 #include "base/string_util.h" 7 #include "base/string_util.h"
8 #include "net/url_request/url_request_unittest.h" 8 #include "net/url_request/url_request_test_util.h"
9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h"
11 #include "webkit/glue/unittest_test_server.h" 11 #include "webkit/glue/unittest_test_server.h"
12 #include "webkit/glue/webkit_glue.h" 12 #include "webkit/glue/webkit_glue.h"
13 #include "webkit/tools/test_shell/test_shell_test.h" 13 #include "webkit/tools/test_shell/test_shell_test.h"
14 14
15 using WebKit::WebFrame; 15 using WebKit::WebFrame;
16 16
17 namespace { 17 namespace {
18 18
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 CheckMimeType(not_text[i], ""); 81 CheckMimeType(not_text[i], "");
82 test_shell_->webView()->mainFrame()->stopLoading(); 82 test_shell_->webView()->mainFrame()->stopLoading();
83 } 83 }
84 84
85 // TODO(tc): make sure other mime types properly go to download (e.g., 85 // TODO(tc): make sure other mime types properly go to download (e.g.,
86 // image/foo). 86 // image/foo).
87 87
88 } 88 }
89 89
90 } // namespace 90 } // namespace
OLDNEW
« net/url_request/url_request_unittest.cc ('K') | « webkit/appcache/appcache_update_job_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698