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

Unified Diff: gpu/command_buffer/service/cmd_parser_test.cc

Issue 560002: Fixed compile/link errors for gpu unit-tests. I had to mostly fix signed/unsi... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 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 | « no previous file | gpu/command_buffer/service/command_buffer_service_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/cmd_parser_test.cc
===================================================================
--- gpu/command_buffer/service/cmd_parser_test.cc (revision 37832)
+++ gpu/command_buffer/service/cmd_parser_test.cc (working copy)
@@ -70,8 +70,8 @@
// Tests initialization conditions.
TEST_F(CommandParserTest, TestInit) {
scoped_ptr<CommandParser> parser(MakeParser(10));
- EXPECT_EQ(0u, parser->get());
- EXPECT_EQ(0u, parser->put());
+ EXPECT_EQ(0, parser->get());
+ EXPECT_EQ(0, parser->put());
EXPECT_TRUE(parser->IsEmpty());
}
@@ -201,7 +201,7 @@
param.value_int32 = 5;
AddDoCommandExpect(error::kNoError, 3, 1, &param);
- DCHECK_EQ(5u, put);
+ DCHECK_EQ(5, put);
put = 0;
parser->set_put(put);
EXPECT_EQ(put, parser->put());
« no previous file with comments | « no previous file | gpu/command_buffer/service/command_buffer_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698