Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit ab2563e

Browse files
committed
[embedder] Consistent naming for GL/Metal tests
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 #38133 Related: flutter/cocoon#2340 Issue: flutter/flutter#116381
1 parent 8a113d3 commit ab2563e

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

shell/platform/embedder/BUILD.gn

+2-2
Original file line numberDiff line numberDiff line change
@@ -317,11 +317,11 @@ if (enable_unittests) {
317317
deps = [ ":embedder_unittests_library" ]
318318

319319
if (test_enable_gl) {
320-
sources += [ "tests/embedder_unittests_gl.cc" ]
320+
sources += [ "tests/embedder_gl_unittests.cc" ]
321321
}
322322

323323
if (test_enable_metal) {
324-
sources += [ "tests/embedder_unittests_metal.mm" ]
324+
sources += [ "tests/embedder_metal_unittests.mm" ]
325325
}
326326
}
327327

0 commit comments

Comments
 (0)