// // 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. // // feature_support_util_unittest.cpp: Unit test for the feature-support utility. #include <gtest/gtest.h> #include "../gpu_info_util/SystemInfo.h" #include "feature_support_util.h" usingnamespaceangle; constexpr char kMfr[] = …; constexpr char kModel[] = …; class FeatureSupportUtilTest : public testing::Test { … }; // Test the ANGLEGetFeatureSupportUtilAPIVersion function TEST_F(FeatureSupportUtilTest, APIVersion) { … } // Test the ANGLEAddDeviceInfoToSystemInfo function TEST_F(FeatureSupportUtilTest, SystemInfo) { … } // Test the ANGLEAndroidParseRulesString function TEST_F(FeatureSupportUtilTest, ParseRules) { … } // Test the ANGLEAndroidParseRulesString and ANGLEShouldBeUsedForApplication functions TEST_F(FeatureSupportUtilTest, TestRuleProcessing) { … }