| OLD | NEW |
| 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/codec/video_encoder_row_based.h" |
| 6 #include "remoting/base/encoder_row_based.h" | 6 |
| 7 #include "remoting/codec/codec_test.h" |
| 7 #include "testing/gtest/include/gtest/gtest.h" | 8 #include "testing/gtest/include/gtest/gtest.h" |
| 8 | 9 |
| 9 namespace remoting { | 10 namespace remoting { |
| 10 | 11 |
| 11 TEST(EncoderZlibTest, TestEncoder) { | 12 TEST(EncoderZlibTest, TestEncoder) { |
| 12 scoped_ptr<EncoderRowBased> encoder(EncoderRowBased::CreateZlibEncoder()); | 13 scoped_ptr<EncoderRowBased> encoder(EncoderRowBased::CreateZlibEncoder()); |
| 13 TestEncoder(encoder.get(), true); | 14 TestEncoder(encoder.get(), true); |
| 14 } | 15 } |
| 15 | 16 |
| 16 TEST(EncoderZlibTest, TestEncoderSmallOutputBuffer) { | 17 TEST(EncoderZlibTest, TestEncoderSmallOutputBuffer) { |
| 17 scoped_ptr<EncoderRowBased> encoder(EncoderRowBased::CreateZlibEncoder(16)); | 18 scoped_ptr<EncoderRowBased> encoder(EncoderRowBased::CreateZlibEncoder(16)); |
| 18 TestEncoder(encoder.get(), true); | 19 TestEncoder(encoder.get(), true); |
| 19 } | 20 } |
| 20 | 21 |
| 21 } // namespace remoting | 22 } // namespace remoting |
| OLD | NEW |