Battery Status API: add UMA logging for Linux.
[chromium-blink-merge.git] / remoting / codec / video_encoder_verbatim_unittest.cc
blobb9e72ac1ec120b74b679bcb7820ad09238e86248
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.
5 #include "remoting/codec/video_encoder_verbatim.h"
7 #include "remoting/codec/codec_test.h"
8 #include "remoting/codec/video_decoder_verbatim.h"
9 #include "testing/gtest/include/gtest/gtest.h"
11 namespace remoting {
13 TEST(VideoEncoderVerbatimTest, TestVideoEncoder) {
14 scoped_ptr<VideoEncoderVerbatim> encoder(new VideoEncoderVerbatim());
15 TestVideoEncoder(encoder.get(), true);
18 TEST(VideoEncoderVerbatimTest, EncodeAndDecode) {
19 scoped_ptr<VideoEncoderVerbatim> encoder(new VideoEncoderVerbatim());
20 scoped_ptr<VideoDecoderVerbatim> decoder(new VideoDecoderVerbatim());
21 TestVideoEncoderDecoder(encoder.get(), decoder.get(), true);
24 } // namespace remoting