[embedder] Consistent naming for GL/Metal tests (flutter/engine#38141)

While I've sent a patch to mark the shell/platform/embedder/tests and
fixtures directories as test exempt (since they are tests), by
convention, tests should end in _unittests.* for C++ tests, and _test.*
for Dart tests. This renames for consistency with other tests such as
embedder_a11y_unittests.cc.

Uncovered by https://github.com/flutter/engine/pull/38133

Related: https://github.com/flutter/cocoon/pull/2340
Issue: https://github.com/flutter/flutter/issues/116381
This commit is contained in:
Chris Bracken
2022-12-08 11:28:52 -08:00
committed by GitHub
parent 84a4d1eb85
commit bd43e9cc99
3 changed files with 2 additions and 2 deletions

View File

@@ -317,11 +317,11 @@ if (enable_unittests) {
deps = [ ":embedder_unittests_library" ]
if (test_enable_gl) {
sources += [ "tests/embedder_unittests_gl.cc" ]
sources += [ "tests/embedder_gl_unittests.cc" ]
}
if (test_enable_metal) {
sources += [ "tests/embedder_unittests_metal.mm" ]
sources += [ "tests/embedder_metal_unittests.mm" ]
}
}