// // Copyright 2018 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // ShadeModelTest.cpp: Tests the shade model API. #include "test_utils/ANGLETest.h" #include "test_utils/gl_raii.h" #include "util/random_utils.h" #include <stdint.h> usingnamespaceangle; class ShadeModelTest : public ANGLETest<> { … }; // Checks that the initial state is correct. TEST_P(ShadeModelTest, InitialState) { … } // Negative test for shade model. TEST_P(ShadeModelTest, Negative) { … } // Checks that the state can be set. TEST_P(ShadeModelTest, Set) { … } ANGLE_INSTANTIATE_TEST_ES1(…);