Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Localize run profiles #4240

Merged
merged 3 commits into from
Jan 17, 2025
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ Bug Fixes:
- Fix compilation database path comparison with the `cmake.copyCompileCommands` that could otherwise overwrite that file. [#4207](https://github.com/microsoft/vscode-cmake-tools/issues/4207) [@k0zmo](https://github.com/k0zmo)
- Fix parsing of CMakeUserPresets.json containing configure preset that is referenced in workflow preset. [#4202](https://github.com/microsoft/vscode-cmake-tools/pull/4202)
- Fix auto select active project corner case. [#4146](https://github.com/microsoft/vscode-cmake-tools/issues/4146) Contributed by STMicroelectronics
- Localize our test run profiles. [#4236](https://github.com/microsoft/vscode-cmake-tools/issues/4236)

## 1.19.52

Expand Down
6 changes: 3 additions & 3 deletions src/ctest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1305,19 +1305,19 @@ export class CTestDriver implements vscode.Disposable {
}

testExplorer.createRunProfile(
'Run Tests',
localize('run.tests.profile', 'Run Tests'),
vscode.TestRunProfileKind.Run,
(request: vscode.TestRunRequest, cancellation: vscode.CancellationToken) => this.runTestHandler(request, cancellation),
true
);
testExplorer.createRunProfile(
'Run Tests with Coverage',
localize('run.tests.with.coverage.profile', 'Run Tests with Coverage'),
vscode.TestRunProfileKind.Coverage,
(request: vscode.TestRunRequest, cancellation: vscode.CancellationToken) => this.runTestHandler(request, cancellation, true),
true
).loadDetailedCoverage = async (_, fileCoverage) => this.coverageData.get(fileCoverage) ?? [];
testExplorer.createRunProfile(
'Debug Tests',
localize('debug.tests.profile', 'Debug Tests'),
vscode.TestRunProfileKind.Debug,
(request: vscode.TestRunRequest, cancellation: vscode.CancellationToken) => {
if (request.include === undefined) {
Expand Down
Loading