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

Side by Side Diff: webkit/glue/media/simple_data_source_unittest.cc

Issue 5878006: moving mocks into webkit/mocks/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/callback.h" 5 #include "base/callback.h"
6 #include "media/base/filters.h" 6 #include "media/base/filters.h"
7 #include "media/base/mock_filter_host.h" 7 #include "media/base/mock_filter_host.h"
8 #include "media/base/mock_filters.h" 8 #include "media/base/mock_filters.h"
9 #include "net/base/net_errors.h" 9 #include "net/base/net_errors.h"
10 #include "third_party/WebKit/WebKit/chromium/public/WebFrame.h" 10 #include "third_party/WebKit/WebKit/chromium/public/WebFrame.h"
11 #include "third_party/WebKit/WebKit/chromium/public/WebURLError.h" 11 #include "third_party/WebKit/WebKit/chromium/public/WebURLError.h"
12 #include "third_party/WebKit/WebKit/chromium/public/WebURLLoader.h" 12 #include "third_party/WebKit/WebKit/chromium/public/WebURLLoader.h"
13 #include "third_party/WebKit/WebKit/chromium/public/WebURLRequest.h" 13 #include "third_party/WebKit/WebKit/chromium/public/WebURLRequest.h"
14 #include "third_party/WebKit/WebKit/chromium/public/WebURLResponse.h" 14 #include "third_party/WebKit/WebKit/chromium/public/WebURLResponse.h"
15 #include "webkit/glue/media/simple_data_source.h" 15 #include "webkit/glue/media/simple_data_source.h"
16 #include "webkit/glue/mock_webframe.h" 16 #include "webkit/mocks/mock_webframe.h"
17 #include "webkit/glue/mock_weburlloader_impl.h" 17 #include "webkit/mocks/mock_weburlloader.h"
18 18
19 using ::testing::_; 19 using ::testing::_;
20 using ::testing::DoAll; 20 using ::testing::DoAll;
21 using ::testing::InSequence; 21 using ::testing::InSequence;
22 using ::testing::Invoke; 22 using ::testing::Invoke;
23 using ::testing::NiceMock; 23 using ::testing::NiceMock;
24 using ::testing::NotNull; 24 using ::testing::NotNull;
25 using ::testing::Return; 25 using ::testing::Return;
26 using ::testing::SetArgumentPointee; 26 using ::testing::SetArgumentPointee;
27 using ::testing::StrictMock; 27 using ::testing::StrictMock;
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 } 215 }
216 216
217 TEST_F(SimpleDataSourceTest, AsyncRead) { 217 TEST_F(SimpleDataSourceTest, AsyncRead) {
218 InitializeDataSource(kFileUrl); 218 InitializeDataSource(kFileUrl);
219 RequestSucceeded(true); 219 RequestSucceeded(true);
220 AsyncRead(); 220 AsyncRead();
221 DestroyDataSource(); 221 DestroyDataSource();
222 } 222 }
223 223
224 } // namespace webkit_glue 224 } // namespace webkit_glue
OLDNEW
« no previous file with comments | « webkit/glue/media/buffered_resource_loader_unittest.cc ('k') | webkit/mocks/mock_resource_loader_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698