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

Side by Side Diff: remoting/base/encoder_row_based_unittest.cc

Issue 5581007: Revert 68434 - Reenable encoder/decoder tests.... (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 | « remoting/base/encoder_row_based.cc ('k') | remoting/remoting.gyp » ('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 "remoting/base/codec_test.h" 5 #include "remoting/base/codec_test.h"
6 #include "remoting/base/encoder_row_based.h" 6 #include "remoting/base/encoder_zlib.h"
7 #include "testing/gtest/include/gtest/gtest.h" 7 #include "testing/gtest/include/gtest/gtest.h"
8 8
9 namespace remoting { 9 namespace remoting {
10 10
11 TEST(EncoderZlibTest, TestEncoder) { 11 TEST(EncoderZlibTest, TestEncoder) {
12 scoped_ptr<EncoderRowBased> encoder(EncoderRowBased::CreateZlibEncoder()); 12 EncoderZlib encoder;
13 TestEncoder(encoder.get(), true); 13 TestEncoder(&encoder, true);
14 } 14 }
15 15
16
16 TEST(EncoderZlibTest, TestEncoderSmallOutputBuffer) { 17 TEST(EncoderZlibTest, TestEncoderSmallOutputBuffer) {
17 scoped_ptr<EncoderRowBased> encoder(EncoderRowBased::CreateZlibEncoder(16)); 18 EncoderZlib encoder(16);
18 TestEncoder(encoder.get(), true); 19 TestEncoder(&encoder, true);
19 } 20 }
20 21
21 } // namespace remoting 22 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/base/encoder_row_based.cc ('k') | remoting/remoting.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698