diff options
Diffstat (limited to 'remoting/base/encoder_row_based_unittest.cc')
-rw-r--r-- | remoting/base/encoder_row_based_unittest.cc | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/remoting/base/encoder_row_based_unittest.cc b/remoting/base/encoder_row_based_unittest.cc new file mode 100644 index 0000000..8f54e82 --- /dev/null +++ b/remoting/base/encoder_row_based_unittest.cc @@ -0,0 +1,22 @@ +// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "remoting/base/codec_test.h" +#include "remoting/base/encoder_zlib.h" +#include "testing/gtest/include/gtest/gtest.h" + +namespace remoting { + +TEST(EncoderZlibTest, TestEncoder) { + EncoderZlib encoder; + TestEncoder(&encoder, true); +} + + +TEST(EncoderZlibTest, TestEncoderSmallOutputBuffer) { + EncoderZlib encoder(16); + TestEncoder(&encoder, true); +} + +} // namespace remoting |