ref: 8c6263e8dc9e1656057e51d7cd916b4db26b1aea
parent: 0b27ed434c50db2529077b285bcc24b80e97a983
author: James Zern <[email protected]>
date: Sat Jun 21 15:38:52 EDT 2014
vp9_thread_test: remove unnecessary c_str()'s EXPECT_EQ() works with strings Change-Id: I2b13369d2aa7ff305ee516e6cb73bd099f8dead9
--- a/test/vp9_thread_test.cc
+++ b/test/vp9_thread_test.cc
@@ -139,7 +139,7 @@
for (const FileList *iter = files; iter->name != NULL; ++iter) {
SCOPED_TRACE(iter->name);
for (int t = 2; t <= 8; ++t) {
- EXPECT_STREQ(iter->expected_md5, DecodeFile(iter->name, t).c_str())
+ EXPECT_EQ(iter->expected_md5, DecodeFile(iter->name, t))
<< "threads = " << t;
}
}
@@ -147,8 +147,8 @@
TEST(VP9DecodeMultiThreadedTest, Decode) {
// no tiles or frame parallel; this exercises loop filter threading.
- EXPECT_STREQ("b35a1b707b28e82be025d960aba039bc",
- DecodeFile("vp90-2-03-size-226x226.webm", 2).c_str());
+ EXPECT_EQ("b35a1b707b28e82be025d960aba039bc",
+ DecodeFile("vp90-2-03-size-226x226.webm", 2));
}
TEST(VP9DecodeMultiThreadedTest, Decode2) {