| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "remoting/codec/video_encoder_row_based.h" | |
| 6 | |
| 7 #include "remoting/codec/codec_test.h" | |
| 8 #include "testing/gtest/include/gtest/gtest.h" | |
| 9 | |
| 10 namespace remoting { | |
| 11 | |
| 12 TEST(VideoEncoderZlibTest, TestVideoEncoder) { | |
| 13 scoped_ptr<VideoEncoderRowBased> encoder( | |
| 14 VideoEncoderRowBased::CreateZlibEncoder()); | |
| 15 TestVideoEncoder(encoder.get(), true); | |
| 16 } | |
| 17 | |
| 18 TEST(VideoEncoderZlibTest, TestVideoEncoderSmallOutputBuffer) { | |
| 19 scoped_ptr<VideoEncoderRowBased> encoder( | |
| 20 VideoEncoderRowBased::CreateZlibEncoder(16)); | |
| 21 TestVideoEncoder(encoder.get(), true); | |
| 22 } | |
| 23 | |
| 24 } // namespace remoting | |
| OLD | NEW |