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

Unified Diff: command_buffer/service/cross/buffer_rpc_test.cc

Issue 212018: Change command buffer client code to use structures.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: '' Created 11 years, 3 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 | « command_buffer/samples/bubble/bubble_module.cc ('k') | command_buffer/service/cross/cmd_buffer_engine.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: command_buffer/service/cross/buffer_rpc_test.cc
===================================================================
--- command_buffer/service/cross/buffer_rpc_test.cc (revision 26638)
+++ command_buffer/service/cross/buffer_rpc_test.cc (working copy)
@@ -151,8 +151,8 @@
// is properly forwarded.
TEST_F(BufferRPCImplTest, TestGetStatus) {
EXPECT_CALL(buffer_sync_mock(), GetStatus())
- .WillOnce(Return(BufferSyncInterface::PARSE_ERROR));
- EXPECT_EQ(BufferSyncInterface::PARSE_ERROR,
+ .WillOnce(Return(BufferSyncInterface::kParseError));
+ EXPECT_EQ(BufferSyncInterface::kParseError,
buffer_rpc_impl()->DoCall(BufferRPCImpl::GET_STATUS, NULL, 0, NULL,
0));
}
@@ -161,8 +161,8 @@
// is properly forwarded.
TEST_F(BufferRPCImplTest, TestGetParseError) {
EXPECT_CALL(buffer_sync_mock(), GetParseError())
- .WillOnce(Return(BufferSyncInterface::PARSE_OUT_OF_BOUNDS));
- EXPECT_EQ(BufferSyncInterface::PARSE_OUT_OF_BOUNDS,
+ .WillOnce(Return(BufferSyncInterface::kParseOutOfBounds));
+ EXPECT_EQ(BufferSyncInterface::kParseOutOfBounds,
buffer_rpc_impl()->DoCall(BufferRPCImpl::GET_PARSE_ERROR, NULL, 0,
NULL, 0));
}
« no previous file with comments | « command_buffer/samples/bubble/bubble_module.cc ('k') | command_buffer/service/cross/cmd_buffer_engine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698