// // 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. // // TextureEnvTest.cpp: Tests basic usage of texture environments. #include "test_utils/ANGLETest.h" #include "test_utils/gl_raii.h" #include "util/random_utils.h" #include <stdint.h> usingnamespaceangle; class TextureEnvTest : public ANGLETest<> { … }; // Initial state check. TEST_P(TextureEnvTest, InitialState) { … } // Negative test for parameter names. TEST_P(TextureEnvTest, NegativeParameter) { … } // Negative test for parameter values. TEST_P(TextureEnvTest, NegativeValues) { … } // Checks that texture environment state can be set. TEST_P(TextureEnvTest, Set) { … } ANGLE_INSTANTIATE_TEST_ES1(…);