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

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

Issue 7342047: Cleanup base/stl_util (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed unneeded include + rebase Created 9 years, 5 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
8 #include "base/stl_util-inl.h" 8 #include "base/stl_util.h"
9 #include "base/string_number_conversions.h" 9 #include "base/string_number_conversions.h"
10 #include "remoting/proto/event.pb.h" 10 #include "remoting/proto/event.pb.h"
11 #include "remoting/proto/internal.pb.h" 11 #include "remoting/proto/internal.pb.h"
12 #include "remoting/protocol/message_decoder.h" 12 #include "remoting/protocol/message_decoder.h"
13 #include "remoting/protocol/util.h" 13 #include "remoting/protocol/util.h"
14 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 15
16 namespace remoting { 16 namespace remoting {
17 namespace protocol { 17 namespace protocol {
18 18
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 SimulateReadSequence(kReads, arraysize(kReads)); 116 SimulateReadSequence(kReads, arraysize(kReads));
117 } 117 }
118 118
119 TEST(MessageDecoderTest, EmptyReads) { 119 TEST(MessageDecoderTest, EmptyReads) {
120 const int kReads[] = {4, 0, 50, 0}; 120 const int kReads[] = {4, 0, 50, 0};
121 SimulateReadSequence(kReads, arraysize(kReads)); 121 SimulateReadSequence(kReads, arraysize(kReads));
122 } 122 }
123 123
124 } // namespace protocol 124 } // namespace protocol
125 } // namespace remoting 125 } // namespace remoting
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698