// // 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. // // CurrentColorTest.cpp: Tests basic usage of glColor4(f|ub|x). #include "test_utils/ANGLETest.h" #include "test_utils/gl_raii.h" #include "util/random_utils.h" #include <stdint.h> usingnamespaceangle; class CurrentColorTest : public ANGLETest<> { … }; // State query: Checks the initial state is correct. TEST_P(CurrentColorTest, InitialState) { … } // Set test: Checks that the current color is properly set and retrieved. TEST_P(CurrentColorTest, Set) { … } ANGLE_INSTANTIATE_TEST_ES1(…);