Bulk rename test files from _unittests.cc/_browsertests.cc to _unittest.cc/_browsertest.cc per style guide

提交: 29c9e327 | 2026-01-27 00:27:31

← 返回列表

Bulk rename test files from _unittests.cc/_browsertests.cc to _unittest.cc/_browsertest.cc per style guide

Minor
提交哈希: 29c9e327a44041472a21781b1700aa5b28a61bea
提交时间: 2026-01-27 00:27:31
影响等级: Minor
生成工具: webview2-upstream-sentry

📋 摘要

This commit bulk-renames test files using _unittests.cc and _browsertests.cc suffixes to _unittest.cc and _browsertest.cc (removing the plural 's'), per the Chromium C++ style guide naming convention. Approximately 68 files are renamed along with corresponding BUILD.gn reference updates. This change only affects file naming and build configuration with no functional code modifications. Modules affected include ash, chrome, content, components, media, services, ui, and others. macOS-related renames include components/remote_cocoa/common/font_mojom_traits_unittest.cc and test files under media/base/mac/.

🎯 影响分析

This change has virtually no impact on WebView2Mac. All modifications are limited to test file renames and BUILD.gn target reference updates, with no changes to functional code, interfaces, Mojo definitions, or runtime behavior. Although one test file under components/remote_cocoa/common/ was renamed, it is a mojom traits unit test that does not affect Remote Cocoa's functional implementation. No downstream adaptation is needed unless the downstream directly references renamed test file paths (highly unlikely).