Skip to content

Commit c67929c

Browse files
Lightning00BladeDevtools-frontend LUCI CQ
authored andcommitted
[cleanup] Unify test naming
Unifying all test files to have a common suffix. This make using tool simpler as we have 1 way to define files. Examples are: Custom scripts we write, explain to AI what files are test files, Lint rules, IDE search / ignore. Part 1 - only migrate Extensions as they take the longest to build, test and land. Bypass-Check-License: Renaming files Bug: none Change-Id: I6c53257b8fa9aa4f55c03a934df38d23637e6446 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/7181180 Auto-Submit: Nikolay Vitkov <[email protected]> Reviewed-by: Benedikt Meurer <[email protected]> Commit-Queue: Benedikt Meurer <[email protected]>
1 parent 1931fb3 commit c67929c

14 files changed

+4
-4
lines changed

extensions/cxx_debugging/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ third_party/chrome/chrome-linux/chrome --load-extension=$PWD/out/DevTools_CXX_De
5858
## Unittests
5959

6060
The extension contains TypeScript and general front-end components, which are tested via
61-
`karma`-based tests located in the `tests/` folder. They follow the `foo_test.ts` naming convention used in DevTools front-end.
61+
`karma`-based tests located in the `tests/` folder. They follow the `foo.test.ts` naming convention used in DevTools front-end.
6262

6363
These tests are automatically run by default by `tools/bootstrap.py` unless you pass the `-no-check`
6464
argument there.

extensions/cxx_debugging/e2e/tests/test_linear_memory_inspector.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ flags: [
88
[-g, -fdebug-compilation-dir=.]
99
]
1010
script:
11-
file: MemoryInspector_test.js
11+
file: MemoryInspector.test.js

extensions/cxx_debugging/e2e/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"StandaloneTestDriver.ts",
2020
"OptionsPageTests.ts",
2121
"cxx-debugging-extension-helpers.ts",
22-
"standalone/MemoryInspector_test.ts",
22+
"standalone/MemoryInspector.test.ts",
2323
"../../../test/e2e/types.d.ts"
2424
]
2525
}

0 commit comments

Comments
 (0)