From 33ea608c4d38076b3175c80ea167373dd60835d1 Mon Sep 17 00:00:00 2001 From: Remi Schnekenburger Date: Mon, 24 Jun 2024 10:57:45 +0200 Subject: [PATCH] [vscode] Support TestRunRequest.preserveFocus Add a progress service for tests to support activation of views Forward Test Run to be started event to progress service to activate view if needed fixes #13759 contributed on behalf of STMicroelectronics Signed-off-by: Remi Schnekenburger --- CHANGELOG.md | 1 + .../plugin-ext/src/common/plugin-api-rpc.ts | 2 +- packages/plugin-ext/src/common/test-types.ts | 1 + .../plugin-ext/src/main/browser/test-main.ts | 11 +++- packages/plugin-ext/src/plugin/tests.ts | 15 ++--- packages/plugin-ext/src/plugin/types-impl.ts | 1 + packages/plugin/src/theia.d.ts | 11 +++- .../browser/util/preference-tree-generator.ts | 1 + .../test-execution-progress-service.ts | 53 +++++++++++++++++ packages/test/src/browser/test-preferences.ts | 58 +++++++++++++++++++ packages/test/src/browser/test-service.ts | 6 +- .../browser/view/test-view-frontend-module.ts | 6 +- 12 files changed, 149 insertions(+), 17 deletions(-) create mode 100644 packages/test/src/browser/test-execution-progress-service.ts create mode 100644 packages/test/src/browser/test-preferences.ts diff --git a/CHANGELOG.md b/CHANGELOG.md index d1fa54a24e354..e2ef2d504d6f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@