@codingame/monaco-vscode-testing-service-override 14.0.3 → 14.0.5

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 (24) hide show
  1. package/package.json +14 -14
  2. package/vscode/src/vs/workbench/contrib/debug/browser/callStackWidget.js +5 -5
  3. package/vscode/src/vs/workbench/contrib/testing/browser/codeCoverageDecorations.js +17 -17
  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 +12 -12
  8. package/vscode/src/vs/workbench/contrib/testing/browser/testExplorerActions.js +69 -69
  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 +19 -19
  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 +18 -18
  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/testingProgressUiService.js +5 -5
  19. package/vscode/src/vs/workbench/contrib/testing/browser/testingViewPaneContainer.js +1 -1
  20. package/vscode/src/vs/workbench/contrib/testing/browser/theme.js +32 -32
  21. package/vscode/src/vs/workbench/contrib/testing/common/configuration.js +33 -33
  22. package/vscode/src/vs/workbench/contrib/testing/common/testServiceImpl.js +4 -4
  23. package/vscode/src/vs/workbench/contrib/testing/common/testingContentProvider.js +1 -1
  24. package/vscode/src/vs/workbench/contrib/testing/common/testingContextKeys.js +29 -29
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-testing-service-override",
3
- "version": "14.0.3",
3
+ "version": "14.0.5",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - testing service-override",
6
6
  "keywords": [],
@@ -15,19 +15,19 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-0b087f42-a5a3-5eb9-9bfd-1eebc1bba163-common": "14.0.3",
19
- "@codingame/monaco-vscode-10418ae3-ee63-5700-a757-89cbe6564ee4-common": "14.0.3",
20
- "@codingame/monaco-vscode-4a28f637-7c3c-5e48-a77c-1b7538b38850-common": "14.0.3",
21
- "@codingame/monaco-vscode-65619f8f-0eab-5d8b-855a-43b6353fe527-common": "14.0.3",
22
- "@codingame/monaco-vscode-6845754f-e617-5ed9-8aaa-6ca3653a9532-common": "14.0.3",
23
- "@codingame/monaco-vscode-91789cdf-e3cb-5a04-aaeb-6f7df7d3d231-common": "14.0.3",
24
- "@codingame/monaco-vscode-a17f5129-e16c-5dac-857e-dcd91bfeffa2-common": "14.0.3",
25
- "@codingame/monaco-vscode-a7c9ae3c-16d2-5d17-86b2-981be7094566-common": "14.0.3",
26
- "@codingame/monaco-vscode-api": "14.0.3",
27
- "@codingame/monaco-vscode-b4efa70b-52b9-5670-ab5c-f10b10b6834e-common": "14.0.3",
28
- "@codingame/monaco-vscode-eea37658-2307-56a5-8ed0-b2752c7b7a50-common": "14.0.3",
29
- "@codingame/monaco-vscode-f6ab89b2-83b0-5a43-8772-cb0eafa650b5-common": "14.0.3",
30
- "@codingame/monaco-vscode-terminal-service-override": "14.0.3"
18
+ "@codingame/monaco-vscode-0b087f42-a5a3-5eb9-9bfd-1eebc1bba163-common": "14.0.5",
19
+ "@codingame/monaco-vscode-10418ae3-ee63-5700-a757-89cbe6564ee4-common": "14.0.5",
20
+ "@codingame/monaco-vscode-4a28f637-7c3c-5e48-a77c-1b7538b38850-common": "14.0.5",
21
+ "@codingame/monaco-vscode-65619f8f-0eab-5d8b-855a-43b6353fe527-common": "14.0.5",
22
+ "@codingame/monaco-vscode-6845754f-e617-5ed9-8aaa-6ca3653a9532-common": "14.0.5",
23
+ "@codingame/monaco-vscode-91789cdf-e3cb-5a04-aaeb-6f7df7d3d231-common": "14.0.5",
24
+ "@codingame/monaco-vscode-a17f5129-e16c-5dac-857e-dcd91bfeffa2-common": "14.0.5",
25
+ "@codingame/monaco-vscode-a7c9ae3c-16d2-5d17-86b2-981be7094566-common": "14.0.5",
26
+ "@codingame/monaco-vscode-api": "14.0.5",
27
+ "@codingame/monaco-vscode-b4efa70b-52b9-5670-ab5c-f10b10b6834e-common": "14.0.5",
28
+ "@codingame/monaco-vscode-eea37658-2307-56a5-8ed0-b2752c7b7a50-common": "14.0.5",
29
+ "@codingame/monaco-vscode-f6ab89b2-83b0-5a43-8772-cb0eafa650b5-common": "14.0.5",
30
+ "@codingame/monaco-vscode-terminal-service-override": "14.0.5"
31
31
  },
32
32
  "main": "index.js",
33
33
  "module": "index.js",
@@ -178,7 +178,7 @@ let StackAccessibilityProvider = class StackAccessibilityProvider {
178
178
  if (e instanceof CallStackFrame) {
179
179
  if (e.source && e.line) {
180
180
  return localize(
181
- 5227,
181
+ 5228,
182
182
  '{0}, line {1} in {2}',
183
183
  e.name,
184
184
  e.line,
@@ -190,7 +190,7 @@ let StackAccessibilityProvider = class StackAccessibilityProvider {
190
190
  assertNever();
191
191
  }
192
192
  getWidgetAriaLabel() {
193
- return localize(5228, 'Stack Trace');
193
+ return localize(5229, 'Stack Trace');
194
194
  }
195
195
  };
196
196
  StackAccessibilityProvider = ( __decorate([
@@ -410,7 +410,7 @@ let MissingCodeRenderer = class MissingCodeRenderer {
410
410
  const cast = element;
411
411
  templateData.label.element.setResource({
412
412
  name: cast.name,
413
- description: ( localize(5229, 'Line {0} column {1}', cast.line, cast.column)),
413
+ description: ( localize(5230, 'Line {0} column {1}', cast.line, cast.column)),
414
414
  range: { startLineNumber: cast.line, startColumn: cast.column, endColumn: cast.column, endLineNumber: cast.line },
415
415
  }, {
416
416
  icon: Codicon.fileBinary,
@@ -471,7 +471,7 @@ let SkippedRenderer = class SkippedRenderer {
471
471
  }
472
472
  button.enabled = false;
473
473
  this.loadFrames(data.current).catch(e => {
474
- this.notificationService.error(( localize(5230, 'Failed to load stack frames: {0}', e.message)));
474
+ this.notificationService.error(( localize(5231, 'Failed to load stack frames: {0}', e.message)));
475
475
  });
476
476
  }));
477
477
  return data;
@@ -548,7 +548,7 @@ registerAction2(class extends Action2 {
548
548
  constructor() {
549
549
  super({
550
550
  id: 'callStackWidget.goToFile',
551
- title: ( localize2(5231, 'Open File')),
551
+ title: ( localize2(5232, 'Open File')),
552
552
  icon: Codicon.goToFile,
553
553
  menu: {
554
554
  id: MenuId.DebugCallStackToolbar,
@@ -56,7 +56,7 @@ import { ManagedTestCoverageBars } from './testCoverageBars.js';
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(10198, 'Toggle Inline'));
59
+ const TOGGLE_INLINE_COMMAND_TEXT = ( localize(10199, 'Toggle Inline'));
60
60
  const TOGGLE_INLINE_COMMAND_ID = 'testing.toggleInlineCoverage';
61
61
  const BRANCH_MISS_INDICATOR_CHARS = 4;
62
62
  let CodeCoverageDecorations = class CodeCoverageDecorations extends Disposable {
@@ -380,7 +380,7 @@ class CoverageDetailsModel {
380
380
  if (detail.branches?.length) {
381
381
  const covered = detail.branches.filter(b => !!b.count).length;
382
382
  return ( new MarkdownString()).appendMarkdown(( localize(
383
- 10199,
383
+ 10200,
384
384
  '{0} of {1} of branches in {2} were covered.',
385
385
  covered,
386
386
  detail.branches.length,
@@ -396,13 +396,13 @@ class CoverageDetailsModel {
396
396
  const { count, label } = detail.detail.branches[detail.branch];
397
397
  const label2 = label ? wrapInBackticks(label) : `#${detail.branch + 1}`;
398
398
  if (!count) {
399
- return ( new MarkdownString()).appendMarkdown(( localize(10200, 'Branch {0} in {1} was not covered.', label2, text)));
399
+ return ( new MarkdownString()).appendMarkdown(( localize(10201, 'Branch {0} in {1} was not covered.', label2, text)));
400
400
  }
401
401
  else if (count === true) {
402
- return ( new MarkdownString()).appendMarkdown(( localize(10201, 'Branch {0} in {1} was executed.', label2, text)));
402
+ return ( new MarkdownString()).appendMarkdown(( localize(10202, 'Branch {0} in {1} was executed.', label2, text)));
403
403
  }
404
404
  else {
405
- return ( new MarkdownString()).appendMarkdown(( localize(10202, 'Branch {0} in {1} was executed {2} time(s).', label2, text, count)));
405
+ return ( new MarkdownString()).appendMarkdown(( localize(10203, 'Branch {0} in {1} was executed {2} time(s).', label2, text, count)));
406
406
  }
407
407
  }
408
408
  assertNever();
@@ -410,10 +410,10 @@ class CoverageDetailsModel {
410
410
  }
411
411
  function namedDetailLabel(name, detail) {
412
412
  return ( new MarkdownString()).appendMarkdown(!detail.count
413
- ? ( localize(10203, '`{0}` was not executed.', name))
413
+ ? ( localize(10204, '`{0}` was not executed.', name))
414
414
  : typeof detail.count === 'number'
415
- ? ( localize(10204, '`{0}` was executed {1} time(s).', name, detail.count))
416
- : ( localize(10205, '`{0}` was executed.', name)));
415
+ ? ( localize(10205, '`{0}` was executed {1} time(s).', name, detail.count))
416
+ : ( localize(10206, '`{0}` was executed.', name)));
417
417
  }
418
418
  function tidyLocation(location) {
419
419
  if (location instanceof Position) {
@@ -510,8 +510,8 @@ let CoverageToolbarWidget = class CoverageToolbarWidget extends Disposable {
510
510
  return;
511
511
  }
512
512
  const toggleAction = ( new ActionWithIcon('toggleInline', this.coverage.showInline.get()
513
- ? ( localize(10206, 'Hide Inline Coverage'))
514
- : ( localize(10207, 'Show Inline Coverage')), testingCoverageReport, undefined, () => this.coverage.showInline.set(!this.coverage.showInline.get(), undefined)));
513
+ ? ( localize(10207, 'Hide Inline Coverage'))
514
+ : ( localize(10208, 'Show Inline Coverage')), testingCoverageReport, undefined, () => this.coverage.showInline.set(!this.coverage.showInline.get(), undefined)));
515
515
  const kb = this.keybindingService.lookupKeybinding(TOGGLE_INLINE_COMMAND_ID);
516
516
  if (kb) {
517
517
  toggleAction.tooltip = `${TOGGLE_INLINE_COMMAND_TEXT} (${kb.getLabel()})`;
@@ -530,12 +530,12 @@ let CoverageToolbarWidget = class CoverageToolbarWidget extends Disposable {
530
530
  }
531
531
  else if (current.coverage.perTestData?.size) {
532
532
  this.actionBar.push(( new ActionWithIcon('perTestFilter', ( localize(
533
- 10208,
533
+ 10209,
534
534
  "{0} test(s) ran code in this file",
535
535
  current.coverage.perTestData.size
536
536
  )), testingFilterIcon, undefined, () => this.commandService.executeCommand(TestCommandId.CoverageFilterToTestInEditor, this.current, this.editor))));
537
537
  }
538
- this.actionBar.push(( new ActionWithIcon('rerun', ( localize(10209, 'Rerun')), testingRerunIcon, !this.isRunning, () => this.rerunTest())));
538
+ this.actionBar.push(( new ActionWithIcon('rerun', ( localize(10210, 'Rerun')), testingRerunIcon, !this.isRunning, () => this.rerunTest())));
539
539
  }
540
540
  show() {
541
541
  if (this.registered) {
@@ -595,7 +595,7 @@ registerAction2(class ToggleInlineCoverage extends Action2 {
595
595
  constructor() {
596
596
  super({
597
597
  id: TOGGLE_INLINE_COMMAND_ID,
598
- title: ( localize2(10210, "Toggle Inline Coverage")),
598
+ title: ( localize2(10211, "Toggle Inline Coverage")),
599
599
  category: Categories.Test,
600
600
  keybinding: {
601
601
  weight: KeybindingWeight.WorkbenchContrib,
@@ -603,7 +603,7 @@ registerAction2(class ToggleInlineCoverage extends Action2 {
603
603
  },
604
604
  toggled: {
605
605
  condition: TestingContextKeys.inlineCoverageEnabled,
606
- title: ( localize(10211, "Hide Inline Coverage")),
606
+ title: ( localize(10212, "Hide Inline Coverage")),
607
607
  },
608
608
  icon: testingCoverageReport,
609
609
  menu: [
@@ -621,9 +621,9 @@ registerAction2(class ToggleCoverageToolbar extends Action2 {
621
621
  constructor() {
622
622
  super({
623
623
  id: TestCommandId.CoverageToggleToolbar,
624
- title: ( localize2(10212, "Test Coverage Toolbar")),
624
+ title: ( localize2(10213, "Test Coverage Toolbar")),
625
625
  metadata: {
626
- description: ( localize2(10213, 'Toggle the sticky coverage bar in the editor.'))
626
+ description: ( localize2(10214, 'Toggle the sticky coverage bar in the editor.'))
627
627
  },
628
628
  category: Categories.Test,
629
629
  toggled: {
@@ -646,7 +646,7 @@ registerAction2(class FilterCoverageToTestInEditor extends Action2 {
646
646
  constructor() {
647
647
  super({
648
648
  id: TestCommandId.CoverageFilterToTestInEditor,
649
- title: ( localize2(10214, "Filter Coverage to Test")),
649
+ title: ( localize2(10215, "Filter Coverage to Test")),
650
650
  category: Categories.Test,
651
651
  icon: Codicon.filter,
652
652
  toggled: {
@@ -75,11 +75,11 @@ function getLabelForItem(result, testId, commonPrefixLen) {
75
75
  }
76
76
  var labels;
77
77
  (function (labels) {
78
- labels.showingFilterFor = (label) => ( localize(10215, "Showing \"{0}\"", label));
79
- labels.clickToChangeFiltering = ( localize(10216, 'Click to view coverage for a single test'));
80
- labels.percentCoverage = (percent, precision) => ( localize(10217, '{0} Coverage', displayPercent(percent, precision)));
81
- labels.allTests = ( localize(10218, 'All tests'));
82
- labels.pickShowCoverage = ( localize(10219, 'Pick a test to show coverage for'));
78
+ labels.showingFilterFor = (label) => ( localize(10216, "Showing \"{0}\"", label));
79
+ labels.clickToChangeFiltering = ( localize(10217, 'Click to view coverage for a single test'));
80
+ labels.percentCoverage = (percent, precision) => ( localize(10218, '{0} Coverage', displayPercent(percent, precision)));
81
+ labels.allTests = ( localize(10219, 'All tests'));
82
+ labels.pickShowCoverage = ( localize(10220, '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(10220, 'View icon of the test view.')));
11
- const testingResultsIcon = registerIcon('test-results-icon', Codicon.checklist, ( localize(10221, 'Icons for test results.')));
12
- const testingRunIcon = registerIcon('testing-run-icon', Codicon.run, ( localize(10222, 'Icon of the "run test" action.')));
13
- const testingRerunIcon = registerIcon('testing-rerun-icon', Codicon.debugRerun, ( localize(10223, 'Icon of the "rerun tests" action.')));
14
- const testingRunAllIcon = registerIcon('testing-run-all-icon', Codicon.runAll, ( localize(10224, 'Icon of the "run all tests" action.')));
15
- const testingDebugAllIcon = registerIcon('testing-debug-all-icon', Codicon.debugAltSmall, ( localize(10225, 'Icon of the "debug all tests" action.')));
16
- const testingDebugIcon = registerIcon('testing-debug-icon', Codicon.debugAltSmall, ( localize(10226, 'Icon of the "debug test" action.')));
17
- const testingCoverageIcon = registerIcon('testing-coverage-icon', Codicon.runCoverage, ( localize(10227, 'Icon of the "run test with coverage" action.')));
18
- const testingCoverageAllIcon = registerIcon('testing-coverage-all-icon', Codicon.runAllCoverage, ( localize(10228, 'Icon of the "run all tests with coverage" action.')));
19
- const testingCancelIcon = registerIcon('testing-cancel-icon', Codicon.debugStop, ( localize(10229, 'Icon to cancel ongoing test runs.')));
20
- const testingFilterIcon = registerIcon('testing-filter', Codicon.filter, ( localize(10230, 'Icon for the \'Filter\' action in the testing view.')));
21
- const testingHiddenIcon = registerIcon('testing-hidden', Codicon.eyeClosed, ( localize(10231, 'Icon shown beside hidden tests, when they\'ve been shown.')));
22
- registerIcon('testing-show-as-list-icon', Codicon.listTree, ( localize(10232, 'Icon shown when the test explorer is disabled as a tree.')));
23
- registerIcon('testing-show-as-list-icon', Codicon.listFlat, ( localize(10233, 'Icon shown when the test explorer is disabled as a list.')));
24
- const testingUpdateProfiles = registerIcon('testing-update-profiles', Codicon.gear, ( localize(10234, 'Icon shown to update test profiles.')));
25
- const testingRefreshTests = registerIcon('testing-refresh-tests', Codicon.refresh, ( localize(10235, 'Icon on the button to refresh tests.')));
26
- const testingTurnContinuousRunOn = registerIcon('testing-turn-continuous-run-on', Codicon.eye, ( localize(10236, 'Icon to turn continuous test runs on.')));
27
- const testingTurnContinuousRunOff = registerIcon('testing-turn-continuous-run-off', Codicon.eyeClosed, ( localize(10237, 'Icon to turn continuous test runs off.')));
28
- const testingContinuousIsOn = registerIcon('testing-continuous-is-on', Codicon.eye, ( localize(10238, 'Icon when continuous run is on for a test ite,.')));
29
- const testingCancelRefreshTests = registerIcon('testing-cancel-refresh-tests', Codicon.stop, ( localize(10239, 'Icon on the button to cancel refreshing tests.')));
30
- const testingCoverageReport = registerIcon('testing-coverage', Codicon.coverage, ( localize(10240, 'Icon representing test coverage')));
31
- const testingWasCovered = registerIcon('testing-was-covered', Codicon.check, ( localize(10241, 'Icon representing that an element was covered')));
32
- const testingCoverageMissingBranch = registerIcon('testing-missing-branch', Codicon.question, ( localize(10242, 'Icon representing a uncovered block without a range')));
10
+ const testingViewIcon = registerIcon('test-view-icon', Codicon.beaker, ( localize(10221, 'View icon of the test view.')));
11
+ const testingResultsIcon = registerIcon('test-results-icon', Codicon.checklist, ( localize(10222, 'Icons for test results.')));
12
+ const testingRunIcon = registerIcon('testing-run-icon', Codicon.run, ( localize(10223, 'Icon of the "run test" action.')));
13
+ const testingRerunIcon = registerIcon('testing-rerun-icon', Codicon.debugRerun, ( localize(10224, 'Icon of the "rerun tests" action.')));
14
+ const testingRunAllIcon = registerIcon('testing-run-all-icon', Codicon.runAll, ( localize(10225, 'Icon of the "run all tests" action.')));
15
+ const testingDebugAllIcon = registerIcon('testing-debug-all-icon', Codicon.debugAltSmall, ( localize(10226, 'Icon of the "debug all tests" action.')));
16
+ const testingDebugIcon = registerIcon('testing-debug-icon', Codicon.debugAltSmall, ( localize(10227, 'Icon of the "debug test" action.')));
17
+ const testingCoverageIcon = registerIcon('testing-coverage-icon', Codicon.runCoverage, ( localize(10228, 'Icon of the "run test with coverage" action.')));
18
+ const testingCoverageAllIcon = registerIcon('testing-coverage-all-icon', Codicon.runAllCoverage, ( localize(10229, 'Icon of the "run all tests with coverage" action.')));
19
+ const testingCancelIcon = registerIcon('testing-cancel-icon', Codicon.debugStop, ( localize(10230, 'Icon to cancel ongoing test runs.')));
20
+ const testingFilterIcon = registerIcon('testing-filter', Codicon.filter, ( localize(10231, 'Icon for the \'Filter\' action in the testing view.')));
21
+ const testingHiddenIcon = registerIcon('testing-hidden', Codicon.eyeClosed, ( localize(10232, 'Icon shown beside hidden tests, when they\'ve been shown.')));
22
+ registerIcon('testing-show-as-list-icon', Codicon.listTree, ( localize(10233, 'Icon shown when the test explorer is disabled as a tree.')));
23
+ registerIcon('testing-show-as-list-icon', Codicon.listFlat, ( localize(10234, 'Icon shown when the test explorer is disabled as a list.')));
24
+ const testingUpdateProfiles = registerIcon('testing-update-profiles', Codicon.gear, ( localize(10235, 'Icon shown to update test profiles.')));
25
+ const testingRefreshTests = registerIcon('testing-refresh-tests', Codicon.refresh, ( localize(10236, 'Icon on the button to refresh tests.')));
26
+ const testingTurnContinuousRunOn = registerIcon('testing-turn-continuous-run-on', Codicon.eye, ( localize(10237, 'Icon to turn continuous test runs on.')));
27
+ const testingTurnContinuousRunOff = registerIcon('testing-turn-continuous-run-off', Codicon.eyeClosed, ( localize(10238, 'Icon to turn continuous test runs off.')));
28
+ const testingContinuousIsOn = registerIcon('testing-continuous-is-on', Codicon.eye, ( localize(10239, 'Icon when continuous run is on for a test ite,.')));
29
+ const testingCancelRefreshTests = registerIcon('testing-cancel-refresh-tests', Codicon.stop, ( localize(10240, 'Icon on the button to cancel refreshing tests.')));
30
+ const testingCoverageReport = registerIcon('testing-coverage', Codicon.coverage, ( localize(10241, 'Icon representing test coverage')));
31
+ const testingWasCovered = registerIcon('testing-was-covered', Codicon.check, ( localize(10242, 'Icon representing that an element was covered')));
32
+ const testingCoverageMissingBranch = registerIcon('testing-missing-branch', Codicon.question, ( localize(10243, 'Icon representing a uncovered block without a range')));
33
33
  const testingStatesToIcons = ( new Map([
34
- [TestResultState.Errored, registerIcon('testing-error-icon', Codicon.issues, ( localize(10243, 'Icon shown for tests that have an error.')))],
35
- [TestResultState.Failed, registerIcon('testing-failed-icon', Codicon.error, ( localize(10244, 'Icon shown for tests that failed.')))],
36
- [TestResultState.Passed, registerIcon('testing-passed-icon', Codicon.pass, ( localize(10245, 'Icon shown for tests that passed.')))],
37
- [TestResultState.Queued, registerIcon('testing-queued-icon', Codicon.history, ( localize(10246, 'Icon shown for tests that are queued.')))],
34
+ [TestResultState.Errored, registerIcon('testing-error-icon', Codicon.issues, ( localize(10244, 'Icon shown for tests that have an error.')))],
35
+ [TestResultState.Failed, registerIcon('testing-failed-icon', Codicon.error, ( localize(10245, 'Icon shown for tests that failed.')))],
36
+ [TestResultState.Passed, registerIcon('testing-passed-icon', Codicon.pass, ( localize(10246, 'Icon shown for tests that passed.')))],
37
+ [TestResultState.Queued, registerIcon('testing-queued-icon', Codicon.history, ( localize(10247, 'Icon shown for tests that are queued.')))],
38
38
  [TestResultState.Running, spinningLoading],
39
- [TestResultState.Skipped, registerIcon('testing-skipped-icon', Codicon.debugStepOver, ( localize(10247, 'Icon shown for tests that are skipped.')))],
40
- [TestResultState.Unset, registerIcon('testing-unset-icon', Codicon.circleOutline, ( localize(10248, 'Icon shown for tests that are in an unset state.')))],
39
+ [TestResultState.Skipped, registerIcon('testing-skipped-icon', Codicon.debugStepOver, ( localize(10248, 'Icon shown for tests that are skipped.')))],
40
+ [TestResultState.Unset, registerIcon('testing-unset-icon', Codicon.circleOutline, ( localize(10249, '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()) {
@@ -130,21 +130,21 @@ const renderBar = (bar, pct, isZero, thresholds) => {
130
130
  };
131
131
  const nf = new Intl.NumberFormat();
132
132
  const stmtCoverageText = (coverage) => ( localize(
133
- 10249,
133
+ 10250,
134
134
  '{0}/{1} statements covered ({2})',
135
135
  nf.format(coverage.statement.covered),
136
136
  nf.format(coverage.statement.total),
137
137
  displayPercent(percent(coverage.statement))
138
138
  ));
139
139
  const fnCoverageText = (coverage) => coverage.declaration && ( localize(
140
- 10250,
140
+ 10251,
141
141
  '{0}/{1} functions covered ({2})',
142
142
  nf.format(coverage.declaration.covered),
143
143
  nf.format(coverage.declaration.total),
144
144
  displayPercent(percent(coverage.declaration))
145
145
  ));
146
146
  const branchCoverageText = (coverage) => coverage.branch && ( localize(
147
- 10251,
147
+ 10252,
148
148
  '{0}/{1} branches covered ({2})',
149
149
  nf.format(coverage.branch.covered),
150
150
  nf.format(coverage.branch.total),
@@ -164,7 +164,7 @@ DeclarationCoverageNode.__decorator = ( __decorate([
164
164
  ], DeclarationCoverageNode.prototype, "attributableCoverage", null));
165
165
  class RevealUncoveredDeclarations {
166
166
  get label() {
167
- return localize(10252, "{0} declarations without coverage...", this.n);
167
+ return localize(10253, "{0} declarations without coverage...", this.n);
168
168
  }
169
169
  constructor(n) {
170
170
  this.n = n;
@@ -173,7 +173,7 @@ class RevealUncoveredDeclarations {
173
173
  }
174
174
  class CurrentlyFilteredTo {
175
175
  get label() {
176
- return localize(10253, "Showing coverage for \"{0}\"", this.testItem.label);
176
+ return localize(10254, "Showing coverage for \"{0}\"", this.testItem.label);
177
177
  }
178
178
  constructor(testItem) {
179
179
  this.testItem = testItem;
@@ -183,7 +183,7 @@ class CurrentlyFilteredTo {
183
183
  class LoadingDetails {
184
184
  constructor() {
185
185
  this.id = String(fnNodeId++);
186
- this.label = ( localize(10254, "Loading Coverage Details..."));
186
+ this.label = ( localize(10255, "Loading Coverage Details..."));
187
187
  }
188
188
  }
189
189
  const isFileCoverage = (c) => typeof c === 'object' && 'value' in c;
@@ -216,14 +216,14 @@ let TestCoverageTree = class TestCoverageTree extends Disposable {
216
216
  getAriaLabel(element) {
217
217
  if (isFileCoverage(element)) {
218
218
  const name = basenameOrAuthority(element.value.uri);
219
- return localize(10255, "{0} coverage: {0}%", name, (element.value.tpc * 100).toFixed(2));
219
+ return localize(10256, "{0} coverage: {0}%", name, (element.value.tpc * 100).toFixed(2));
220
220
  }
221
221
  else {
222
222
  return element.label;
223
223
  }
224
224
  },
225
225
  getWidgetAriaLabel() {
226
- return localize(10256, "Test Coverage Explorer");
226
+ return localize(10257, "Test Coverage Explorer");
227
227
  }
228
228
  },
229
229
  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(10257, 'Filter Coverage by Test')),
577
+ title: ( localize2(10258, '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(10258, 'Change Sort Order')),
629
+ title: ( localize2(10259, 'Change Sort Order')),
630
630
  icon: Codicon.sortPrecedence,
631
631
  menu: {
632
632
  id: MenuId.ViewTitle,
@@ -639,14 +639,14 @@ registerAction2(class TestCoverageChangeSortingAction extends ViewAction {
639
639
  const disposables = ( new DisposableStore());
640
640
  const quickInput = disposables.add(accessor.get(IQuickInputService).createQuickPick());
641
641
  const items = [
642
- { label: ( localize(10259, 'Sort by Location')), value: CoverageSortOrder.Location, description: ( localize(
643
- 10260,
642
+ { label: ( localize(10260, 'Sort by Location')), value: CoverageSortOrder.Location, description: ( localize(
643
+ 10261,
644
644
  'Files are sorted alphabetically, declarations are sorted by position'
645
645
  )) },
646
- { label: ( localize(10261, 'Sort by Coverage')), value: CoverageSortOrder.Coverage, description: ( localize(10262, 'Files and declarations are sorted by total coverage')) },
647
- { label: ( localize(10263, 'Sort by Name')), value: CoverageSortOrder.Name, description: ( localize(10264, 'Files and declarations are sorted alphabetically')) },
646
+ { label: ( localize(10262, 'Sort by Coverage')), value: CoverageSortOrder.Coverage, description: ( localize(10263, 'Files and declarations are sorted by total coverage')) },
647
+ { label: ( localize(10264, 'Sort by Name')), value: CoverageSortOrder.Name, description: ( localize(10265, 'Files and declarations are sorted alphabetically')) },
648
648
  ];
649
- quickInput.placeholder = ( localize(10265, 'Sort the Test Coverage view...'));
649
+ quickInput.placeholder = ( localize(10266, 'Sort the Test Coverage view...'));
650
650
  quickInput.items = items;
651
651
  quickInput.show();
652
652
  disposables.add(quickInput.onDidHide(() => disposables.dispose()));