Code refactoring for angle::BitSet and EXPECT_GL_TRUE/FALSE.
This change refactors two style issues to make it be consistent.
1) This CL uses "using" to replace "typedef" for all angle::BitSet<...>.
2) This CL uses EXPECT_GL_TRUE/FALSE to replace EXPECT_EQ for bool comparison.
BUG=angleproject:2005
Change-Id: I4afad92313ea2457bbfedf80f917a5873d7f29ee
Reviewed-on: https://chromium-review.googlesource.com/795871
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
diff --git a/src/tests/gl_tests/ComputeShaderTest.cpp b/src/tests/gl_tests/ComputeShaderTest.cpp
index d516ef1..1e8b855 100644
--- a/src/tests/gl_tests/ComputeShaderTest.cpp
+++ b/src/tests/gl_tests/ComputeShaderTest.cpp
@@ -64,7 +64,7 @@
glLinkProgram(program);
GLint linkStatus;
glGetProgramiv(program, GL_LINK_STATUS, &linkStatus);
- EXPECT_EQ(GL_TRUE, linkStatus);
+ EXPECT_GL_TRUE(linkStatus);
glDetachShader(program, cs);
EXPECT_GL_NO_ERROR();
@@ -167,7 +167,7 @@
GLint linkStatus;
glGetProgramiv(program, GL_LINK_STATUS, &linkStatus);
- EXPECT_EQ(GL_FALSE, linkStatus);
+ EXPECT_GL_FALSE(linkStatus);
EXPECT_GL_NO_ERROR();
}
@@ -275,7 +275,7 @@
GLint linkStatus;
glGetProgramiv(program, GL_LINK_STATUS, &linkStatus);
- EXPECT_EQ(GL_TRUE, linkStatus);
+ EXPECT_GL_TRUE(linkStatus);
EXPECT_GL_NO_ERROR();