@codingame/monaco-vscode-testing-service-override 4.4.1 → 4.5.0-improve-code-splitting.1
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.
- package/package.json +11 -8
- package/testing.js +17 -9
- package/vscode/src/vs/workbench/contrib/testing/browser/codeCoverageDecorations.js +4 -4
- package/vscode/src/vs/workbench/contrib/testing/browser/explorerProjections/listProjection.js +3 -3
- package/vscode/src/vs/workbench/contrib/testing/browser/explorerProjections/testItemContextOverlay.js +2 -2
- package/vscode/src/vs/workbench/contrib/testing/browser/explorerProjections/treeProjection.js +3 -3
- package/vscode/src/vs/workbench/contrib/testing/browser/icons.js +1 -1
- package/vscode/src/vs/workbench/contrib/testing/browser/testCoverageBars.js +2 -2
- package/vscode/src/vs/workbench/contrib/testing/browser/testCoverageView.js +17 -15
- package/vscode/src/vs/workbench/contrib/testing/browser/testExplorerActions.js +21 -17
- package/vscode/src/vs/workbench/contrib/testing/browser/testing.contribution.js +19 -15
- package/vscode/src/vs/workbench/contrib/testing/browser/testingConfigurationUi.js +3 -2
- package/vscode/src/vs/workbench/contrib/testing/browser/testingDecorations.js +16 -13
- package/vscode/src/vs/workbench/contrib/testing/browser/testingExplorerFilter.js +4 -4
- package/vscode/src/vs/workbench/contrib/testing/browser/testingExplorerView.js +32 -26
- package/vscode/src/vs/workbench/contrib/testing/browser/testingOutputPeek.js +38 -36
- package/vscode/src/vs/workbench/contrib/testing/browser/testingProgressUiService.js +3 -3
- package/vscode/src/vs/workbench/contrib/testing/browser/testingViewPaneContainer.js +9 -9
- package/vscode/src/vs/workbench/contrib/testing/common/storedValue.js +38 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testCoverageService.js +62 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testExclusions.js +2 -2
- package/vscode/src/vs/workbench/contrib/testing/common/testExplorerFilterState.js +116 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testProfileService.js +194 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testResultService.js +159 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testResultStorage.js +160 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testService.js +102 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testServiceImpl.js +12 -11
- package/vscode/src/vs/workbench/contrib/testing/common/testingContentProvider.js +1 -1
- package/vscode/src/vs/workbench/contrib/testing/common/testingContextKeys.js +198 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testingContinuousRunService.js +127 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testingDecorations.js +29 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-testing-service-override",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.5.0-improve-code-splitting.1",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "CodinGame",
|
|
@@ -17,13 +17,16 @@
|
|
|
17
17
|
"main": "index.js",
|
|
18
18
|
"module": "index.js",
|
|
19
19
|
"types": "index.d.ts",
|
|
20
|
+
"exports": {
|
|
21
|
+
".": {
|
|
22
|
+
"default": "./index.js"
|
|
23
|
+
},
|
|
24
|
+
"./vscode/*": {
|
|
25
|
+
"default": "./vscode/src/*.js"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
20
28
|
"dependencies": {
|
|
21
|
-
"vscode": "npm:@codingame/monaco-vscode-api@4.
|
|
22
|
-
"@
|
|
23
|
-
"@xterm/addon-image": "0.8.0-beta.12",
|
|
24
|
-
"@xterm/addon-search": "0.15.0-beta.12",
|
|
25
|
-
"@xterm/addon-serialize": "0.13.0-beta.12",
|
|
26
|
-
"@xterm/addon-unicode11": "0.8.0-beta.12",
|
|
27
|
-
"@xterm/addon-webgl": "0.18.0-beta.12"
|
|
29
|
+
"vscode": "npm:@codingame/monaco-vscode-api@4.5.0-improve-code-splitting.1",
|
|
30
|
+
"@codingame/monaco-vscode-terminal-service-override": "4.5.0-improve-code-splitting.1"
|
|
28
31
|
}
|
|
29
32
|
}
|
package/testing.js
CHANGED
|
@@ -1,21 +1,29 @@
|
|
|
1
1
|
import { SyncDescriptor } from 'vscode/vscode/vs/platform/instantiation/common/descriptors';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import { TestProfileService } from './vscode/src/vs/workbench/contrib/testing/common/testProfileService.js';
|
|
3
|
+
import { ITestProfileService } from 'vscode/vscode/vs/workbench/contrib/testing/common/testProfileService.service';
|
|
4
|
+
import { TestResultService } from './vscode/src/vs/workbench/contrib/testing/common/testResultService.js';
|
|
5
|
+
import { ITestResultService } from 'vscode/vscode/vs/workbench/contrib/testing/common/testResultService.service';
|
|
6
|
+
import { TestResultStorage } from './vscode/src/vs/workbench/contrib/testing/common/testResultStorage.js';
|
|
7
|
+
import { ITestResultStorage } from 'vscode/vscode/vs/workbench/contrib/testing/common/testResultStorage.service';
|
|
8
|
+
import { ITestService } from 'vscode/vscode/vs/workbench/contrib/testing/common/testService.service';
|
|
6
9
|
import { TestService } from './vscode/src/vs/workbench/contrib/testing/common/testServiceImpl.js';
|
|
7
|
-
import { ITestingDecorationsService } from 'vscode/vscode/vs/workbench/contrib/testing/common/testingDecorations';
|
|
10
|
+
import { ITestingDecorationsService } from 'vscode/vscode/vs/workbench/contrib/testing/common/testingDecorations.service';
|
|
8
11
|
import { TestingDecorationService } from './vscode/src/vs/workbench/contrib/testing/browser/testingDecorations.js';
|
|
9
|
-
import { ITestingPeekOpener } from 'vscode/vscode/vs/workbench/contrib/testing/common/testingPeekOpener';
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
+
import { ITestingPeekOpener } from 'vscode/vscode/vs/workbench/contrib/testing/common/testingPeekOpener.service';
|
|
13
|
+
import { TestingContinuousRunService } from './vscode/src/vs/workbench/contrib/testing/common/testingContinuousRunService.js';
|
|
14
|
+
import { ITestingContinuousRunService } from 'vscode/vscode/vs/workbench/contrib/testing/common/testingContinuousRunService.service';
|
|
15
|
+
import { TestExplorerFilterState } from './vscode/src/vs/workbench/contrib/testing/common/testExplorerFilterState.js';
|
|
16
|
+
import { ITestExplorerFilterState } from 'vscode/vscode/vs/workbench/contrib/testing/common/testExplorerFilterState.service';
|
|
12
17
|
import { TestingPeekOpener } from './vscode/src/vs/workbench/contrib/testing/browser/testingOutputPeek.js';
|
|
13
|
-
import {
|
|
18
|
+
import { TestCoverageService } from './vscode/src/vs/workbench/contrib/testing/common/testCoverageService.js';
|
|
19
|
+
import { ITestCoverageService } from 'vscode/vscode/vs/workbench/contrib/testing/common/testCoverageService.service';
|
|
20
|
+
import getServiceOverride$1 from '@codingame/monaco-vscode-terminal-service-override';
|
|
14
21
|
import './vscode/src/vs/workbench/contrib/testing/browser/testing.contribution.js';
|
|
15
22
|
import './vscode/src/vs/workbench/contrib/testing/browser/testingConfigurationUi.js';
|
|
16
23
|
|
|
17
24
|
function getServiceOverride() {
|
|
18
25
|
return {
|
|
26
|
+
...getServiceOverride$1(),
|
|
19
27
|
[( ITestService.toString())]: new SyncDescriptor(TestService, [], true),
|
|
20
28
|
[( ITestResultStorage.toString())]: new SyncDescriptor(TestResultStorage, [], true),
|
|
21
29
|
[( ITestProfileService.toString())]: new SyncDescriptor(TestProfileService, [], true),
|
|
@@ -22,11 +22,11 @@ import { localizeWithPath, localize2WithPath } from 'vscode/vscode/vs/nls';
|
|
|
22
22
|
import { Categories } from 'vscode/vscode/vs/platform/action/common/actionCommonCategories';
|
|
23
23
|
import { registerAction2, Action2 } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
24
24
|
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
25
|
-
import { IKeybindingService } from 'vscode/vscode/vs/platform/keybinding/common/keybinding';
|
|
26
|
-
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log';
|
|
25
|
+
import { IKeybindingService } from 'vscode/vscode/vs/platform/keybinding/common/keybinding.service';
|
|
26
|
+
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log.service';
|
|
27
27
|
import { testingCoverageMissingBranch } from './icons.js';
|
|
28
|
-
import { ITestCoverageService } from 'vscode/vscode/vs/workbench/contrib/testing/common/testCoverageService';
|
|
29
|
-
import { TestingContextKeys } from '
|
|
28
|
+
import { ITestCoverageService } from 'vscode/vscode/vs/workbench/contrib/testing/common/testCoverageService.service';
|
|
29
|
+
import { TestingContextKeys } from '../common/testingContextKeys.js';
|
|
30
30
|
|
|
31
31
|
var CodeCoverageDecorations_1, LineHoverWidget_1;
|
|
32
32
|
const MAX_HOVERED_LINES = 30;
|
package/vscode/src/vs/workbench/contrib/testing/browser/explorerProjections/listProjection.js
CHANGED
|
@@ -3,11 +3,11 @@ import { Emitter } from 'vscode/vscode/vs/base/common/event';
|
|
|
3
3
|
import { Iterable } from 'vscode/vscode/vs/base/common/iterator';
|
|
4
4
|
import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
5
5
|
import { flatTestItemDelimiter } from './display.js';
|
|
6
|
-
import {
|
|
6
|
+
import { TestItemTreeElement, TestTreeErrorMessage, getChildrenForParent, testIdentityProvider } from './index.js';
|
|
7
7
|
import { isCollapsedInSerializedTestTree } from './testingViewState.js';
|
|
8
8
|
import { TestId } from 'vscode/vscode/vs/workbench/contrib/testing/common/testId';
|
|
9
|
-
import { ITestResultService } from 'vscode/vscode/vs/workbench/contrib/testing/common/testResultService';
|
|
10
|
-
import { ITestService } from 'vscode/vscode/vs/workbench/contrib/testing/common/testService';
|
|
9
|
+
import { ITestResultService } from 'vscode/vscode/vs/workbench/contrib/testing/common/testResultService.service';
|
|
10
|
+
import { ITestService } from 'vscode/vscode/vs/workbench/contrib/testing/common/testService.service';
|
|
11
11
|
import { applyTestItemUpdate } from 'vscode/vscode/vs/workbench/contrib/testing/common/testTypes';
|
|
12
12
|
|
|
13
13
|
class ListTestItemElement extends TestItemTreeElement {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { capabilityContextKeys } from '
|
|
1
|
+
import { capabilityContextKeys } from '../../common/testProfileService.js';
|
|
2
2
|
import { TestId } from 'vscode/vscode/vs/workbench/contrib/testing/common/testId';
|
|
3
|
-
import { TestingContextKeys } from '
|
|
3
|
+
import { TestingContextKeys } from '../../common/testingContextKeys.js';
|
|
4
4
|
|
|
5
5
|
const getTestItemContextOverlay = (test, capabilities) => {
|
|
6
6
|
if (!test) {
|
package/vscode/src/vs/workbench/contrib/testing/browser/explorerProjections/treeProjection.js
CHANGED
|
@@ -2,12 +2,12 @@ import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js';
|
|
|
2
2
|
import { Emitter } from 'vscode/vscode/vs/base/common/event';
|
|
3
3
|
import { Iterable } from 'vscode/vscode/vs/base/common/iterator';
|
|
4
4
|
import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
5
|
-
import {
|
|
5
|
+
import { TestItemTreeElement, TestTreeErrorMessage, getChildrenForParent, testIdentityProvider } from './index.js';
|
|
6
6
|
import { isCollapsedInSerializedTestTree } from './testingViewState.js';
|
|
7
7
|
import { refreshComputedState } from 'vscode/vscode/vs/workbench/contrib/testing/common/getComputedState';
|
|
8
8
|
import { TestId } from 'vscode/vscode/vs/workbench/contrib/testing/common/testId';
|
|
9
|
-
import { ITestResultService } from 'vscode/vscode/vs/workbench/contrib/testing/common/testResultService';
|
|
10
|
-
import { ITestService } from 'vscode/vscode/vs/workbench/contrib/testing/common/testService';
|
|
9
|
+
import { ITestResultService } from 'vscode/vscode/vs/workbench/contrib/testing/common/testResultService.service';
|
|
10
|
+
import { ITestService } from 'vscode/vscode/vs/workbench/contrib/testing/common/testService.service';
|
|
11
11
|
import { applyTestItemUpdate } from 'vscode/vscode/vs/workbench/contrib/testing/common/testTypes';
|
|
12
12
|
|
|
13
13
|
const computedStateAccessor = {
|
|
@@ -3,7 +3,7 @@ import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
|
3
3
|
import { registerIcon, spinningLoading } from 'vscode/vscode/vs/platform/theme/common/iconRegistry';
|
|
4
4
|
import { registerThemingParticipant } from 'vscode/vscode/vs/platform/theme/common/themeService';
|
|
5
5
|
import { ThemeIcon } from 'vscode/vscode/vs/base/common/themables';
|
|
6
|
-
import {
|
|
6
|
+
import { testStatesToIconColors, testStatesToRetiredIconColors, testingColorRunAction } from './theme.js';
|
|
7
7
|
|
|
8
8
|
const testingViewIcon = registerIcon('test-view-icon', Codicon.beaker, ( localizeWithPath(
|
|
9
9
|
'vs/workbench/contrib/testing/browser/icons',
|
|
@@ -14,7 +14,7 @@ import 'vscode/vscode/vs/base/common/observableInternal/utils';
|
|
|
14
14
|
import 'vscode/vscode/vs/base/common/cancellation';
|
|
15
15
|
import { isDefined } from 'vscode/vscode/vs/base/common/types';
|
|
16
16
|
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
17
|
-
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
|
|
17
|
+
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
|
|
18
18
|
import { asCssVariableName } from 'vscode/vscode/vs/platform/theme/common/colorUtils';
|
|
19
19
|
import 'vscode/vscode/vs/platform/theme/common/colors/baseColors';
|
|
20
20
|
import { chartsRed, chartsYellow, chartsGreen } from 'vscode/vscode/vs/platform/theme/common/colors/chartsColors';
|
|
@@ -28,7 +28,7 @@ import 'vscode/vscode/vs/platform/theme/common/colors/quickpickColors';
|
|
|
28
28
|
import 'vscode/vscode/vs/platform/theme/common/colors/searchColors';
|
|
29
29
|
import { getTestingConfiguration, observeTestingConfiguration } from '../common/configuration.js';
|
|
30
30
|
import { getTotalCoveragePercent } from 'vscode/vscode/vs/workbench/contrib/testing/common/testCoverage';
|
|
31
|
-
import { ITestCoverageService } from 'vscode/vscode/vs/workbench/contrib/testing/common/testCoverageService';
|
|
31
|
+
import { ITestCoverageService } from 'vscode/vscode/vs/workbench/contrib/testing/common/testCoverageService.service';
|
|
32
32
|
|
|
33
33
|
let ManagedTestCoverageBars = class ManagedTestCoverageBars extends Disposable {
|
|
34
34
|
get visible() {
|
|
@@ -6,7 +6,7 @@ import { Codicon } from 'vscode/vscode/vs/base/common/codicons';
|
|
|
6
6
|
import { memoize } from 'vscode/vscode/vs/base/common/decorators';
|
|
7
7
|
import { createMatches } from 'vscode/vscode/vs/base/common/filters';
|
|
8
8
|
import { Iterable } from 'vscode/vscode/vs/base/common/iterator';
|
|
9
|
-
import {
|
|
9
|
+
import { MutableDisposable, Disposable, DisposableStore } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
10
10
|
import { observableValue } from 'vscode/vscode/vs/base/common/observableInternal/base';
|
|
11
11
|
import 'vscode/vscode/vs/base/common/observableInternal/derived';
|
|
12
12
|
import { autorun } from 'vscode/vscode/vs/base/common/observableInternal/autorun';
|
|
@@ -16,30 +16,32 @@ import { basenameOrAuthority } from 'vscode/vscode/vs/base/common/resources';
|
|
|
16
16
|
import { ThemeIcon } from 'vscode/vscode/vs/base/common/themables';
|
|
17
17
|
import { Position } from 'vscode/vscode/vs/editor/common/core/position';
|
|
18
18
|
import { Range } from 'vscode/vscode/vs/editor/common/core/range';
|
|
19
|
-
import {
|
|
19
|
+
import { localizeWithPath, localize2WithPath } from 'vscode/vscode/vs/nls';
|
|
20
20
|
import { registerAction2, MenuId } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
21
|
-
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
21
|
+
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
|
|
22
|
+
import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
23
|
+
import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey.service';
|
|
24
|
+
import { IContextMenuService } from 'vscode/vscode/vs/platform/contextview/browser/contextView.service';
|
|
24
25
|
import { EditorOpenSource } from 'vscode/vscode/vs/platform/editor/common/editor';
|
|
25
26
|
import { FileKind } from 'vscode/vscode/vs/platform/files/common/files';
|
|
26
27
|
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
27
|
-
import { IKeybindingService } from 'vscode/vscode/vs/platform/keybinding/common/keybinding';
|
|
28
|
-
import { ILabelService } from 'vscode/vscode/vs/platform/label/common/label';
|
|
28
|
+
import { IKeybindingService } from 'vscode/vscode/vs/platform/keybinding/common/keybinding.service';
|
|
29
|
+
import { ILabelService } from 'vscode/vscode/vs/platform/label/common/label.service';
|
|
29
30
|
import { WorkbenchCompressibleObjectTree } from 'vscode/vscode/vs/platform/list/browser/listService';
|
|
30
|
-
import { IOpenerService } from 'vscode/vscode/vs/platform/opener/common/opener';
|
|
31
|
-
import { IQuickInputService } from 'vscode/vscode/vs/platform/quickinput/common/quickInput';
|
|
32
|
-
import { ITelemetryService } from 'vscode/vscode/vs/platform/telemetry/common/telemetry';
|
|
33
|
-
import { IThemeService } from 'vscode/vscode/vs/platform/theme/common/themeService';
|
|
31
|
+
import { IOpenerService } from 'vscode/vscode/vs/platform/opener/common/opener.service';
|
|
32
|
+
import { IQuickInputService } from 'vscode/vscode/vs/platform/quickinput/common/quickInput.service';
|
|
33
|
+
import { ITelemetryService } from 'vscode/vscode/vs/platform/telemetry/common/telemetry.service';
|
|
34
|
+
import { IThemeService } from 'vscode/vscode/vs/platform/theme/common/themeService.service';
|
|
34
35
|
import { ResourceLabels } from 'vscode/vscode/vs/workbench/browser/labels';
|
|
35
|
-
import {
|
|
36
|
-
import { IViewDescriptorService } from 'vscode/vscode/vs/workbench/common/views';
|
|
36
|
+
import { ViewPane, ViewAction } from 'vscode/vscode/vs/workbench/browser/parts/views/viewPane';
|
|
37
|
+
import { IViewDescriptorService } from 'vscode/vscode/vs/workbench/common/views.service';
|
|
37
38
|
import { testingWasCovered, testingStatesToIcons } from './icons.js';
|
|
38
39
|
import { ManagedTestCoverageBars } from './testCoverageBars.js';
|
|
39
40
|
import { onObservableChange } from '../common/observableUtils.js';
|
|
40
41
|
import { getTotalCoveragePercent, FileCoverage } from 'vscode/vscode/vs/workbench/contrib/testing/common/testCoverage';
|
|
41
|
-
import { ITestCoverageService } from 'vscode/vscode/vs/workbench/contrib/testing/common/testCoverageService';
|
|
42
|
-
import {
|
|
42
|
+
import { ITestCoverageService } from 'vscode/vscode/vs/workbench/contrib/testing/common/testCoverageService.service';
|
|
43
|
+
import { SIDE_GROUP, ACTIVE_GROUP } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
|
|
44
|
+
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
43
45
|
|
|
44
46
|
var FileCoverageRenderer_1, DeclarationCoverageRenderer_1;
|
|
45
47
|
let TestCoverageView = class TestCoverageView extends ViewPane {
|
|
@@ -12,14 +12,15 @@ import { MessageController } from 'vscode/vscode/vs/editor/contrib/message/brows
|
|
|
12
12
|
import { localize2WithPath, localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
13
13
|
import { Categories } from 'vscode/vscode/vs/platform/action/common/actionCommonCategories';
|
|
14
14
|
import { Action2, MenuId } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
15
|
-
import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands';
|
|
16
|
-
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
|
|
15
|
+
import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands.service';
|
|
16
|
+
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
|
|
17
17
|
import { ContextKeyGreaterExpr, ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
18
|
-
import
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
18
|
+
import 'vscode/vscode/vs/platform/notification/common/notification';
|
|
19
|
+
import { INotificationService } from 'vscode/vscode/vs/platform/notification/common/notification.service';
|
|
20
|
+
import { IProgressService } from 'vscode/vscode/vs/platform/progress/common/progress.service';
|
|
21
|
+
import { IQuickInputService } from 'vscode/vscode/vs/platform/quickinput/common/quickInput.service';
|
|
21
22
|
import { widgetClose } from 'vscode/vscode/vs/platform/theme/common/iconRegistry';
|
|
22
|
-
import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity';
|
|
23
|
+
import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
|
|
23
24
|
import { ViewAction } from 'vscode/vscode/vs/workbench/browser/parts/views/viewPane';
|
|
24
25
|
import { FocusedViewContext } from 'vscode/vscode/vs/workbench/common/contextkeys';
|
|
25
26
|
import { VIEWLET_ID } from 'vscode/vscode/vs/workbench/contrib/extensions/common/extensions';
|
|
@@ -27,18 +28,21 @@ import { TestItemTreeElement } from './explorerProjections/index.js';
|
|
|
27
28
|
import { testingDebugIcon, testingCoverageIcon, testingRunIcon, testingUpdateProfiles, testingTurnContinuousRunOn, testingContinuousIsOn, testingTurnContinuousRunOff, testingRunAllIcon, testingDebugAllIcon, testingCoverageAllIcon, testingCancelIcon, testingRefreshTests, testingCancelRefreshTests } from './icons.js';
|
|
28
29
|
import { getTestingConfiguration } from '../common/configuration.js';
|
|
29
30
|
import { testConfigurationGroupNames } from '../common/constants.js';
|
|
30
|
-
import { ITestCoverageService } from 'vscode/vscode/vs/workbench/contrib/testing/common/testCoverageService';
|
|
31
|
+
import { ITestCoverageService } from 'vscode/vscode/vs/workbench/contrib/testing/common/testCoverageService.service';
|
|
31
32
|
import { TestId } from 'vscode/vscode/vs/workbench/contrib/testing/common/testId';
|
|
32
|
-
import { canUseProfileWithTest
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
33
|
+
import { canUseProfileWithTest } from '../common/testProfileService.js';
|
|
34
|
+
import { ITestProfileService } from 'vscode/vscode/vs/workbench/contrib/testing/common/testProfileService.service';
|
|
35
|
+
import { ITestResultService } from 'vscode/vscode/vs/workbench/contrib/testing/common/testResultService.service';
|
|
36
|
+
import { testsInFile, testsUnderUri, expandAndGetTestById } from '../common/testService.js';
|
|
37
|
+
import { ITestService } from 'vscode/vscode/vs/workbench/contrib/testing/common/testService.service';
|
|
38
|
+
import { TestingContextKeys } from '../common/testingContextKeys.js';
|
|
39
|
+
import { ITestingContinuousRunService } from 'vscode/vscode/vs/workbench/contrib/testing/common/testingContinuousRunService.service';
|
|
40
|
+
import { ITestingPeekOpener } from 'vscode/vscode/vs/workbench/contrib/testing/common/testingPeekOpener.service';
|
|
38
41
|
import { isFailedState } from 'vscode/vscode/vs/workbench/contrib/testing/common/testingStates';
|
|
39
|
-
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
|
|
40
|
-
import { IPaneCompositePartService } from 'vscode/vscode/vs/workbench/services/panecomposite/browser/panecomposite';
|
|
41
|
-
import { IViewsService } from 'vscode/vscode/vs/workbench/services/views/common/viewsService';
|
|
42
|
+
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
43
|
+
import { IPaneCompositePartService } from 'vscode/vscode/vs/workbench/services/panecomposite/browser/panecomposite.service';
|
|
44
|
+
import { IViewsService } from 'vscode/vscode/vs/workbench/services/views/common/viewsService.service';
|
|
45
|
+
import Severity$1 from 'vscode/vscode/vs/base/common/severity';
|
|
42
46
|
|
|
43
47
|
const category = Categories.Test;
|
|
44
48
|
const hasAnyTestProvider = ContextKeyGreaterExpr.create(TestingContextKeys.providerCount.key, 0);
|
|
@@ -1096,7 +1100,7 @@ class ExecuteTestsUnderUriAction extends Action2 {
|
|
|
1096
1100
|
'vs/workbench/contrib/testing/browser/testExplorerActions',
|
|
1097
1101
|
'noTests',
|
|
1098
1102
|
'No tests found in the selected file or folder'
|
|
1099
|
-
)), severity: Severity.Info });
|
|
1103
|
+
)), severity: Severity$1.Info });
|
|
1100
1104
|
return;
|
|
1101
1105
|
}
|
|
1102
1106
|
return testService.runTests({ tests, group: this.group });
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { registerEditorContribution } from 'vscode/vscode/vs/editor/browser/editorExtensions';
|
|
2
2
|
import { localize2WithPath, localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
3
3
|
import { registerAction2 } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
4
|
-
import { CommandsRegistry
|
|
4
|
+
import { CommandsRegistry } from 'vscode/vscode/vs/platform/commands/common/commands';
|
|
5
|
+
import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands.service';
|
|
5
6
|
import { Extensions as Extensions$2 } from 'vscode/vscode/vs/platform/configuration/common/configurationRegistry';
|
|
6
7
|
import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
7
|
-
import { IFileService } from 'vscode/vscode/vs/platform/files/common/files';
|
|
8
|
+
import { IFileService } from 'vscode/vscode/vs/platform/files/common/files.service';
|
|
8
9
|
import { SyncDescriptor } from 'vscode/vscode/vs/platform/instantiation/common/descriptors';
|
|
9
|
-
import { IOpenerService } from 'vscode/vscode/vs/platform/opener/common/opener';
|
|
10
|
-
import { IProgressService } from 'vscode/vscode/vs/platform/progress/common/progress';
|
|
10
|
+
import { IOpenerService } from 'vscode/vscode/vs/platform/opener/common/opener.service';
|
|
11
|
+
import { IProgressService } from 'vscode/vscode/vs/platform/progress/common/progress.service';
|
|
11
12
|
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
12
13
|
import { ViewPaneContainer } from 'vscode/vscode/vs/workbench/browser/parts/views/viewPaneContainer';
|
|
13
14
|
import { Extensions as Extensions$1 } from 'vscode/vscode/vs/workbench/common/contributions';
|
|
@@ -23,20 +24,23 @@ import { TestResultsView, OpenMessageInEditorAction, GoToPreviousMessageAction,
|
|
|
23
24
|
import { TestingProgressTrigger } from './testingProgressUiService.js';
|
|
24
25
|
import { TestingViewPaneContainer } from './testingViewPaneContainer.js';
|
|
25
26
|
import { testingConfiguration } from '../common/configuration.js';
|
|
26
|
-
import '
|
|
27
|
-
import
|
|
27
|
+
import '../common/testCoverageService.js';
|
|
28
|
+
import 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
29
|
+
import '../common/testExplorerFilterState.js';
|
|
30
|
+
import { ITestExplorerFilterState } from 'vscode/vscode/vs/workbench/contrib/testing/common/testExplorerFilterState.service';
|
|
28
31
|
import { TestId } from 'vscode/vscode/vs/workbench/contrib/testing/common/testId';
|
|
29
|
-
import '
|
|
30
|
-
import
|
|
31
|
-
import 'vscode/vscode/vs/workbench/contrib/testing/common/
|
|
32
|
-
import
|
|
32
|
+
import '../common/testProfileService.js';
|
|
33
|
+
import '../common/testResultService.js';
|
|
34
|
+
import { ITestResultService } from 'vscode/vscode/vs/workbench/contrib/testing/common/testResultService.service';
|
|
35
|
+
import '../common/testResultStorage.js';
|
|
36
|
+
import { ITestService } from 'vscode/vscode/vs/workbench/contrib/testing/common/testService.service';
|
|
33
37
|
import '../common/testServiceImpl.js';
|
|
34
38
|
import { TestingContentProvider } from '../common/testingContentProvider.js';
|
|
35
|
-
import { TestingContextKeys } from '
|
|
36
|
-
import '
|
|
37
|
-
import { ITestingDecorationsService } from 'vscode/vscode/vs/workbench/contrib/testing/common/testingDecorations';
|
|
38
|
-
import { ITestingPeekOpener } from 'vscode/vscode/vs/workbench/contrib/testing/common/testingPeekOpener';
|
|
39
|
-
import { IViewsService } from 'vscode/vscode/vs/workbench/services/views/common/viewsService';
|
|
39
|
+
import { TestingContextKeys } from '../common/testingContextKeys.js';
|
|
40
|
+
import '../common/testingContinuousRunService.js';
|
|
41
|
+
import { ITestingDecorationsService } from 'vscode/vscode/vs/workbench/contrib/testing/common/testingDecorations.service';
|
|
42
|
+
import { ITestingPeekOpener } from 'vscode/vscode/vs/workbench/contrib/testing/common/testingPeekOpener.service';
|
|
43
|
+
import { IViewsService } from 'vscode/vscode/vs/workbench/services/views/common/viewsService.service';
|
|
40
44
|
import { allTestActions, discoverAndRunTests } from './testExplorerActions.js';
|
|
41
45
|
import './testingConfigurationUi.js';
|
|
42
46
|
|
|
@@ -2,11 +2,12 @@ import { groupBy } from 'vscode/vscode/vs/base/common/arrays';
|
|
|
2
2
|
import { isDefined } from 'vscode/vscode/vs/base/common/types';
|
|
3
3
|
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
4
4
|
import { CommandsRegistry } from 'vscode/vscode/vs/platform/commands/common/commands';
|
|
5
|
-
import { IQuickInputService } from 'vscode/vscode/vs/platform/quickinput/common/quickInput';
|
|
5
|
+
import { IQuickInputService } from 'vscode/vscode/vs/platform/quickinput/common/quickInput.service';
|
|
6
6
|
import { ThemeIcon } from 'vscode/vscode/vs/base/common/themables';
|
|
7
7
|
import { testingUpdateProfiles } from './icons.js';
|
|
8
8
|
import { testConfigurationGroupNames } from '../common/constants.js';
|
|
9
|
-
import {
|
|
9
|
+
import { canUseProfileWithTest } from '../common/testProfileService.js';
|
|
10
|
+
import { ITestProfileService } from 'vscode/vscode/vs/workbench/contrib/testing/common/testProfileService.service';
|
|
10
11
|
|
|
11
12
|
function buildPicker(accessor, { onlyGroup, showConfigureButtons = true, onlyForTest, onlyConfigurable, placeholder = ( ( localizeWithPath(
|
|
12
13
|
'vs/workbench/contrib/testing/browser/testingConfigurationUi',
|
|
@@ -18,15 +18,16 @@ import { GlyphMarginLane, OverviewRulerLane } from 'vscode/vscode/vs/editor/comm
|
|
|
18
18
|
import { IModelService } from 'vscode/vscode/vs/editor/common/services/model';
|
|
19
19
|
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
20
20
|
import { createAndFillInContextMenuActions } from 'vscode/vscode/vs/platform/actions/browser/menuEntryActionViewItem';
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
21
|
+
import { MenuId } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
22
|
+
import { IMenuService } from 'vscode/vscode/vs/platform/actions/common/actions.service';
|
|
23
|
+
import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands.service';
|
|
24
|
+
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
|
|
25
|
+
import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey.service';
|
|
26
|
+
import { IContextMenuService } from 'vscode/vscode/vs/platform/contextview/browser/contextView.service';
|
|
26
27
|
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
27
|
-
import { IQuickInputService } from 'vscode/vscode/vs/platform/quickinput/common/quickInput';
|
|
28
|
+
import { IQuickInputService } from 'vscode/vscode/vs/platform/quickinput/common/quickInput.service';
|
|
28
29
|
import { themeColorFromId } from 'vscode/vscode/vs/platform/theme/common/themeService';
|
|
29
|
-
import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity';
|
|
30
|
+
import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
|
|
30
31
|
import { GutterActionsRegistry, EditorLineNumberContextMenu } from 'vscode/vscode/vs/workbench/contrib/codeEditor/browser/editorLineNumberMenu';
|
|
31
32
|
import { getTestItemContextOverlay } from './explorerProjections/testItemContextOverlay.js';
|
|
32
33
|
import { testingRunAllIcon, testingRunIcon, testingStatesToIcons } from './icons.js';
|
|
@@ -34,13 +35,15 @@ import { renderTestMessageAsText } from './testMessageColorizer.js';
|
|
|
34
35
|
import { getTestingConfiguration } from '../common/configuration.js';
|
|
35
36
|
import { labelForTestInState } from '../common/constants.js';
|
|
36
37
|
import { TestId } from 'vscode/vscode/vs/workbench/contrib/testing/common/testId';
|
|
37
|
-
import { ITestProfileService } from 'vscode/vscode/vs/workbench/contrib/testing/common/testProfileService';
|
|
38
|
+
import { ITestProfileService } from 'vscode/vscode/vs/workbench/contrib/testing/common/testProfileService.service';
|
|
38
39
|
import { LiveTestResult } from 'vscode/vscode/vs/workbench/contrib/testing/common/testResult';
|
|
39
|
-
import { ITestResultService } from 'vscode/vscode/vs/workbench/contrib/testing/common/testResultService';
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
40
|
+
import { ITestResultService } from 'vscode/vscode/vs/workbench/contrib/testing/common/testResultService.service';
|
|
41
|
+
import { testsInFile, getContextForTestItem } from '../common/testService.js';
|
|
42
|
+
import { ITestService } from 'vscode/vscode/vs/workbench/contrib/testing/common/testService.service';
|
|
43
|
+
import { TestDecorations } from '../common/testingDecorations.js';
|
|
44
|
+
import { ITestingDecorationsService } from 'vscode/vscode/vs/workbench/contrib/testing/common/testingDecorations.service';
|
|
45
|
+
import { ITestingPeekOpener } from 'vscode/vscode/vs/workbench/contrib/testing/common/testingPeekOpener.service';
|
|
46
|
+
import { maxPriority, isFailedState } from 'vscode/vscode/vs/workbench/contrib/testing/common/testingStates';
|
|
44
47
|
import { buildTestUri, parseTestUri } from '../common/testingUri.js';
|
|
45
48
|
|
|
46
49
|
var TestMessageDecoration_1;
|
|
@@ -8,14 +8,14 @@ import { Delayer } from 'vscode/vscode/vs/base/common/async';
|
|
|
8
8
|
import { Emitter } from 'vscode/vscode/vs/base/common/event';
|
|
9
9
|
import { Iterable } from 'vscode/vscode/vs/base/common/iterator';
|
|
10
10
|
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
11
|
-
import { IContextMenuService } from 'vscode/vscode/vs/platform/contextview/browser/contextView';
|
|
11
|
+
import { IContextMenuService } from 'vscode/vscode/vs/platform/contextview/browser/contextView.service';
|
|
12
12
|
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
13
13
|
import { ThemeIcon } from 'vscode/vscode/vs/base/common/themables';
|
|
14
14
|
import { ContextScopedSuggestEnabledInputWithHistory } from 'vscode/vscode/vs/workbench/contrib/codeEditor/browser/suggestEnabledInput/suggestEnabledInput';
|
|
15
15
|
import { testingFilterIcon } from './icons.js';
|
|
16
|
-
import { StoredValue } from '
|
|
17
|
-
import { ITestExplorerFilterState } from 'vscode/vscode/vs/workbench/contrib/testing/common/testExplorerFilterState';
|
|
18
|
-
import { ITestService } from 'vscode/vscode/vs/workbench/contrib/testing/common/testService';
|
|
16
|
+
import { StoredValue } from '../common/storedValue.js';
|
|
17
|
+
import { ITestExplorerFilterState } from 'vscode/vscode/vs/workbench/contrib/testing/common/testExplorerFilterState.service';
|
|
18
|
+
import { ITestService } from 'vscode/vscode/vs/workbench/contrib/testing/common/testService.service';
|
|
19
19
|
import { denamespaceTestTag } from 'vscode/vscode/vs/workbench/contrib/testing/common/testTypes';
|
|
20
20
|
|
|
21
21
|
const testFilterDescriptions = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js';
|
|
2
|
-
import { append, $,
|
|
2
|
+
import { append, $, h, clearNode, addStandardDisposableListener, isMouseEvent, reset } from 'vscode/vscode/vs/base/browser/dom';
|
|
3
3
|
import { ActionBar } from 'vscode/vscode/vs/base/browser/ui/actionbar/actionbar';
|
|
4
4
|
import { Button } from 'vscode/vscode/vs/base/browser/ui/button/button';
|
|
5
5
|
import { getDefaultHoverDelegate } from 'vscode/vscode/vs/base/browser/ui/hover/hoverDelegateFactory';
|
|
@@ -11,7 +11,7 @@ import { mapFindFirst } from 'vscode/vscode/vs/base/common/arraysFind';
|
|
|
11
11
|
import { RunOnceScheduler, disposableTimeout } from 'vscode/vscode/vs/base/common/async';
|
|
12
12
|
import { Color, RGBA } from 'vscode/vscode/vs/base/common/color';
|
|
13
13
|
import { Emitter, Event } from 'vscode/vscode/vs/base/common/event';
|
|
14
|
-
import {
|
|
14
|
+
import { MutableDisposable, Disposable, DisposableStore } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
15
15
|
import { fuzzyContains } from 'vscode/vscode/vs/base/common/strings';
|
|
16
16
|
import { ThemeIcon } from 'vscode/vscode/vs/base/common/themables';
|
|
17
17
|
import { isDefined } from 'vscode/vscode/vs/base/common/types';
|
|
@@ -19,18 +19,20 @@ import './media/testing.css.js';
|
|
|
19
19
|
import { MarkdownRenderer } from 'vscode/vscode/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer';
|
|
20
20
|
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
21
21
|
import { DropdownWithPrimaryActionViewItem } from 'vscode/vscode/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem';
|
|
22
|
-
import { MenuEntryActionViewItem, createAndFillInActionBarActions
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
22
|
+
import { createActionViewItem, MenuEntryActionViewItem, createAndFillInActionBarActions } from 'vscode/vscode/vs/platform/actions/browser/menuEntryActionViewItem';
|
|
23
|
+
import { MenuItemAction, MenuId } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
24
|
+
import { IMenuService } from 'vscode/vscode/vs/platform/actions/common/actions.service';
|
|
25
|
+
import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands.service';
|
|
26
|
+
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
|
|
27
|
+
import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey.service';
|
|
28
|
+
import { IContextMenuService } from 'vscode/vscode/vs/platform/contextview/browser/contextView.service';
|
|
28
29
|
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
29
|
-
import { IKeybindingService } from 'vscode/vscode/vs/platform/keybinding/common/keybinding';
|
|
30
|
-
import { IOpenerService } from 'vscode/vscode/vs/platform/opener/common/opener';
|
|
30
|
+
import { IKeybindingService } from 'vscode/vscode/vs/platform/keybinding/common/keybinding.service';
|
|
31
|
+
import { IOpenerService } from 'vscode/vscode/vs/platform/opener/common/opener.service';
|
|
31
32
|
import { UnmanagedProgress } from 'vscode/vscode/vs/platform/progress/common/progress';
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
33
|
+
import { WillSaveStateReason } from 'vscode/vscode/vs/platform/storage/common/storage';
|
|
34
|
+
import { IStorageService } from 'vscode/vscode/vs/platform/storage/common/storage.service';
|
|
35
|
+
import { ITelemetryService } from 'vscode/vscode/vs/platform/telemetry/common/telemetry.service';
|
|
34
36
|
import { defaultButtonStyles } from 'vscode/vscode/vs/platform/theme/browser/defaultStyles';
|
|
35
37
|
import 'vscode/vscode/vs/platform/theme/common/colorUtils';
|
|
36
38
|
import { foreground } from 'vscode/vscode/vs/platform/theme/common/colors/baseColors';
|
|
@@ -44,36 +46,40 @@ import 'vscode/vscode/vs/platform/theme/common/colors/miscColors';
|
|
|
44
46
|
import 'vscode/vscode/vs/platform/theme/common/colors/quickpickColors';
|
|
45
47
|
import 'vscode/vscode/vs/platform/theme/common/colors/searchColors';
|
|
46
48
|
import { spinningLoading } from 'vscode/vscode/vs/platform/theme/common/iconRegistry';
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
+
import { registerThemingParticipant } from 'vscode/vscode/vs/platform/theme/common/themeService';
|
|
50
|
+
import { IThemeService } from 'vscode/vscode/vs/platform/theme/common/themeService.service';
|
|
51
|
+
import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
|
|
49
52
|
import { registerNavigableContainer } from 'vscode/vscode/vs/workbench/browser/actions/widgetNavigationCommands';
|
|
50
53
|
import { ViewPane } from 'vscode/vscode/vs/workbench/browser/parts/views/viewPane';
|
|
51
54
|
import { DiffEditorInput } from 'vscode/vscode/vs/workbench/common/editor/diffEditorInput';
|
|
52
|
-
import { IViewDescriptorService } from 'vscode/vscode/vs/workbench/common/views';
|
|
55
|
+
import { IViewDescriptorService } from 'vscode/vscode/vs/workbench/common/views.service';
|
|
53
56
|
import { TestItemTreeElement, TestTreeErrorMessage } from './explorerProjections/index.js';
|
|
54
57
|
import { ListProjection } from './explorerProjections/listProjection.js';
|
|
55
58
|
import { getTestItemContextOverlay } from './explorerProjections/testItemContextOverlay.js';
|
|
56
59
|
import { TestingObjectTree } from './explorerProjections/testingObjectTree.js';
|
|
57
60
|
import { TreeProjection } from './explorerProjections/treeProjection.js';
|
|
58
|
-
import {
|
|
61
|
+
import { testingRunAllIcon, testingDebugAllIcon, testingRerunIcon, testingDebugIcon, testingStatesToIcons, testingContinuousIsOn, testingHiddenIcon } from './icons.js';
|
|
59
62
|
import { ReRunLastRun, DebugLastRun } from './testExplorerActions.js';
|
|
60
63
|
import { TestingExplorerFilter } from './testingExplorerFilter.js';
|
|
61
64
|
import { collectTestStateCounts, getTestProgressText } from './testingProgressUiService.js';
|
|
62
65
|
import { getTestingConfiguration } from '../common/configuration.js';
|
|
63
66
|
import { labelForTestInState } from '../common/constants.js';
|
|
64
|
-
import { StoredValue } from '
|
|
65
|
-
import { ITestExplorerFilterState } from 'vscode/vscode/vs/workbench/contrib/testing/common/testExplorerFilterState';
|
|
67
|
+
import { StoredValue } from '../common/storedValue.js';
|
|
68
|
+
import { ITestExplorerFilterState } from 'vscode/vscode/vs/workbench/contrib/testing/common/testExplorerFilterState.service';
|
|
66
69
|
import { TestId } from 'vscode/vscode/vs/workbench/contrib/testing/common/testId';
|
|
67
|
-
import {
|
|
70
|
+
import { canUseProfileWithTest } from '../common/testProfileService.js';
|
|
71
|
+
import { ITestProfileService } from 'vscode/vscode/vs/workbench/contrib/testing/common/testProfileService.service';
|
|
68
72
|
import { LiveTestResult } from 'vscode/vscode/vs/workbench/contrib/testing/common/testResult';
|
|
69
|
-
import { ITestResultService } from 'vscode/vscode/vs/workbench/contrib/testing/common/testResultService';
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
73
|
+
import { ITestResultService } from 'vscode/vscode/vs/workbench/contrib/testing/common/testResultService.service';
|
|
74
|
+
import { testCollectionIsEmpty } from '../common/testService.js';
|
|
75
|
+
import { ITestService } from 'vscode/vscode/vs/workbench/contrib/testing/common/testService.service';
|
|
76
|
+
import { TestingContextKeys } from '../common/testingContextKeys.js';
|
|
77
|
+
import { ITestingContinuousRunService } from 'vscode/vscode/vs/workbench/contrib/testing/common/testingContinuousRunService.service';
|
|
78
|
+
import { ITestingPeekOpener } from 'vscode/vscode/vs/workbench/contrib/testing/common/testingPeekOpener.service';
|
|
74
79
|
import { statesInOrder, isStateWithResult, isFailedState, cmpPriority } from 'vscode/vscode/vs/workbench/contrib/testing/common/testingStates';
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
80
|
+
import { NumberBadge, IconBadge } from 'vscode/vscode/vs/workbench/services/activity/common/activity';
|
|
81
|
+
import { IActivityService } from 'vscode/vscode/vs/workbench/services/activity/common/activity.service';
|
|
82
|
+
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
77
83
|
|
|
78
84
|
var ErrorRenderer_1, TestItemRenderer_1;
|
|
79
85
|
let TestingExplorerView = class TestingExplorerView extends ViewPane {
|