Instead of inheriting from testing::Test's SetUp and TearDown we add new methods 'testSetUp' and 'testTearDown'. This helps prevent a common error of forgetting to call the base class method. Also add a check in the ANGLETest destructor that SetUp and TearDown have been called. Bug: angleproject:3393 Change-Id: Iab211305cc06ffea9ca649e864ddc9b180f2cba0 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1593960Reviewed-by:Geoff Lang <geofflang@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| AlphaFuncTest.cpp | Loading commit data... | |
| BasicDrawTest.cpp | Loading commit data... | |
| ClientActiveTextureTest.cpp | Loading commit data... | |
| ClientStateEnable.cpp | Loading commit data... | |
| ClipPlaneTest.cpp | Loading commit data... | |
| CurrentColorTest.cpp | Loading commit data... | |
| CurrentNormalTest.cpp | Loading commit data... | |
| CurrentTextureCoordsTest.cpp | Loading commit data... | |
| DrawTextureTest.cpp | Loading commit data... | |
| FogTest.cpp | Loading commit data... | |
| LightsTest.cpp | Loading commit data... | |
| MaterialsTest.cpp | Loading commit data... | |
| MatrixBuiltinsTest.cpp | Loading commit data... | |
| MatrixLoadTest.cpp | Loading commit data... | |
| MatrixModeTest.cpp | Loading commit data... | |
| MatrixMultTest.cpp | Loading commit data... | |
| MatrixStackTest.cpp | Loading commit data... | |
| PointParameterTest.cpp | Loading commit data... | |
| PointSpriteTest.cpp | Loading commit data... | |
| ShadeModelTest.cpp | Loading commit data... | |
| TextureEnvTest.cpp | Loading commit data... | |
| TextureParameterTest.cpp | Loading commit data... | |
| TextureTargetEnableTest.cpp | Loading commit data... | |
| VertexPointerTest.cpp | Loading commit data... |