@codingame/monaco-vscode-testing-service-override 23.0.2 → 23.0.4

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.
Files changed (25) hide show
  1. package/package.json +17 -17
  2. package/vscode/src/vs/workbench/contrib/debug/browser/callStackWidget.js +5 -5
  3. package/vscode/src/vs/workbench/contrib/testing/browser/codeCoverageDecorations.js +24 -24
  4. package/vscode/src/vs/workbench/contrib/testing/browser/codeCoverageDisplayUtils.js +5 -5
  5. package/vscode/src/vs/workbench/contrib/testing/browser/icons.js +29 -29
  6. package/vscode/src/vs/workbench/contrib/testing/browser/testCoverageBars.js +3 -3
  7. package/vscode/src/vs/workbench/contrib/testing/browser/testCoverageView.js +13 -13
  8. package/vscode/src/vs/workbench/contrib/testing/browser/testExplorerActions.js +72 -72
  9. package/vscode/src/vs/workbench/contrib/testing/browser/testResultsView/testResultsOutput.js +5 -5
  10. package/vscode/src/vs/workbench/contrib/testing/browser/testResultsView/testResultsTree.js +24 -24
  11. package/vscode/src/vs/workbench/contrib/testing/browser/testResultsView/testResultsViewContent.js +3 -3
  12. package/vscode/src/vs/workbench/contrib/testing/browser/testing.contribution.js +8 -8
  13. package/vscode/src/vs/workbench/contrib/testing/browser/testingConfigurationUi.js +2 -2
  14. package/vscode/src/vs/workbench/contrib/testing/browser/testingDecorations.js +19 -19
  15. package/vscode/src/vs/workbench/contrib/testing/browser/testingExplorerFilter.js +11 -11
  16. package/vscode/src/vs/workbench/contrib/testing/browser/testingExplorerView.js +14 -14
  17. package/vscode/src/vs/workbench/contrib/testing/browser/testingOutputPeek.js +11 -11
  18. package/vscode/src/vs/workbench/contrib/testing/browser/testingViewPaneContainer.js +1 -1
  19. package/vscode/src/vs/workbench/contrib/testing/browser/theme.js +32 -32
  20. package/vscode/src/vs/workbench/contrib/testing/common/configuration.js +36 -36
  21. package/vscode/src/vs/workbench/contrib/testing/common/testServiceImpl.js +4 -4
  22. package/vscode/src/vs/workbench/contrib/testing/common/testingChatAgentTool.js +12 -12
  23. package/vscode/src/vs/workbench/contrib/testing/common/testingContentProvider.js +1 -1
  24. package/vscode/src/vs/workbench/contrib/testing/common/testingContextKeys.js +31 -31
  25. package/vscode/src/vs/workbench/contrib/testing/common/testingProgressMessages.js +5 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-testing-service-override",
3
- "version": "23.0.2",
3
+ "version": "23.0.4",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - testing service-override",
6
6
  "keywords": [],
@@ -15,22 +15,22 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-10af0e5d-64cb-56de-b584-29ab4a355d15-common": "23.0.2",
19
- "@codingame/monaco-vscode-262ed59d-4f76-57cd-9e9f-1877f26ae049-common": "23.0.2",
20
- "@codingame/monaco-vscode-3692fc2f-920d-56ed-accd-d988be683cc3-common": "23.0.2",
21
- "@codingame/monaco-vscode-3b5a5cd1-d4ff-500a-b609-57e0cd4afa0a-common": "23.0.2",
22
- "@codingame/monaco-vscode-45e04ac3-b807-5ae5-8818-7b9c40b6d31f-common": "23.0.2",
23
- "@codingame/monaco-vscode-501b06ab-3f58-516b-8a1a-c29d375d3da4-common": "23.0.2",
24
- "@codingame/monaco-vscode-5ca67a37-98cf-58a6-90cb-0999f3ec6b71-common": "23.0.2",
25
- "@codingame/monaco-vscode-6845754f-e617-5ed9-8aaa-6ca3653a9532-common": "23.0.2",
26
- "@codingame/monaco-vscode-88141f48-1af9-57ef-a278-f4b2ff6128fa-common": "23.0.2",
27
- "@codingame/monaco-vscode-a8d3bd74-e63e-5327-96e8-4f931661e329-common": "23.0.2",
28
- "@codingame/monaco-vscode-api": "23.0.2",
29
- "@codingame/monaco-vscode-b6d52a6d-8c8e-51f5-bcd2-1722295e31d9-common": "23.0.2",
30
- "@codingame/monaco-vscode-b99aef83-0d60-5e8c-a62e-9908b6256f35-common": "23.0.2",
31
- "@codingame/monaco-vscode-f24e325c-2ce0-5bba-8236-bfc4f53180ab-common": "23.0.2",
32
- "@codingame/monaco-vscode-f6ab89b2-83b0-5a43-8772-cb0eafa650b5-common": "23.0.2",
33
- "@codingame/monaco-vscode-terminal-service-override": "23.0.2"
18
+ "@codingame/monaco-vscode-10af0e5d-64cb-56de-b584-29ab4a355d15-common": "23.0.4",
19
+ "@codingame/monaco-vscode-262ed59d-4f76-57cd-9e9f-1877f26ae049-common": "23.0.4",
20
+ "@codingame/monaco-vscode-3692fc2f-920d-56ed-accd-d988be683cc3-common": "23.0.4",
21
+ "@codingame/monaco-vscode-3b5a5cd1-d4ff-500a-b609-57e0cd4afa0a-common": "23.0.4",
22
+ "@codingame/monaco-vscode-45e04ac3-b807-5ae5-8818-7b9c40b6d31f-common": "23.0.4",
23
+ "@codingame/monaco-vscode-501b06ab-3f58-516b-8a1a-c29d375d3da4-common": "23.0.4",
24
+ "@codingame/monaco-vscode-5ca67a37-98cf-58a6-90cb-0999f3ec6b71-common": "23.0.4",
25
+ "@codingame/monaco-vscode-6845754f-e617-5ed9-8aaa-6ca3653a9532-common": "23.0.4",
26
+ "@codingame/monaco-vscode-88141f48-1af9-57ef-a278-f4b2ff6128fa-common": "23.0.4",
27
+ "@codingame/monaco-vscode-a8d3bd74-e63e-5327-96e8-4f931661e329-common": "23.0.4",
28
+ "@codingame/monaco-vscode-api": "23.0.4",
29
+ "@codingame/monaco-vscode-b6d52a6d-8c8e-51f5-bcd2-1722295e31d9-common": "23.0.4",
30
+ "@codingame/monaco-vscode-b99aef83-0d60-5e8c-a62e-9908b6256f35-common": "23.0.4",
31
+ "@codingame/monaco-vscode-f24e325c-2ce0-5bba-8236-bfc4f53180ab-common": "23.0.4",
32
+ "@codingame/monaco-vscode-f6ab89b2-83b0-5a43-8772-cb0eafa650b5-common": "23.0.4",
33
+ "@codingame/monaco-vscode-terminal-service-override": "23.0.4"
34
34
  },
35
35
  "main": "index.js",
36
36
  "module": "index.js",
@@ -180,7 +180,7 @@ let StackAccessibilityProvider = class StackAccessibilityProvider {
180
180
  if (e instanceof CallStackFrame) {
181
181
  if (e.source && e.line) {
182
182
  return localize(
183
- 6405,
183
+ 6409,
184
184
  '{0}, line {1} in {2}',
185
185
  e.name,
186
186
  e.line,
@@ -192,7 +192,7 @@ let StackAccessibilityProvider = class StackAccessibilityProvider {
192
192
  assertNever();
193
193
  }
194
194
  getWidgetAriaLabel() {
195
- return localize(6406, 'Stack Trace');
195
+ return localize(6410, 'Stack Trace');
196
196
  }
197
197
  };
198
198
  StackAccessibilityProvider = ( __decorate([
@@ -412,7 +412,7 @@ let MissingCodeRenderer = class MissingCodeRenderer {
412
412
  const cast = element;
413
413
  templateData.label.element.setResource({
414
414
  name: cast.name,
415
- description: ( localize(6407, 'Line {0} column {1}', cast.line, cast.column)),
415
+ description: ( localize(6411, 'Line {0} column {1}', cast.line, cast.column)),
416
416
  range: { startLineNumber: cast.line, startColumn: cast.column, endColumn: cast.column, endLineNumber: cast.line },
417
417
  }, {
418
418
  icon: Codicon.fileBinary,
@@ -473,7 +473,7 @@ let SkippedRenderer = class SkippedRenderer {
473
473
  }
474
474
  button.enabled = false;
475
475
  this.loadFrames(data.current).catch(e => {
476
- this.notificationService.error(( localize(6408, 'Failed to load stack frames: {0}', e.message)));
476
+ this.notificationService.error(( localize(6412, 'Failed to load stack frames: {0}', e.message)));
477
477
  });
478
478
  }));
479
479
  return data;
@@ -550,7 +550,7 @@ registerAction2(class extends Action2 {
550
550
  constructor() {
551
551
  super({
552
552
  id: 'callStackWidget.goToFile',
553
- title: ( localize2(6409, 'Open File')),
553
+ title: ( localize2(6413, 'Open File')),
554
554
  icon: Codicon.goToFile,
555
555
  menu: {
556
556
  id: MenuId.DebugCallStackToolbar,
@@ -56,11 +56,11 @@ import { autorun } from '@codingame/monaco-vscode-api/vscode/vs/base/common/obse
56
56
 
57
57
  const CLASS_HIT = 'coverage-deco-hit';
58
58
  const CLASS_MISS = 'coverage-deco-miss';
59
- const TOGGLE_INLINE_COMMAND_TEXT = ( localize(12187, 'Toggle Inline'));
59
+ const TOGGLE_INLINE_COMMAND_TEXT = ( localize(12190, 'Toggle Inline'));
60
60
  const TOGGLE_INLINE_COMMAND_ID = 'testing.toggleInlineCoverage';
61
61
  const BRANCH_MISS_INDICATOR_CHARS = 4;
62
- const GO_TO_NEXT_MISSED_LINE_TITLE = ( localize2(12188, "Go to Next Uncovered Line"));
63
- const GO_TO_PREVIOUS_MISSED_LINE_TITLE = ( localize2(12189, "Go to Previous Uncovered Line"));
62
+ const GO_TO_NEXT_MISSED_LINE_TITLE = ( localize2(12191, "Go to Next Uncovered Line"));
63
+ const GO_TO_PREVIOUS_MISSED_LINE_TITLE = ( localize2(12192, "Go to Previous Uncovered Line"));
64
64
  let CodeCoverageDecorations = class CodeCoverageDecorations extends Disposable {
65
65
  static { this.ID = Testing.CoverageDecorationsContributionId; }
66
66
  constructor(editor, instantiationService, coverage, configurationService, log, contextKeyService) {
@@ -442,7 +442,7 @@ class CoverageDetailsModel {
442
442
  if (detail.branches?.length) {
443
443
  const covered = detail.branches.filter(b => !!b.count).length;
444
444
  return ( new MarkdownString()).appendMarkdown(( localize(
445
- 12190,
445
+ 12193,
446
446
  '{0} of {1} of branches in {2} were covered.',
447
447
  covered,
448
448
  detail.branches.length,
@@ -458,13 +458,13 @@ class CoverageDetailsModel {
458
458
  const { count, label } = detail.detail.branches[detail.branch];
459
459
  const label2 = label ? wrapInBackticks(label) : `#${detail.branch + 1}`;
460
460
  if (!count) {
461
- return ( new MarkdownString()).appendMarkdown(( localize(12191, 'Branch {0} in {1} was not covered.', label2, text)));
461
+ return ( new MarkdownString()).appendMarkdown(( localize(12194, 'Branch {0} in {1} was not covered.', label2, text)));
462
462
  }
463
463
  else if (count === true) {
464
- return ( new MarkdownString()).appendMarkdown(( localize(12192, 'Branch {0} in {1} was executed.', label2, text)));
464
+ return ( new MarkdownString()).appendMarkdown(( localize(12195, 'Branch {0} in {1} was executed.', label2, text)));
465
465
  }
466
466
  else {
467
- return ( new MarkdownString()).appendMarkdown(( localize(12193, 'Branch {0} in {1} was executed {2} time(s).', label2, text, count)));
467
+ return ( new MarkdownString()).appendMarkdown(( localize(12196, 'Branch {0} in {1} was executed {2} time(s).', label2, text, count)));
468
468
  }
469
469
  }
470
470
  assertNever();
@@ -472,10 +472,10 @@ class CoverageDetailsModel {
472
472
  }
473
473
  function namedDetailLabel(name, detail) {
474
474
  return ( new MarkdownString()).appendMarkdown(!detail.count
475
- ? ( localize(12194, '`{0}` was not executed.', name))
475
+ ? ( localize(12197, '`{0}` was not executed.', name))
476
476
  : typeof detail.count === 'number'
477
- ? ( localize(12195, '`{0}` was executed {1} time(s).', name, detail.count))
478
- : ( localize(12196, '`{0}` was executed.', name)));
477
+ ? ( localize(12198, '`{0}` was executed {1} time(s).', name, detail.count))
478
+ : ( localize(12199, '`{0}` was executed.', name)));
479
479
  }
480
480
  function tidyLocation(location) {
481
481
  if (location instanceof Position) {
@@ -572,8 +572,8 @@ let CoverageToolbarWidget = class CoverageToolbarWidget extends Disposable {
572
572
  return;
573
573
  }
574
574
  const toggleAction = ( new ActionWithIcon('toggleInline', this.coverage.showInline.get()
575
- ? ( localize(12197, 'Hide Inline Coverage'))
576
- : ( localize(12198, 'Show Inline Coverage')), testingCoverageReport, undefined, () => this.coverage.showInline.set(!this.coverage.showInline.get(), undefined)));
575
+ ? ( localize(12200, 'Hide Inline Coverage'))
576
+ : ( localize(12201, 'Show Inline Coverage')), testingCoverageReport, undefined, () => this.coverage.showInline.set(!this.coverage.showInline.get(), undefined)));
577
577
  const kb = this.keybindingService.lookupKeybinding(TOGGLE_INLINE_COMMAND_ID);
578
578
  if (kb) {
579
579
  toggleAction.tooltip = `${TOGGLE_INLINE_COMMAND_TEXT} (${kb.getLabel()})`;
@@ -606,12 +606,12 @@ let CoverageToolbarWidget = class CoverageToolbarWidget extends Disposable {
606
606
  }
607
607
  else if (current.coverage.perTestData?.size) {
608
608
  this.actionBar.push(( new ActionWithIcon('perTestFilter', ( localize(
609
- 12199,
609
+ 12202,
610
610
  "{0} test(s) ran code in this file",
611
611
  current.coverage.perTestData.size
612
612
  )), testingFilterIcon, undefined, () => this.commandService.executeCommand(TestCommandId.CoverageFilterToTestInEditor, this.current, this.editor))));
613
613
  }
614
- this.actionBar.push(( new ActionWithIcon('rerun', ( localize(12200, 'Rerun')), testingRerunIcon, !this.isRunning, () => this.rerunTest())));
614
+ this.actionBar.push(( new ActionWithIcon('rerun', ( localize(12203, 'Rerun')), testingRerunIcon, !this.isRunning, () => this.rerunTest())));
615
615
  }
616
616
  show() {
617
617
  if (this.registered) {
@@ -671,7 +671,7 @@ registerAction2(class ToggleInlineCoverage extends Action2 {
671
671
  constructor() {
672
672
  super({
673
673
  id: TOGGLE_INLINE_COMMAND_ID,
674
- title: ( localize2(12201, "Toggle Inline Coverage")),
674
+ title: ( localize2(12204, "Toggle Inline Coverage")),
675
675
  category: Categories.Test,
676
676
  keybinding: {
677
677
  weight: KeybindingWeight.WorkbenchContrib,
@@ -679,7 +679,7 @@ registerAction2(class ToggleInlineCoverage extends Action2 {
679
679
  },
680
680
  toggled: {
681
681
  condition: TestingContextKeys.inlineCoverageEnabled,
682
- title: ( localize(12202, "Hide Inline Coverage")),
682
+ title: ( localize(12205, "Hide Inline Coverage")),
683
683
  },
684
684
  icon: testingCoverageReport,
685
685
  menu: [
@@ -697,9 +697,9 @@ registerAction2(class ToggleCoverageToolbar extends Action2 {
697
697
  constructor() {
698
698
  super({
699
699
  id: TestCommandId.CoverageToggleToolbar,
700
- title: ( localize2(12203, "Test Coverage Toolbar")),
700
+ title: ( localize2(12206, "Test Coverage Toolbar")),
701
701
  metadata: {
702
- description: ( localize2(12204, 'Toggle the sticky coverage bar in the editor.'))
702
+ description: ( localize2(12207, 'Toggle the sticky coverage bar in the editor.'))
703
703
  },
704
704
  category: Categories.Test,
705
705
  toggled: {
@@ -722,7 +722,7 @@ registerAction2(class FilterCoverageToTestInEditor extends Action2 {
722
722
  constructor() {
723
723
  super({
724
724
  id: TestCommandId.CoverageFilterToTestInEditor,
725
- title: ( localize2(12205, "Filter Coverage to Test")),
725
+ title: ( localize2(12208, "Filter Coverage to Test")),
726
726
  category: Categories.Test,
727
727
  icon: Codicon.filter,
728
728
  toggled: {
@@ -810,14 +810,14 @@ registerAction2(class ToggleCoverageInExplorer extends Action2 {
810
810
  constructor() {
811
811
  super({
812
812
  id: TestCommandId.CoverageToggleInExplorer,
813
- title: ( localize2(12206, "Toggle Coverage in Explorer")),
813
+ title: ( localize2(12209, "Toggle Coverage in Explorer")),
814
814
  metadata: {
815
- description: ( localize2(12207, 'Toggle the display of test coverage in the File Explorer view.'))
815
+ description: ( localize2(12210, 'Toggle the display of test coverage in the File Explorer view.'))
816
816
  },
817
817
  category: Categories.Test,
818
818
  toggled: {
819
819
  condition: ( ContextKeyExpr.equals('config.testing.showCoverageInExplorer', true)),
820
- title: ( localize(12208, "Hide Coverage in Explorer")),
820
+ title: ( localize(12211, "Hide Coverage in Explorer")),
821
821
  },
822
822
  menu: [
823
823
  { id: MenuId.CommandPalette, when: TestingContextKeys.isTestCoverageOpen },
@@ -836,7 +836,7 @@ registerAction2(class GoToNextMissedCoverageLine extends Action2 {
836
836
  id: TestCommandId.CoverageGoToNextMissedLine,
837
837
  title: GO_TO_NEXT_MISSED_LINE_TITLE,
838
838
  metadata: {
839
- description: ( localize2(12209, 'Navigate to the next line that is not covered by tests.'))
839
+ description: ( localize2(12212, 'Navigate to the next line that is not covered by tests.'))
840
840
  },
841
841
  category: Categories.Test,
842
842
  icon: Codicon.arrowDown,
@@ -869,7 +869,7 @@ registerAction2(class GoToPreviousMissedCoverageLine extends Action2 {
869
869
  id: TestCommandId.CoverageGoToPreviousMissedLine,
870
870
  title: GO_TO_PREVIOUS_MISSED_LINE_TITLE,
871
871
  metadata: {
872
- description: ( localize2(12210, 'Navigate to the previous line that is not covered by tests.'))
872
+ description: ( localize2(12213, 'Navigate to the previous line that is not covered by tests.'))
873
873
  },
874
874
  category: Categories.Test,
875
875
  icon: Codicon.arrowUp,
@@ -75,11 +75,11 @@ function getLabelForItem(result, testId, commonPrefixLen) {
75
75
  }
76
76
  var labels;
77
77
  (function (labels) {
78
- labels.showingFilterFor = (label) => ( localize(12211, "Showing \"{0}\"", label));
79
- labels.clickToChangeFiltering = ( localize(12212, 'Click to view coverage for a single test'));
80
- labels.percentCoverage = (percent, precision) => ( localize(12213, '{0} Coverage', displayPercent(percent, precision)));
81
- labels.allTests = ( localize(12214, 'All tests'));
82
- labels.pickShowCoverage = ( localize(12215, 'Pick a test to show coverage for'));
78
+ labels.showingFilterFor = (label) => ( localize(12214, "Showing \"{0}\"", label));
79
+ labels.clickToChangeFiltering = ( localize(12215, 'Click to view coverage for a single test'));
80
+ labels.percentCoverage = (percent, precision) => ( localize(12216, '{0} Coverage', displayPercent(percent, precision)));
81
+ labels.allTests = ( localize(12217, 'All tests'));
82
+ labels.pickShowCoverage = ( localize(12218, 'Pick a test to show coverage for'));
83
83
  })(labels || (labels = {}));
84
84
 
85
85
  export { calculateDisplayedStat, displayPercent, getCoverageColor, getLabelForItem, labels, percent };
@@ -7,37 +7,37 @@ import { ThemeIcon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/th
7
7
  import { testStatesToIconColors, testStatesToRetiredIconColors, testingColorRunAction } from './theme.js';
8
8
  import { TestResultState } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/testing/common/testTypes';
9
9
 
10
- const testingViewIcon = registerIcon('test-view-icon', Codicon.beaker, ( localize(12216, 'View icon of the test view.')));
11
- const testingResultsIcon = registerIcon('test-results-icon', Codicon.checklist, ( localize(12217, 'Icons for test results.')));
12
- const testingRunIcon = registerIcon('testing-run-icon', Codicon.run, ( localize(12218, 'Icon of the "run test" action.')));
13
- const testingRerunIcon = registerIcon('testing-rerun-icon', Codicon.debugRerun, ( localize(12219, 'Icon of the "rerun tests" action.')));
14
- const testingRunAllIcon = registerIcon('testing-run-all-icon', Codicon.runAll, ( localize(12220, 'Icon of the "run all tests" action.')));
15
- const testingDebugAllIcon = registerIcon('testing-debug-all-icon', Codicon.debugAltSmall, ( localize(12221, 'Icon of the "debug all tests" action.')));
16
- const testingDebugIcon = registerIcon('testing-debug-icon', Codicon.debugAltSmall, ( localize(12222, 'Icon of the "debug test" action.')));
17
- const testingCoverageIcon = registerIcon('testing-coverage-icon', Codicon.runCoverage, ( localize(12223, 'Icon of the "run test with coverage" action.')));
18
- const testingCoverageAllIcon = registerIcon('testing-coverage-all-icon', Codicon.runAllCoverage, ( localize(12224, 'Icon of the "run all tests with coverage" action.')));
19
- const testingCancelIcon = registerIcon('testing-cancel-icon', Codicon.debugStop, ( localize(12225, 'Icon to cancel ongoing test runs.')));
20
- const testingFilterIcon = registerIcon('testing-filter', Codicon.filter, ( localize(12226, 'Icon for the \'Filter\' action in the testing view.')));
21
- const testingHiddenIcon = registerIcon('testing-hidden', Codicon.eyeClosed, ( localize(12227, 'Icon shown beside hidden tests, when they\'ve been shown.')));
22
- registerIcon('testing-show-as-list-icon', Codicon.listTree, ( localize(12228, 'Icon shown when the test explorer is disabled as a tree.')));
23
- registerIcon('testing-show-as-list-icon', Codicon.listFlat, ( localize(12229, 'Icon shown when the test explorer is disabled as a list.')));
24
- const testingUpdateProfiles = registerIcon('testing-update-profiles', Codicon.gear, ( localize(12230, 'Icon shown to update test profiles.')));
25
- const testingRefreshTests = registerIcon('testing-refresh-tests', Codicon.refresh, ( localize(12231, 'Icon on the button to refresh tests.')));
26
- const testingTurnContinuousRunOn = registerIcon('testing-turn-continuous-run-on', Codicon.eye, ( localize(12232, 'Icon to turn continuous test runs on.')));
27
- const testingTurnContinuousRunOff = registerIcon('testing-turn-continuous-run-off', Codicon.eyeClosed, ( localize(12233, 'Icon to turn continuous test runs off.')));
28
- const testingContinuousIsOn = registerIcon('testing-continuous-is-on', Codicon.eye, ( localize(12234, 'Icon when continuous run is on for a test ite,.')));
29
- const testingCancelRefreshTests = registerIcon('testing-cancel-refresh-tests', Codicon.stop, ( localize(12235, 'Icon on the button to cancel refreshing tests.')));
30
- const testingCoverageReport = registerIcon('testing-coverage', Codicon.coverage, ( localize(12236, 'Icon representing test coverage')));
31
- const testingWasCovered = registerIcon('testing-was-covered', Codicon.check, ( localize(12237, 'Icon representing that an element was covered')));
32
- const testingCoverageMissingBranch = registerIcon('testing-missing-branch', Codicon.question, ( localize(12238, 'Icon representing a uncovered block without a range')));
10
+ const testingViewIcon = registerIcon('test-view-icon', Codicon.beaker, ( localize(12219, 'View icon of the test view.')));
11
+ const testingResultsIcon = registerIcon('test-results-icon', Codicon.checklist, ( localize(12220, 'Icons for test results.')));
12
+ const testingRunIcon = registerIcon('testing-run-icon', Codicon.run, ( localize(12221, 'Icon of the "run test" action.')));
13
+ const testingRerunIcon = registerIcon('testing-rerun-icon', Codicon.debugRerun, ( localize(12222, 'Icon of the "rerun tests" action.')));
14
+ const testingRunAllIcon = registerIcon('testing-run-all-icon', Codicon.runAll, ( localize(12223, 'Icon of the "run all tests" action.')));
15
+ const testingDebugAllIcon = registerIcon('testing-debug-all-icon', Codicon.debugAltSmall, ( localize(12224, 'Icon of the "debug all tests" action.')));
16
+ const testingDebugIcon = registerIcon('testing-debug-icon', Codicon.debugAltSmall, ( localize(12225, 'Icon of the "debug test" action.')));
17
+ const testingCoverageIcon = registerIcon('testing-coverage-icon', Codicon.runCoverage, ( localize(12226, 'Icon of the "run test with coverage" action.')));
18
+ const testingCoverageAllIcon = registerIcon('testing-coverage-all-icon', Codicon.runAllCoverage, ( localize(12227, 'Icon of the "run all tests with coverage" action.')));
19
+ const testingCancelIcon = registerIcon('testing-cancel-icon', Codicon.debugStop, ( localize(12228, 'Icon to cancel ongoing test runs.')));
20
+ const testingFilterIcon = registerIcon('testing-filter', Codicon.filter, ( localize(12229, 'Icon for the \'Filter\' action in the testing view.')));
21
+ const testingHiddenIcon = registerIcon('testing-hidden', Codicon.eyeClosed, ( localize(12230, 'Icon shown beside hidden tests, when they\'ve been shown.')));
22
+ registerIcon('testing-show-as-list-icon', Codicon.listTree, ( localize(12231, 'Icon shown when the test explorer is disabled as a tree.')));
23
+ registerIcon('testing-show-as-list-icon', Codicon.listFlat, ( localize(12232, 'Icon shown when the test explorer is disabled as a list.')));
24
+ const testingUpdateProfiles = registerIcon('testing-update-profiles', Codicon.gear, ( localize(12233, 'Icon shown to update test profiles.')));
25
+ const testingRefreshTests = registerIcon('testing-refresh-tests', Codicon.refresh, ( localize(12234, 'Icon on the button to refresh tests.')));
26
+ const testingTurnContinuousRunOn = registerIcon('testing-turn-continuous-run-on', Codicon.eye, ( localize(12235, 'Icon to turn continuous test runs on.')));
27
+ const testingTurnContinuousRunOff = registerIcon('testing-turn-continuous-run-off', Codicon.eyeClosed, ( localize(12236, 'Icon to turn continuous test runs off.')));
28
+ const testingContinuousIsOn = registerIcon('testing-continuous-is-on', Codicon.eye, ( localize(12237, 'Icon when continuous run is on for a test ite,.')));
29
+ const testingCancelRefreshTests = registerIcon('testing-cancel-refresh-tests', Codicon.stop, ( localize(12238, 'Icon on the button to cancel refreshing tests.')));
30
+ const testingCoverageReport = registerIcon('testing-coverage', Codicon.coverage, ( localize(12239, 'Icon representing test coverage')));
31
+ const testingWasCovered = registerIcon('testing-was-covered', Codicon.check, ( localize(12240, 'Icon representing that an element was covered')));
32
+ const testingCoverageMissingBranch = registerIcon('testing-missing-branch', Codicon.question, ( localize(12241, 'Icon representing a uncovered block without a range')));
33
33
  const testingStatesToIcons = ( new Map([
34
- [TestResultState.Errored, registerIcon('testing-error-icon', Codicon.issues, ( localize(12239, 'Icon shown for tests that have an error.')))],
35
- [TestResultState.Failed, registerIcon('testing-failed-icon', Codicon.error, ( localize(12240, 'Icon shown for tests that failed.')))],
36
- [TestResultState.Passed, registerIcon('testing-passed-icon', Codicon.pass, ( localize(12241, 'Icon shown for tests that passed.')))],
37
- [TestResultState.Queued, registerIcon('testing-queued-icon', Codicon.history, ( localize(12242, 'Icon shown for tests that are queued.')))],
34
+ [TestResultState.Errored, registerIcon('testing-error-icon', Codicon.issues, ( localize(12242, 'Icon shown for tests that have an error.')))],
35
+ [TestResultState.Failed, registerIcon('testing-failed-icon', Codicon.error, ( localize(12243, 'Icon shown for tests that failed.')))],
36
+ [TestResultState.Passed, registerIcon('testing-passed-icon', Codicon.pass, ( localize(12244, 'Icon shown for tests that passed.')))],
37
+ [TestResultState.Queued, registerIcon('testing-queued-icon', Codicon.history, ( localize(12245, 'Icon shown for tests that are queued.')))],
38
38
  [TestResultState.Running, spinningLoading],
39
- [TestResultState.Skipped, registerIcon('testing-skipped-icon', Codicon.debugStepOver, ( localize(12243, 'Icon shown for tests that are skipped.')))],
40
- [TestResultState.Unset, registerIcon('testing-unset-icon', Codicon.circleOutline, ( localize(12244, 'Icon shown for tests that are in an unset state.')))],
39
+ [TestResultState.Skipped, registerIcon('testing-skipped-icon', Codicon.debugStepOver, ( localize(12246, 'Icon shown for tests that are skipped.')))],
40
+ [TestResultState.Unset, registerIcon('testing-unset-icon', Codicon.circleOutline, ( localize(12247, 'Icon shown for tests that are in an unset state.')))],
41
41
  ]));
42
42
  registerThemingParticipant((theme, collector) => {
43
43
  for (const [state, icon] of testingStatesToIcons.entries()) {
@@ -127,21 +127,21 @@ const renderBar = (bar, pct, isZero, thresholds) => {
127
127
  };
128
128
  const nf = safeIntl.NumberFormat();
129
129
  const stmtCoverageText = (coverage) => ( localize(
130
- 12245,
130
+ 12248,
131
131
  '{0}/{1} statements covered ({2})',
132
132
  nf.value.format(coverage.statement.covered),
133
133
  nf.value.format(coverage.statement.total),
134
134
  displayPercent(percent(coverage.statement))
135
135
  ));
136
136
  const fnCoverageText = (coverage) => coverage.declaration && ( localize(
137
- 12246,
137
+ 12249,
138
138
  '{0}/{1} functions covered ({2})',
139
139
  nf.value.format(coverage.declaration.covered),
140
140
  nf.value.format(coverage.declaration.total),
141
141
  displayPercent(percent(coverage.declaration))
142
142
  ));
143
143
  const branchCoverageText = (coverage) => coverage.branch && ( localize(
144
- 12247,
144
+ 12250,
145
145
  '{0}/{1} branches covered ({2})',
146
146
  nf.value.format(coverage.branch.covered),
147
147
  nf.value.format(coverage.branch.total),
@@ -161,7 +161,7 @@ DeclarationCoverageNode.__decorator = ( __decorate([
161
161
  ], DeclarationCoverageNode.prototype, "attributableCoverage", null));
162
162
  class RevealUncoveredDeclarations {
163
163
  get label() {
164
- return localize(12248, "{0} declarations without coverage...", this.n);
164
+ return localize(12251, "{0} declarations without coverage...", this.n);
165
165
  }
166
166
  constructor(n) {
167
167
  this.n = n;
@@ -170,7 +170,7 @@ class RevealUncoveredDeclarations {
170
170
  }
171
171
  class CurrentlyFilteredTo {
172
172
  get label() {
173
- return localize(12249, "Showing coverage for \"{0}\"", this.testItem.label);
173
+ return localize(12252, "Showing coverage for \"{0}\"", this.testItem.label);
174
174
  }
175
175
  constructor(testItem) {
176
176
  this.testItem = testItem;
@@ -180,7 +180,7 @@ class CurrentlyFilteredTo {
180
180
  class LoadingDetails {
181
181
  constructor() {
182
182
  this.id = String(fnNodeId++);
183
- this.label = ( localize(12250, "Loading Coverage Details..."));
183
+ this.label = ( localize(12253, "Loading Coverage Details..."));
184
184
  }
185
185
  }
186
186
  const isFileCoverage = (c) => typeof c === 'object' && 'value' in c;
@@ -213,14 +213,14 @@ let TestCoverageTree = class TestCoverageTree extends Disposable {
213
213
  getAriaLabel(element) {
214
214
  if (isFileCoverage(element)) {
215
215
  const name = basenameOrAuthority(element.value.uri);
216
- return localize(12251, "{0} coverage: {0}%", name, (element.value.tpc * 100).toFixed(2));
216
+ return localize(12254, "{0} coverage: {0}%", name, (element.value.tpc * 100).toFixed(2));
217
217
  }
218
218
  else {
219
219
  return element.label;
220
220
  }
221
221
  },
222
222
  getWidgetAriaLabel() {
223
- return localize(12252, "Test Coverage Explorer");
223
+ return localize(12255, "Test Coverage Explorer");
224
224
  }
225
225
  },
226
226
  identityProvider: ( new TestCoverageIdentityProvider()),
@@ -574,7 +574,7 @@ registerAction2(class TestCoverageChangePerTestFilterAction extends Action2 {
574
574
  super({
575
575
  id: TestCommandId.CoverageFilterToTest,
576
576
  category: Categories.Test,
577
- title: ( localize2(12253, 'Filter Coverage by Test')),
577
+ title: ( localize2(12256, 'Filter Coverage by Test')),
578
578
  icon: Codicon.filter,
579
579
  toggled: {
580
580
  icon: Codicon.filterFilled,
@@ -626,7 +626,7 @@ registerAction2(class TestCoverageChangeSortingAction extends ViewAction {
626
626
  super({
627
627
  id: TestCommandId.CoverageViewChangeSorting,
628
628
  viewId: Testing.CoverageViewId,
629
- title: ( localize2(12254, 'Change Sort Order')),
629
+ title: ( localize2(12257, 'Change Sort Order')),
630
630
  icon: Codicon.sortPrecedence,
631
631
  menu: {
632
632
  id: MenuId.ViewTitle,
@@ -640,14 +640,14 @@ registerAction2(class TestCoverageChangeSortingAction extends ViewAction {
640
640
  const disposables = ( new DisposableStore());
641
641
  const quickInput = disposables.add(accessor.get(IQuickInputService).createQuickPick());
642
642
  const items = [
643
- { label: ( localize(12255, 'Sort by Location')), value: CoverageSortOrder.Location, description: ( localize(
644
- 12256,
643
+ { label: ( localize(12258, 'Sort by Location')), value: CoverageSortOrder.Location, description: ( localize(
644
+ 12259,
645
645
  'Files are sorted alphabetically, declarations are sorted by position'
646
646
  )) },
647
- { label: ( localize(12257, 'Sort by Coverage')), value: CoverageSortOrder.Coverage, description: ( localize(12258, 'Files and declarations are sorted by total coverage')) },
648
- { label: ( localize(12259, 'Sort by Name')), value: CoverageSortOrder.Name, description: ( localize(12260, 'Files and declarations are sorted alphabetically')) },
647
+ { label: ( localize(12260, 'Sort by Coverage')), value: CoverageSortOrder.Coverage, description: ( localize(12261, 'Files and declarations are sorted by total coverage')) },
648
+ { label: ( localize(12262, 'Sort by Name')), value: CoverageSortOrder.Name, description: ( localize(12263, 'Files and declarations are sorted alphabetically')) },
649
649
  ];
650
- quickInput.placeholder = ( localize(12261, 'Sort the Test Coverage view...'));
650
+ quickInput.placeholder = ( localize(12264, 'Sort the Test Coverage view...'));
651
651
  quickInput.items = items;
652
652
  quickInput.show();
653
653
  disposables.add(quickInput.onDidHide(() => disposables.dispose()));
@@ -665,7 +665,7 @@ registerAction2(class TestCoverageCollapseAllAction extends ViewAction {
665
665
  super({
666
666
  id: TestCommandId.CoverageViewCollapseAll,
667
667
  viewId: Testing.CoverageViewId,
668
- title: ( localize2(12262, 'Collapse All Coverage')),
668
+ title: ( localize2(12265, 'Collapse All Coverage')),
669
669
  icon: Codicon.collapseAll,
670
670
  menu: {
671
671
  id: MenuId.ViewTitle,