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

Unified Diff: remoting/base/encoder_row_based_unittest.cc

Issue 5635003: Reenable encoder/decoder tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 10 years 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/encoder_row_based.cc ('k') | remoting/remoting.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/encoder_row_based_unittest.cc
diff --git a/remoting/base/encoder_row_based_unittest.cc b/remoting/base/encoder_row_based_unittest.cc
index 8f54e82195f7b3066cf1e9e54d60e5660eca49c0..735e8063eff551a92e52a87f7ab272b553542c2a 100644
--- a/remoting/base/encoder_row_based_unittest.cc
+++ b/remoting/base/encoder_row_based_unittest.cc
@@ -3,20 +3,19 @@
// found in the LICENSE file.
#include "remoting/base/codec_test.h"
-#include "remoting/base/encoder_zlib.h"
+#include "remoting/base/encoder_row_based.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace remoting {
TEST(EncoderZlibTest, TestEncoder) {
- EncoderZlib encoder;
- TestEncoder(&encoder, true);
+ scoped_ptr<EncoderRowBased> encoder(EncoderRowBased::CreateZlibEncoder());
+ TestEncoder(encoder.get(), true);
}
-
TEST(EncoderZlibTest, TestEncoderSmallOutputBuffer) {
- EncoderZlib encoder(16);
- TestEncoder(&encoder, true);
+ scoped_ptr<EncoderRowBased> encoder(EncoderRowBased::CreateZlibEncoder(16));
+ TestEncoder(encoder.get(), true);
}
} // namespace remoting
« no previous file with comments | « remoting/base/encoder_row_based.cc ('k') | remoting/remoting.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698