// // Copyright 2015 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. // // EGLReadinessCheckTest.cpp: // Tests used to check environment in which other tests are run. #include <gtest/gtest.h> #include "gpu_info_util/SystemInfo.h" #include "test_utils/ANGLETest.h" #include "test_utils/angle_test_instantiate.h" usingnamespaceangle; class EGLReadinessCheckTest : public ANGLETest<> { … }; // Checks the tests are running against ANGLE TEST_P(EGLReadinessCheckTest, IsRunningOnANGLE) { … } // Checks that getting function pointer works TEST_P(EGLReadinessCheckTest, HasGetPlatformDisplayEXT) { … } // Checks that calling GetProcAddress for a non-existant function fails. TEST_P(EGLReadinessCheckTest, GetProcAddressNegativeTest) { … } // Tests that our allowlist function generally maps to our support function. // We can add specific exceptions here if needed. // Disabled because it was creating a large number of configs. This could even result // in a BDOD on Windows. TEST_P(EGLReadinessCheckTest, DISABLED_AllowlistMatchesSupport) { … } ANGLE_INSTANTIATE_TEST(…);