blob: 735e8063eff551a92e52a87f7ab272b553542c2a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// 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_row_based.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace remoting {
TEST(EncoderZlibTest, TestEncoder) {
scoped_ptr<EncoderRowBased> encoder(EncoderRowBased::CreateZlibEncoder());
TestEncoder(encoder.get(), true);
}
TEST(EncoderZlibTest, TestEncoderSmallOutputBuffer) {
scoped_ptr<EncoderRowBased> encoder(EncoderRowBased::CreateZlibEncoder(16));
TestEncoder(encoder.get(), true);
}
} // namespace remoting
|