Index: gpu/command_buffer/service/common_decoder_unittest.cc |
=================================================================== |
--- gpu/command_buffer/service/common_decoder_unittest.cc (revision 93137) |
+++ gpu/command_buffer/service/common_decoder_unittest.cc (working copy) |
@@ -556,5 +556,11 @@ |
EXPECT_NE(error::kNoError, ExecuteCmd(cmd)); |
} |
+TEST_F(CommonDecoderTest, YieldScheduler) { |
+ cmd::YieldScheduler cmd; |
+ cmd.Init(); |
+ EXPECT_EQ(error::kYield, ExecuteCmd(cmd)); |
+} |
+ |
} // namespace gpu |