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

Side by Side Diff: webkit/glue/media/buffered_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
« no previous file with comments | « no previous file | webkit/glue/media/buffered_resource_loader_unittest.cc » ('j') | 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) 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 <algorithm> 5 #include <algorithm>
6 6
7 #include "base/test/test_timeouts.h" 7 #include "base/test/test_timeouts.h"
8 #include "media/base/mock_filter_host.h" 8 #include "media/base/mock_filter_host.h"
9 #include "media/base/mock_filters.h" 9 #include "media/base/mock_filters.h"
10 #include "net/base/net_errors.h" 10 #include "net/base/net_errors.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/WebURLResponse.h" 12 #include "third_party/WebKit/WebKit/chromium/public/WebURLResponse.h"
13 #include "webkit/glue/media/buffered_data_source.h" 13 #include "webkit/glue/media/buffered_data_source.h"
14 #include "webkit/glue/mock_webframe.h" 14 #include "webkit/mocks/mock_webframe.h"
15 15
16 using ::testing::_; 16 using ::testing::_;
17 using ::testing::Assign; 17 using ::testing::Assign;
18 using ::testing::AtLeast; 18 using ::testing::AtLeast;
19 using ::testing::DeleteArg; 19 using ::testing::DeleteArg;
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::InvokeWithoutArgs; 23 using ::testing::InvokeWithoutArgs;
24 using ::testing::NotNull; 24 using ::testing::NotNull;
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 StopDataSource(); 495 StopDataSource();
496 } 496 }
497 497
498 TEST_F(BufferedDataSourceTest, FileHasLoadedState) { 498 TEST_F(BufferedDataSourceTest, FileHasLoadedState) {
499 InitializeDataSource(kFileUrl, net::OK, true, 1024, LOADED); 499 InitializeDataSource(kFileUrl, net::OK, true, 1024, LOADED);
500 ReadDataSourceTimesOut(20, 10); 500 ReadDataSourceTimesOut(20, 10);
501 StopDataSource(); 501 StopDataSource();
502 } 502 }
503 503
504 } // namespace webkit_glue 504 } // namespace webkit_glue
OLDNEW
« no previous file with comments | « no previous file | webkit/glue/media/buffered_resource_loader_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698