Index: gpu/command_buffer/service/gles2_cmd_decoder_unittest_2_autogen.h |
=================================================================== |
--- gpu/command_buffer/service/gles2_cmd_decoder_unittest_2_autogen.h (revision 68245) |
+++ gpu/command_buffer/service/gles2_cmd_decoder_unittest_2_autogen.h (working copy) |
@@ -9,48 +9,6 @@ |
#define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_2_AUTOGEN_H_ |
-TEST_F(GLES2DecoderTest2, GetVertexAttribfvValidArgs) { |
- SpecializedSetup<GetVertexAttribfv, 0>(true); |
- typedef GetVertexAttribfv::Result Result; |
- Result* result = static_cast<Result*>(shared_memory_address_); |
- result->size = 0; |
- GetVertexAttribfv cmd; |
- cmd.Init( |
- 1, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, shared_memory_id_, |
- shared_memory_offset_); |
- EXPECT_EQ(error::kNoError, ExecuteCmd(cmd)); |
- EXPECT_EQ(decoder_->GetGLES2Util()->GLGetNumValuesReturned( |
- GL_VERTEX_ATTRIB_ARRAY_NORMALIZED), |
- result->GetNumResults()); |
- EXPECT_EQ(GL_NO_ERROR, GetGLError()); |
-} |
- |
-TEST_F(GLES2DecoderTest2, GetVertexAttribfvInvalidArgs2_0) { |
- EXPECT_CALL(*gl_, GetVertexAttribfv(_, _, _)).Times(0); |
- SpecializedSetup<GetVertexAttribfv, 0>(false); |
- GetVertexAttribfv::Result* result = |
- static_cast<GetVertexAttribfv::Result*>(shared_memory_address_); |
- result->size = 0; |
- GetVertexAttribfv cmd; |
- cmd.Init(1, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, kInvalidSharedMemoryId, 0); |
- EXPECT_EQ(error::kOutOfBounds, ExecuteCmd(cmd)); |
- EXPECT_EQ(0u, result->size); |
-} |
- |
-TEST_F(GLES2DecoderTest2, GetVertexAttribfvInvalidArgs2_1) { |
- EXPECT_CALL(*gl_, GetVertexAttribfv(_, _, _)).Times(0); |
- SpecializedSetup<GetVertexAttribfv, 0>(false); |
- GetVertexAttribfv::Result* result = |
- static_cast<GetVertexAttribfv::Result*>(shared_memory_address_); |
- result->size = 0; |
- GetVertexAttribfv cmd; |
- cmd.Init( |
- 1, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, shared_memory_id_, |
- kInvalidSharedMemoryOffset); |
- EXPECT_EQ(error::kOutOfBounds, ExecuteCmd(cmd)); |
- EXPECT_EQ(0u, result->size); |
-} |
- |
TEST_F(GLES2DecoderTest2, GetVertexAttribivValidArgs) { |
SpecializedSetup<GetVertexAttribiv, 0>(true); |
typedef GetVertexAttribiv::Result Result; |
@@ -1611,5 +1569,9 @@ |
// TODO(gman): CopyTextureToParentTextureCHROMIUM |
// TODO(gman): ResizeCHROMIUM |
+// TODO(gman): GetRequestableExtensionsCHROMIUM |
+ |
+// TODO(gman): RequestExtensionCHROMIUM |
+ |
#endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_2_AUTOGEN_H_ |