Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(407)

Unified Diff: remoting/base/decoder_zlib_unittest.cc

Issue 2868062: EncoderZlib/DecoderZlib for chromoting (Closed)
Patch Set: from .cc to .c Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/base/decoder_zlib.cc ('k') | remoting/base/decompressor_zlib_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/decoder_zlib_unittest.cc
diff --git a/remoting/base/decoder_zlib_unittest.cc b/remoting/base/decoder_zlib_unittest.cc
new file mode 100644
index 0000000000000000000000000000000000000000..8ebad1d8ea9da0aa4b1397b5dffe4ff9214ae94d
--- /dev/null
+++ b/remoting/base/decoder_zlib_unittest.cc
@@ -0,0 +1,28 @@
+// 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 "media/base/video_frame.h"
+#include "remoting/base/codec_test.h"
+#include "remoting/base/decoder_zlib.h"
+#include "remoting/base/decompressor_zlib.h"
+#include "remoting/base/encoder_zlib.h"
+#include "remoting/client/mock_objects.h"
+#include "testing/gtest/include/gtest/gtest.h"
+
+
+namespace remoting {
+
+TEST(DecoderZlibTest, EncodeAndDecode) {
+ EncoderZlib encoder;
+ DecoderZlib decoder;
+ TestEncoderDecoder(&encoder, &decoder, true);
+}
+
+TEST(DecoderZlibTest, EncodeAndDecodeSmallOutputBuffer) {
+ EncoderZlib encoder(64);
+ DecoderZlib decoder;
+ TestEncoderDecoder(&encoder, &decoder, true);
+}
+
+} // namespace remoting
« no previous file with comments | « remoting/base/decoder_zlib.cc ('k') | remoting/base/decompressor_zlib_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698