@theia/test 1.53.0-next.5 → 1.53.0-next.55

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,6 +6,7 @@ import { TestTreeWidget } from './test-tree-widget';
6
6
  import { TabBarToolbarContribution, TabBarToolbarRegistry } from '@theia/core/lib/browser/shell/tab-bar-toolbar';
7
7
  import { NavigationLocationService } from '@theia/editor/lib/browser/navigation/navigation-location-service';
8
8
  import { FileService } from '@theia/filesystem/lib/browser/file-service';
9
+ export declare const PLUGIN_TEST_VIEW_TITLE_MENU: string[];
9
10
  export declare namespace TestViewCommands {
10
11
  /**
11
12
  * Command which refreshes all test.
@@ -1 +1 @@
1
- {"version":3,"file":"test-view-contribution.d.ts","sourceRoot":"","sources":["../../../src/browser/view/test-view-contribution.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,wBAAwB,EAAE,+BAA+B,EAAE,yBAAyB,EAAE,MAAM,EAAW,MAAM,yBAAyB,CAAC;AAChJ,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAO,MAAM,aAAa,CAAC;AAE/E,OAAO,EAAgC,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAC;AAChF,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,yBAAyB,EAAE,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;AAEjH,OAAO,EAAE,yBAAyB,EAAE,MAAM,kEAAkE,CAAC;AAE7G,OAAO,EAAE,WAAW,EAAE,MAAM,4CAA4C,CAAC;AAGzE,yBAAiB,gBAAgB,CAAC;IAC9B;;OAEG;IACI,MAAM,OAAO,EAAE,OAKpB,CAAC;IAEH;;OAEG;IACI,MAAM,cAAc,EAAE,OAK3B,CAAC;IAEI,MAAM,aAAa,EAAE,OAK1B,CAAC;IAEI,MAAM,eAAe,EAAE,OAK5B,CAA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sBAAsB,wBAAwB,CAAC;AAC5D,eAAO,MAAM,iCAAiC,EAAE,yBAI/C,CAAC;AAEF,qBACa,oBAAqB,SAAQ,wBAAwB,CAAC,cAAc,CAAE,YAC/E,+BAA+B,EAAE,yBAAyB;IAErC,SAAS,CAAC,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAC;IACtC,SAAS,CAAC,QAAQ,CAAC,WAAW,EAAE,iBAAiB,CAAC;IAC1C,iBAAiB,EAAE,yBAAyB,CAAC;IAC3D,UAAU,EAAE,WAAW,CAAC;;IAcvC,gBAAgB,IAAI,OAAO,CAAC,IAAI,CAAC;IAI9B,gBAAgB,CAAC,QAAQ,EAAE,eAAe,GAAG,IAAI;IAuF1D,SAAS,CAAC,aAAa,IAAI,IAAI;IAItB,aAAa,CAAC,KAAK,EAAE,iBAAiB,GAAG,IAAI;IA0BtD,oBAAoB,CAAC,OAAO,EAAE,qBAAqB,GAAG,IAAI;IA2C1D,SAAS,CAAC,UAAU,CAAC,CAAC,EAAE,MAAM,oBAA0C,EAAE,EAAE,EAAE,CAAC,MAAM,EAAE,cAAc,KAAK,CAAC,GAAG,CAAC,GAAG,KAAK;CAM1H"}
@@ -15,7 +15,7 @@
15
15
  // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
16
  // *****************************************************************************
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.TestViewContribution = exports.TEST_VIEW_CONTAINER_TITLE_OPTIONS = exports.TEST_VIEW_CONTAINER_ID = exports.TEST_VIEW_INLINE_MENU = exports.TEST_VIEW_CONTEXT_MENU = exports.TestViewCommands = void 0;
18
+ exports.TestViewContribution = exports.TEST_VIEW_CONTAINER_TITLE_OPTIONS = exports.TEST_VIEW_CONTAINER_ID = exports.TEST_VIEW_INLINE_MENU = exports.TEST_VIEW_CONTEXT_MENU = exports.TestViewCommands = exports.PLUGIN_TEST_VIEW_TITLE_MENU = void 0;
19
19
  const tslib_1 = require("tslib");
20
20
  const browser_1 = require("@theia/core/lib/browser");
21
21
  const core_1 = require("@theia/core");
@@ -27,6 +27,7 @@ const navigation_location_service_1 = require("@theia/editor/lib/browser/navigat
27
27
  const navigation_location_1 = require("@theia/editor/lib/browser/navigation/navigation-location");
28
28
  const file_service_1 = require("@theia/filesystem/lib/browser/file-service");
29
29
  const file_navigator_commands_1 = require("@theia/navigator/lib/browser/file-navigator-commands");
30
+ exports.PLUGIN_TEST_VIEW_TITLE_MENU = ['plugin_test', 'title'];
30
31
  var TestViewCommands;
31
32
  (function (TestViewCommands) {
32
33
  /**
@@ -253,11 +254,19 @@ let TestViewContribution = class TestViewContribution extends browser_1.Abstract
253
254
  toolbar.registerItem({
254
255
  id: TestViewCommands.RUN_ALL_TESTS.id,
255
256
  command: TestViewCommands.RUN_ALL_TESTS.id,
257
+ menuPath: exports.PLUGIN_TEST_VIEW_TITLE_MENU,
258
+ contextKeyOverlays: {
259
+ 'testing.profile.context.group': 'run'
260
+ },
256
261
  priority: 1
257
262
  });
258
263
  toolbar.registerItem({
259
264
  id: TestViewCommands.DEBUG_ALL_TESTS.id,
260
265
  command: TestViewCommands.DEBUG_ALL_TESTS.id,
266
+ menuPath: exports.PLUGIN_TEST_VIEW_TITLE_MENU,
267
+ contextKeyOverlays: {
268
+ 'testing.profile.context.group': 'debug'
269
+ },
261
270
  priority: 2
262
271
  });
263
272
  toolbar.registerItem({
@@ -1 +1 @@
1
- {"version":3,"file":"test-view-contribution.js","sourceRoot":"","sources":["../../../src/browser/view/test-view-contribution.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,oDAAoD;AACpD,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;AAEhF,qDAAgJ;AAChJ,sCAA+E;AAC/E,4DAAkE;AAClE,kDAA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AAQ,EAAE,CAAC;SACd,CAAC,CAAC;QAEH,OAAO,CAAC,YAAY,CAAC;YACjB,EAAE,EAAE,gBAAgB,CAAC,eAAe,CAAC,EAAE;YACvC,OAAO,EAAE,gBAAgB,CAAC,eAAe,CAAC,EAAE;YAC5C,QAAQ,EAAE,CAAC;SACd,CAAC,CAAC;IAEP,CAAC;IAES,UAAU,CAAI,SAA6B,IAAI,CAAC,YAAY,EAAE,EAAE,EAAiC;QACvG,IAAI,MAAM,YAAY,iCAAc,IAAI,MAAM,CAAC,EAAE,KAAK,iCAAc,CAAC,EAAE,EAAE,CAAC;YACtE,OAAO,EAAE,CAAC,MAAM,CAAC,CAAC;QACtB,CAAC;QACD,OAAO,KAAK,CAAC;IACjB,CAAC;CACJ,CAAA;AAtLY,oDAAoB;AAGW;IAAvC,IAAA,kBAAM,EAAC,0BAAW,CAAC;;yDAA6C;AACnB;IAA7C,IAAA,kBAAM,EAAC,uCAAiB,CAAC;;yDAAmD;AAC1C;IAAlC,IAAA,kBAAM,EAAC,uDAAyB,CAAC;sCAAoB,uDAAyB;+DAAC;AAC3D;IAApB,IAAA,kBAAM,EAAC,0BAAW,CAAC;sCAAa,0BAAW;wDAAC;+BANpC,oBAAoB;IADhC,IAAA,sBAAU,GAAE;;GACA,oBAAoB,CAsLhC"}
1
+ {"version":3,"file":"test-view-contribution.js","sourceRoot":"","sources":["../../../src/browser/view/test-view-contribution.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,oDAAoD;AACpD,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;AAEhF,qDAAgJ;AAChJ,sCAA+E;AAC/E,4DAAkE;AAClE,kDAA4E;AAC5E,qFAAgF;AAChF,yDAAoD;AAGpD,kHAA6G;AAC7G,kGAA8F;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,eAAe,CAAC,EAAE;YACvC,OAAO,EAAE,gBAAgB,CAAC,eAAe,CAAC,EAAE;YAC5C,QAAQ,EAAE,mCAA2B;YACrC,kBAAkB,EAAE;gBAChB,+BAA+B,EAAE,OAAO;aAC3C;YACD,QAAQ,EAAE,CAAC;SACd,CAAC,CAAC;QAEH,OAAO,CAAC,YAAY,CAAC;YACjB,EAAE,EAAE,gBAAgB,CAAC,eAAe,CAAC,EAAE;YACvC,OAAO,EAAE,gBAAgB,CAAC,eAAe,CAAC,EAAE;YAC5C,QAAQ,EAAE,CAAC;SACd,CAAC,CAAC;IAEP,CAAC;IAES,UAAU,CAAI,SAA6B,IAAI,CAAC,YAAY,EAAE,EAAE,EAAiC;QACvG,IAAI,MAAM,YAAY,iCAAc,IAAI,MAAM,CAAC,EAAE,KAAK,iCAAc,CAAC,EAAE,EAAE,CAAC;YACtE,OAAO,EAAE,CAAC,MAAM,CAAC,CAAC;QACtB,CAAC;QACD,OAAO,KAAK,CAAC;IACjB,CAAC;CACJ,CAAA;AA9LY,oDAAoB;AAGW;IAAvC,IAAA,kBAAM,EAAC,0BAAW,CAAC;;yDAA6C;AACnB;IAA7C,IAAA,kBAAM,EAAC,uCAAiB,CAAC;;yDAAmD;AAC1C;IAAlC,IAAA,kBAAM,EAAC,uDAAyB,CAAC;sCAAoB,uDAAyB;+DAAC;AAC3D;IAApB,IAAA,kBAAM,EAAC,0BAAW,CAAC;sCAAa,0BAAW;wDAAC;+BANpC,oBAAoB;IADhC,IAAA,sBAAU,GAAE;;GACA,oBAAoB,CA8LhC"}
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@theia/test",
3
- "version": "1.53.0-next.5+1e5fb536d",
3
+ "version": "1.53.0-next.55+d1a989a68c",
4
4
  "description": "Theia - Test Extension",
5
5
  "dependencies": {
6
- "@theia/core": "1.53.0-next.5+1e5fb536d",
7
- "@theia/editor": "1.53.0-next.5+1e5fb536d",
8
- "@theia/filesystem": "1.53.0-next.5+1e5fb536d",
9
- "@theia/navigator": "1.53.0-next.5+1e5fb536d",
10
- "@theia/terminal": "1.53.0-next.5+1e5fb536d",
6
+ "@theia/core": "1.53.0-next.55+d1a989a68c",
7
+ "@theia/editor": "1.53.0-next.55+d1a989a68c",
8
+ "@theia/filesystem": "1.53.0-next.55+d1a989a68c",
9
+ "@theia/navigator": "1.53.0-next.55+d1a989a68c",
10
+ "@theia/terminal": "1.53.0-next.55+d1a989a68c",
11
11
  "xterm": "^4.16.0",
12
12
  "xterm-addon-fit": "^0.5.0"
13
13
  },
@@ -44,10 +44,10 @@
44
44
  "watch": "theiaext watch"
45
45
  },
46
46
  "devDependencies": {
47
- "@theia/ext-scripts": "1.52.0"
47
+ "@theia/ext-scripts": "1.53.0"
48
48
  },
49
49
  "nyc": {
50
50
  "extends": "../../configs/nyc.json"
51
51
  },
52
- "gitHead": "1e5fb536d65550ad8fa0fefcec731645b2afc74a"
52
+ "gitHead": "d1a989a68c1b5ec1f9098e9126653c6346844769"
53
53
  }
@@ -1,71 +1,71 @@
1
- // *****************************************************************************
2
- // Copyright (C) 2023 Mathieu Bussieres and others.
3
- //
4
- // This program and the accompanying materials are made available under the
5
- // terms of the Eclipse Public License v. 2.0 which is available at
6
- // http://www.eclipse.org/legal/epl-2.0.
7
- //
8
- // This Source Code may also be made available under the following Secondary
9
- // Licenses when the conditions for such availability set forth in the Eclipse
10
- // Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
- // with the GNU Classpath Exception which is available at
12
- // https://www.gnu.org/software/classpath/license.html.
13
- //
14
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
15
- // *****************************************************************************
16
-
17
- /*---------------------------------------------------------------------------------------------
18
- * Copyright (c) Microsoft Corporation and others. All rights reserved.
19
- * Licensed under the MIT License. See https://github.com/Microsoft/vscode/blob/master/LICENSE.txt for license information.
20
- *--------------------------------------------------------------------------------------------*/
21
-
22
- // Based on https://github.com/microsoft/vscode/blob/1.72.2/src/vs/workbench/contrib/testing/common/constants.ts
23
-
24
- /* eslint-disable import/no-extraneous-dependencies */
25
- export const enum Testing {
26
- // marked as "extension" so that any existing test extensions are assigned to it.
27
- ViewletId = 'workbench.view.extension.test',
28
- ExplorerViewId = 'workbench.view.testing',
29
- OutputPeekContributionId = 'editor.contrib.testingOutputPeek',
30
- DecorationsContributionId = 'editor.contrib.testingDecorations',
31
- }
32
-
33
- export const enum TestCommandId {
34
- CancelTestRefreshAction = 'testing.cancelTestRefresh',
35
- CancelTestRunAction = 'testing.cancelRun',
36
- ClearTestResultsAction = 'testing.clearTestResults',
37
- CollapseAllAction = 'testing.collapseAll',
38
- ConfigureTestProfilesAction = 'testing.configureProfile',
39
- DebugAction = 'testing.debug',
40
- DebugAllAction = 'testing.debugAll',
41
- DebugAtCursor = 'testing.debugAtCursor',
42
- DebugCurrentFile = 'testing.debugCurrentFile',
43
- DebugFailedTests = 'testing.debugFailTests',
44
- DebugLastRun = 'testing.debugLastRun',
45
- DebugSelectedAction = 'testing.debugSelected',
46
- FilterAction = 'workbench.actions.treeView.testExplorer.filter',
47
- GoToTest = 'testing.editFocusedTest',
48
- HideTestAction = 'testing.hideTest',
49
- OpenOutputPeek = 'testing.openOutputPeek',
50
- RefreshTestsAction = 'testing.refreshTests',
51
- ReRunFailedTests = 'testing.reRunFailTests',
52
- ReRunLastRun = 'testing.reRunLastRun',
53
- RunAction = 'testing.run',
54
- RunAllAction = 'testing.runAll',
55
- RunAtCursor = 'testing.runAtCursor',
56
- RunCurrentFile = 'testing.runCurrentFile',
57
- RunSelectedAction = 'testing.runSelected',
58
- RunUsingProfileAction = 'testing.runUsing',
59
- SearchForTestExtension = 'testing.searchForTestExtension',
60
- SelectDefaultTestProfiles = 'testing.selectDefaultTestProfiles',
61
- ShowMostRecentOutputAction = 'testing.showMostRecentOutput',
62
- TestingSortByDurationAction = 'testing.sortByDuration',
63
- TestingSortByLocationAction = 'testing.sortByLocation',
64
- TestingSortByStatusAction = 'testing.sortByStatus',
65
- TestingViewAsListAction = 'testing.viewAsList',
66
- TestingViewAsTreeAction = 'testing.viewAsTree',
67
- ToggleAutoRun = 'testing.toggleautoRun',
68
- ToggleInlineTestOutput = 'testing.toggleInlineTestOutput',
69
- UnhideTestAction = 'testing.unhideTest',
70
- UnhideAllTestsAction = 'testing.unhideAllTests',
71
- }
1
+ // *****************************************************************************
2
+ // Copyright (C) 2023 Mathieu Bussieres and others.
3
+ //
4
+ // This program and the accompanying materials are made available under the
5
+ // terms of the Eclipse Public License v. 2.0 which is available at
6
+ // http://www.eclipse.org/legal/epl-2.0.
7
+ //
8
+ // This Source Code may also be made available under the following Secondary
9
+ // Licenses when the conditions for such availability set forth in the Eclipse
10
+ // Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
+ // with the GNU Classpath Exception which is available at
12
+ // https://www.gnu.org/software/classpath/license.html.
13
+ //
14
+ // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
15
+ // *****************************************************************************
16
+
17
+ /*---------------------------------------------------------------------------------------------
18
+ * Copyright (c) Microsoft Corporation and others. All rights reserved.
19
+ * Licensed under the MIT License. See https://github.com/Microsoft/vscode/blob/master/LICENSE.txt for license information.
20
+ *--------------------------------------------------------------------------------------------*/
21
+
22
+ // Based on https://github.com/microsoft/vscode/blob/1.72.2/src/vs/workbench/contrib/testing/common/constants.ts
23
+
24
+ /* eslint-disable import/no-extraneous-dependencies */
25
+ export const enum Testing {
26
+ // marked as "extension" so that any existing test extensions are assigned to it.
27
+ ViewletId = 'workbench.view.extension.test',
28
+ ExplorerViewId = 'workbench.view.testing',
29
+ OutputPeekContributionId = 'editor.contrib.testingOutputPeek',
30
+ DecorationsContributionId = 'editor.contrib.testingDecorations',
31
+ }
32
+
33
+ export const enum TestCommandId {
34
+ CancelTestRefreshAction = 'testing.cancelTestRefresh',
35
+ CancelTestRunAction = 'testing.cancelRun',
36
+ ClearTestResultsAction = 'testing.clearTestResults',
37
+ CollapseAllAction = 'testing.collapseAll',
38
+ ConfigureTestProfilesAction = 'testing.configureProfile',
39
+ DebugAction = 'testing.debug',
40
+ DebugAllAction = 'testing.debugAll',
41
+ DebugAtCursor = 'testing.debugAtCursor',
42
+ DebugCurrentFile = 'testing.debugCurrentFile',
43
+ DebugFailedTests = 'testing.debugFailTests',
44
+ DebugLastRun = 'testing.debugLastRun',
45
+ DebugSelectedAction = 'testing.debugSelected',
46
+ FilterAction = 'workbench.actions.treeView.testExplorer.filter',
47
+ GoToTest = 'testing.editFocusedTest',
48
+ HideTestAction = 'testing.hideTest',
49
+ OpenOutputPeek = 'testing.openOutputPeek',
50
+ RefreshTestsAction = 'testing.refreshTests',
51
+ ReRunFailedTests = 'testing.reRunFailTests',
52
+ ReRunLastRun = 'testing.reRunLastRun',
53
+ RunAction = 'testing.run',
54
+ RunAllAction = 'testing.runAll',
55
+ RunAtCursor = 'testing.runAtCursor',
56
+ RunCurrentFile = 'testing.runCurrentFile',
57
+ RunSelectedAction = 'testing.runSelected',
58
+ RunUsingProfileAction = 'testing.runUsing',
59
+ SearchForTestExtension = 'testing.searchForTestExtension',
60
+ SelectDefaultTestProfiles = 'testing.selectDefaultTestProfiles',
61
+ ShowMostRecentOutputAction = 'testing.showMostRecentOutput',
62
+ TestingSortByDurationAction = 'testing.sortByDuration',
63
+ TestingSortByLocationAction = 'testing.sortByLocation',
64
+ TestingSortByStatusAction = 'testing.sortByStatus',
65
+ TestingViewAsListAction = 'testing.viewAsList',
66
+ TestingViewAsTreeAction = 'testing.viewAsTree',
67
+ ToggleAutoRun = 'testing.toggleautoRun',
68
+ ToggleInlineTestOutput = 'testing.toggleInlineTestOutput',
69
+ UnhideTestAction = 'testing.unhideTest',
70
+ UnhideAllTestsAction = 'testing.unhideAllTests',
71
+ }
@@ -1,42 +1,42 @@
1
- /******************************************************************************
2
- * Copyright (C) 2023 STMicroelectronics and others.
3
- * This program and the accompanying materials are made available under the
4
- * terms of the Eclipse Public License v. 2.0 which is available at
5
- * http://www.eclipse.org/legal/epl-2.0.
6
- *
7
- * This Source Code may also be made available under the following Secondary
8
- * Licenses when the conditions for such availability set forth in the Eclipse
9
- * Public License v. 2.0 are satisfied: GNU General Public License, version 2
10
- * with the GNU Classpath Exception which is available at
11
- * https://www.gnu.org/software/classpath/license.html.
12
- *
13
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
14
- ********************************************************************************/
15
-
16
- .theia-test-view {
17
- height: 100%
18
- }
19
-
20
- .theia-test-view .passed,
21
- .theia-test-result-view .passed {
22
- color: var(--theia-successBackground);
23
- }
24
-
25
- .theia-test-view .failed,
26
- .theia-test-result-view .failed {
27
- color: var(--theia-editorError-foreground);
28
- }
29
-
30
- .theia-test-view .errored,
31
- .theia-test-result-view .errored {
32
- color: var(--theia-editorError-foreground);
33
- }
34
-
35
- .theia-test-view .queued,
36
- .theia-test-result-view .queued {
37
- color: var(--theia-editorWarning-foreground);
38
- }
39
-
40
- .theia-test-view .theia-TreeNode:not(:hover):not(.theia-mod-selected) .theia-test-tree-inline-action {
41
- display: none;
1
+ /******************************************************************************
2
+ * Copyright (C) 2023 STMicroelectronics and others.
3
+ * This program and the accompanying materials are made available under the
4
+ * terms of the Eclipse Public License v. 2.0 which is available at
5
+ * http://www.eclipse.org/legal/epl-2.0.
6
+ *
7
+ * This Source Code may also be made available under the following Secondary
8
+ * Licenses when the conditions for such availability set forth in the Eclipse
9
+ * Public License v. 2.0 are satisfied: GNU General Public License, version 2
10
+ * with the GNU Classpath Exception which is available at
11
+ * https://www.gnu.org/software/classpath/license.html.
12
+ *
13
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
14
+ ********************************************************************************/
15
+
16
+ .theia-test-view {
17
+ height: 100%
18
+ }
19
+
20
+ .theia-test-view .passed,
21
+ .theia-test-result-view .passed {
22
+ color: var(--theia-successBackground);
23
+ }
24
+
25
+ .theia-test-view .failed,
26
+ .theia-test-result-view .failed {
27
+ color: var(--theia-editorError-foreground);
28
+ }
29
+
30
+ .theia-test-view .errored,
31
+ .theia-test-result-view .errored {
32
+ color: var(--theia-editorError-foreground);
33
+ }
34
+
35
+ .theia-test-view .queued,
36
+ .theia-test-result-view .queued {
37
+ color: var(--theia-editorWarning-foreground);
38
+ }
39
+
40
+ .theia-test-view .theia-TreeNode:not(:hover):not(.theia-mod-selected) .theia-test-tree-inline-action {
41
+ display: none;
42
42
  }
@@ -1,53 +1,53 @@
1
- // *****************************************************************************
2
- // Copyright (C) 2024 STMicroelectronics and others.
3
- //
4
- // This program and the accompanying materials are made available under the
5
- // terms of the Eclipse Public License v. 2.0 which is available at
6
- // http://www.eclipse.org/legal/epl-2.0.
7
- //
8
- // This Source Code may also be made available under the following Secondary
9
- // Licenses when the conditions for such availability set forth in the Eclipse
10
- // Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
- // with the GNU Classpath Exception which is available at
12
- // https://www.gnu.org/software/classpath/license.html.
13
- //
14
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
15
- // *****************************************************************************
16
-
17
- import { inject, injectable } from '@theia/core/shared/inversify';
18
- import { Widget } from '@theia/core/lib/browser';
19
- import { TestResultViewContribution } from './view/test-result-view-contribution';
20
- import { TestViewContribution } from './view/test-view-contribution';
21
- import { TestPreferences } from './test-preferences';
22
-
23
- export interface TestExecutionProgressService {
24
- onTestRunRequested(preserveFocus: boolean): Promise<void>;
25
- }
26
-
27
- export const TestExecutionProgressService = Symbol('TestExecutionProgressService');
28
-
29
- @injectable()
30
- export class DefaultTestExecutionProgressService implements TestExecutionProgressService {
31
-
32
- @inject(TestResultViewContribution)
33
- protected readonly testResultView: TestResultViewContribution;
34
-
35
- @inject(TestViewContribution)
36
- protected readonly testView: TestViewContribution;
37
-
38
- @inject(TestPreferences)
39
- protected readonly testPreferences: TestPreferences;
40
-
41
- async onTestRunRequested(preserveFocus: boolean): Promise<void> {
42
- if (!preserveFocus) {
43
- const openTesting = this.testPreferences['testing.openTesting'];
44
- if (openTesting === 'openOnTestStart') {
45
- this.openTestResultView();
46
- }
47
- }
48
- }
49
-
50
- async openTestResultView(): Promise<Widget> {
51
- return this.testResultView.openView({ activate: true });
52
- }
53
- }
1
+ // *****************************************************************************
2
+ // Copyright (C) 2024 STMicroelectronics and others.
3
+ //
4
+ // This program and the accompanying materials are made available under the
5
+ // terms of the Eclipse Public License v. 2.0 which is available at
6
+ // http://www.eclipse.org/legal/epl-2.0.
7
+ //
8
+ // This Source Code may also be made available under the following Secondary
9
+ // Licenses when the conditions for such availability set forth in the Eclipse
10
+ // Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
+ // with the GNU Classpath Exception which is available at
12
+ // https://www.gnu.org/software/classpath/license.html.
13
+ //
14
+ // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
15
+ // *****************************************************************************
16
+
17
+ import { inject, injectable } from '@theia/core/shared/inversify';
18
+ import { Widget } from '@theia/core/lib/browser';
19
+ import { TestResultViewContribution } from './view/test-result-view-contribution';
20
+ import { TestViewContribution } from './view/test-view-contribution';
21
+ import { TestPreferences } from './test-preferences';
22
+
23
+ export interface TestExecutionProgressService {
24
+ onTestRunRequested(preserveFocus: boolean): Promise<void>;
25
+ }
26
+
27
+ export const TestExecutionProgressService = Symbol('TestExecutionProgressService');
28
+
29
+ @injectable()
30
+ export class DefaultTestExecutionProgressService implements TestExecutionProgressService {
31
+
32
+ @inject(TestResultViewContribution)
33
+ protected readonly testResultView: TestResultViewContribution;
34
+
35
+ @inject(TestViewContribution)
36
+ protected readonly testView: TestViewContribution;
37
+
38
+ @inject(TestPreferences)
39
+ protected readonly testPreferences: TestPreferences;
40
+
41
+ async onTestRunRequested(preserveFocus: boolean): Promise<void> {
42
+ if (!preserveFocus) {
43
+ const openTesting = this.testPreferences['testing.openTesting'];
44
+ if (openTesting === 'openOnTestStart') {
45
+ this.openTestResultView();
46
+ }
47
+ }
48
+ }
49
+
50
+ async openTestResultView(): Promise<Widget> {
51
+ return this.testResultView.openView({ activate: true });
52
+ }
53
+ }
@@ -1,58 +1,58 @@
1
- // *****************************************************************************
2
- // Copyright (C) 2024 STMicroelectronics and others.
3
- //
4
- // This program and the accompanying materials are made available under the
5
- // terms of the Eclipse Public License v. 2.0 which is available at
6
- // http://www.eclipse.org/legal/epl-2.0.
7
- //
8
- // This Source Code may also be made available under the following Secondary
9
- // Licenses when the conditions for such availability set forth in the Eclipse
10
- // Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
- // with the GNU Classpath Exception which is available at
12
- // https://www.gnu.org/software/classpath/license.html.
13
- //
14
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
15
- // *****************************************************************************
16
-
17
- import { interfaces } from '@theia/core/shared/inversify';
18
- import { createPreferenceProxy, PreferenceProxy, PreferenceService, PreferenceContribution, PreferenceSchema } from '@theia/core/lib/browser';
19
- import { nls } from '@theia/core/lib/common/nls';
20
-
21
- export const TestConfigSchema: PreferenceSchema = {
22
- type: 'object',
23
- properties: {
24
- 'testing.openTesting': {
25
- type: 'string',
26
- enum: ['neverOpen', 'openOnTestStart'],
27
- enumDescriptions: [
28
- nls.localizeByDefault('Never automatically open the testing views'),
29
- nls.localizeByDefault('Open the test results view when tests start'),
30
- ],
31
- description: nls.localizeByDefault('Controls when the testing view should open.'),
32
- default: 'neverOpen',
33
- scope: 'resource',
34
- }
35
- }
36
- };
37
-
38
- export interface TestConfiguration {
39
- 'testing.openTesting': 'neverOpen' | 'openOnTestStart';
40
- }
41
-
42
- export const TestPreferenceContribution = Symbol('TestPreferenceContribution');
43
- export const TestPreferences = Symbol('TestPreferences');
44
- export type TestPreferences = PreferenceProxy<TestConfiguration>;
45
-
46
- export function createTestPreferences(preferences: PreferenceService, schema: PreferenceSchema = TestConfigSchema): TestPreferences {
47
- return createPreferenceProxy(preferences, schema);
48
- }
49
-
50
- export const bindTestPreferences = (bind: interfaces.Bind): void => {
51
- bind(TestPreferences).toDynamicValue(ctx => {
52
- const preferences = ctx.container.get<PreferenceService>(PreferenceService);
53
- const contribution = ctx.container.get<PreferenceContribution>(TestPreferenceContribution);
54
- return createTestPreferences(preferences, contribution.schema);
55
- }).inSingletonScope();
56
- bind(TestPreferenceContribution).toConstantValue({ schema: TestConfigSchema });
57
- bind(PreferenceContribution).toService(TestPreferenceContribution);
58
- };
1
+ // *****************************************************************************
2
+ // Copyright (C) 2024 STMicroelectronics and others.
3
+ //
4
+ // This program and the accompanying materials are made available under the
5
+ // terms of the Eclipse Public License v. 2.0 which is available at
6
+ // http://www.eclipse.org/legal/epl-2.0.
7
+ //
8
+ // This Source Code may also be made available under the following Secondary
9
+ // Licenses when the conditions for such availability set forth in the Eclipse
10
+ // Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
+ // with the GNU Classpath Exception which is available at
12
+ // https://www.gnu.org/software/classpath/license.html.
13
+ //
14
+ // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
15
+ // *****************************************************************************
16
+
17
+ import { interfaces } from '@theia/core/shared/inversify';
18
+ import { createPreferenceProxy, PreferenceProxy, PreferenceService, PreferenceContribution, PreferenceSchema } from '@theia/core/lib/browser';
19
+ import { nls } from '@theia/core/lib/common/nls';
20
+
21
+ export const TestConfigSchema: PreferenceSchema = {
22
+ type: 'object',
23
+ properties: {
24
+ 'testing.openTesting': {
25
+ type: 'string',
26
+ enum: ['neverOpen', 'openOnTestStart'],
27
+ enumDescriptions: [
28
+ nls.localizeByDefault('Never automatically open the testing views'),
29
+ nls.localizeByDefault('Open the test results view when tests start'),
30
+ ],
31
+ description: nls.localizeByDefault('Controls when the testing view should open.'),
32
+ default: 'neverOpen',
33
+ scope: 'resource',
34
+ }
35
+ }
36
+ };
37
+
38
+ export interface TestConfiguration {
39
+ 'testing.openTesting': 'neverOpen' | 'openOnTestStart';
40
+ }
41
+
42
+ export const TestPreferenceContribution = Symbol('TestPreferenceContribution');
43
+ export const TestPreferences = Symbol('TestPreferences');
44
+ export type TestPreferences = PreferenceProxy<TestConfiguration>;
45
+
46
+ export function createTestPreferences(preferences: PreferenceService, schema: PreferenceSchema = TestConfigSchema): TestPreferences {
47
+ return createPreferenceProxy(preferences, schema);
48
+ }
49
+
50
+ export const bindTestPreferences = (bind: interfaces.Bind): void => {
51
+ bind(TestPreferences).toDynamicValue(ctx => {
52
+ const preferences = ctx.container.get<PreferenceService>(PreferenceService);
53
+ const contribution = ctx.container.get<PreferenceContribution>(TestPreferenceContribution);
54
+ return createTestPreferences(preferences, contribution.schema);
55
+ }).inSingletonScope();
56
+ bind(TestPreferenceContribution).toConstantValue({ schema: TestConfigSchema });
57
+ bind(PreferenceContribution).toService(TestPreferenceContribution);
58
+ };