// // 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. // // MaterialsTest.cpp: Tests basic usage of glMaterial*. #include "test_utils/ANGLETest.h" #include "test_utils/gl_raii.h" #include "util/random_utils.h" #include <stdint.h> #include <vector> usingnamespaceangle; class MaterialsTest : public ANGLETest<> { … }; // Check that the initial material state is correct. TEST_P(MaterialsTest, InitialState) { … } // Check for invalid parameter names. TEST_P(MaterialsTest, InvalidParameter) { … } // Check that material parameters can be set. TEST_P(MaterialsTest, SetParameters) { … } ANGLE_INSTANTIATE_TEST_ES1(…);