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

Side by Side Diff: remoting/protocol/connection_to_client_unittest.cc

Issue 4562002: Add DEPS files in remoting subdirectories. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 10 years, 1 month 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 | « remoting/protocol/DEPS ('k') | remoting/protocol/message_decoder.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 "base/message_loop.h" 5 #include "base/message_loop.h"
6 #include "remoting/base/mock_objects.h" 6 #include "remoting/base/mock_objects.h"
7 #include "remoting/host/mock_objects.h"
8 #include "remoting/protocol/fake_session.h" 7 #include "remoting/protocol/fake_session.h"
9 #include "remoting/protocol/connection_to_client.h" 8 #include "remoting/protocol/connection_to_client.h"
10 #include "remoting/protocol/mock_objects.h" 9 #include "remoting/protocol/mock_objects.h"
11 #include "testing/gmock/include/gmock/gmock.h" 10 #include "testing/gmock/include/gmock/gmock.h"
12 11
13 using ::testing::_; 12 using ::testing::_;
14 using ::testing::NotNull; 13 using ::testing::NotNull;
15 using ::testing::StrictMock; 14 using ::testing::StrictMock;
16 15
17 namespace remoting { 16 namespace remoting {
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 viewer_->SendVideoPacket(packet); 81 viewer_->SendVideoPacket(packet);
83 viewer_->Disconnect(); 82 viewer_->Disconnect();
84 message_loop_.RunAllPending(); 83 message_loop_.RunAllPending();
85 84
86 // Verify that nothing has been written. 85 // Verify that nothing has been written.
87 EXPECT_EQ(session_->video_channel()->written_data().size(), 0u); 86 EXPECT_EQ(session_->video_channel()->written_data().size(), 0u);
88 } 87 }
89 88
90 } // namespace protocol 89 } // namespace protocol
91 } // namespace remoting 90 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/protocol/DEPS ('k') | remoting/protocol/message_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698