@codingame/monaco-vscode-testing-service-override 10.1.2 → 10.1.3

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 +4 -4
  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 +11 -11
  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 +17 -17
  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 +13 -13
  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 +30 -30
  21. package/vscode/src/vs/workbench/contrib/testing/common/configuration.js +34 -34
  22. package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
  23. package/vscode/src/vs/workbench/contrib/testing/common/testServiceImpl.js +4 -4
  24. package/vscode/src/vs/workbench/contrib/testing/common/testingContentProvider.js +1 -1
  25. 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": "10.1.2",
3
+ "version": "10.1.3",
4
4
  "keywords": [],
5
5
  "author": {
6
6
  "name": "CodinGame",
@@ -9,7 +9,7 @@
9
9
  "license": "MIT",
10
10
  "repository": {
11
11
  "type": "git",
12
- "url": "git@github.com:CodinGame/monaco-vscode-api.git"
12
+ "url": "git+ssh://git@github.com/CodinGame/monaco-vscode-api.git"
13
13
  },
14
14
  "type": "module",
15
15
  "private": false,
@@ -26,7 +26,7 @@
26
26
  }
27
27
  },
28
28
  "dependencies": {
29
- "vscode": "npm:@codingame/monaco-vscode-api@10.1.2",
30
- "@codingame/monaco-vscode-terminal-service-override": "10.1.2"
29
+ "vscode": "npm:@codingame/monaco-vscode-api@10.1.3",
30
+ "@codingame/monaco-vscode-terminal-service-override": "10.1.3"
31
31
  }
32
32
  }
@@ -164,7 +164,7 @@ let StackAccessibilityProvider = class StackAccessibilityProvider {
164
164
  if (e instanceof CallStackFrame) {
165
165
  if (e.source && e.line) {
166
166
  return ( localize(
167
- 10873,
167
+ 10770,
168
168
  '{0}, line {1} in {2}',
169
169
  e.name,
170
170
  e.line,
@@ -176,7 +176,7 @@ let StackAccessibilityProvider = class StackAccessibilityProvider {
176
176
  assertNever();
177
177
  }
178
178
  getWidgetAriaLabel() {
179
- return ( localize(10874, 'Stack Trace'));
179
+ return ( localize(10771, 'Stack Trace'));
180
180
  }
181
181
  };
182
182
  StackAccessibilityProvider = ( (__decorate([
@@ -396,7 +396,7 @@ let MissingCodeRenderer = class MissingCodeRenderer {
396
396
  const cast = element;
397
397
  templateData.label.element.setResource({
398
398
  name: cast.name,
399
- description: ( localize(10875, 'Line {0} column {1}', cast.line, cast.column)),
399
+ description: ( localize(10772, 'Line {0} column {1}', cast.line, cast.column)),
400
400
  range: { startLineNumber: cast.line, startColumn: cast.column, endColumn: cast.column, endLineNumber: cast.line },
401
401
  }, {
402
402
  icon: Codicon.fileBinary,
@@ -457,7 +457,7 @@ let SkippedRenderer = class SkippedRenderer {
457
457
  }
458
458
  button.enabled = false;
459
459
  this.loadFrames(data.current).catch(e => {
460
- this.notificationService.error(( localize(10876, 'Failed to load stack frames: {0}', e.message)));
460
+ this.notificationService.error(( localize(10773, 'Failed to load stack frames: {0}', e.message)));
461
461
  });
462
462
  }));
463
463
  return data;
@@ -534,7 +534,7 @@ registerAction2(class extends Action2 {
534
534
  constructor() {
535
535
  super({
536
536
  id: 'callStackWidget.goToFile',
537
- title: ( localize2(10877, 'Open File')),
537
+ title: ( localize2(10774, 'Open File')),
538
538
  icon: Codicon.goToFile,
539
539
  menu: {
540
540
  id: MenuId.DebugCallStackToolbar,
@@ -48,7 +48,7 @@ import { TestingContextKeys } from '../common/testingContextKeys.js';
48
48
 
49
49
  const CLASS_HIT = 'coverage-deco-hit';
50
50
  const CLASS_MISS = 'coverage-deco-miss';
51
- const TOGGLE_INLINE_COMMAND_TEXT = ( localize(8285, 'Toggle Inline'));
51
+ const TOGGLE_INLINE_COMMAND_TEXT = ( localize(7824, 'Toggle Inline'));
52
52
  const TOGGLE_INLINE_COMMAND_ID = 'testing.toggleInlineCoverage';
53
53
  const BRANCH_MISS_INDICATOR_CHARS = 4;
54
54
  let CodeCoverageDecorations = class CodeCoverageDecorations extends Disposable {
@@ -372,7 +372,7 @@ class CoverageDetailsModel {
372
372
  if (detail.branches?.length) {
373
373
  const covered = detail.branches.filter(b => !!b.count).length;
374
374
  return ( (new MarkdownString())).appendMarkdown(( localize(
375
- 8286,
375
+ 7825,
376
376
  '{0} of {1} of branches in {2} were covered.',
377
377
  covered,
378
378
  detail.branches.length,
@@ -388,13 +388,13 @@ class CoverageDetailsModel {
388
388
  const { count, label } = detail.detail.branches[detail.branch];
389
389
  const label2 = label ? wrapInBackticks(label) : `#${detail.branch + 1}`;
390
390
  if (!count) {
391
- return ( (new MarkdownString())).appendMarkdown(( localize(8287, 'Branch {0} in {1} was not covered.', label2, text)));
391
+ return ( (new MarkdownString())).appendMarkdown(( localize(7826, 'Branch {0} in {1} was not covered.', label2, text)));
392
392
  }
393
393
  else if (count === true) {
394
- return ( (new MarkdownString())).appendMarkdown(( localize(8288, 'Branch {0} in {1} was executed.', label2, text)));
394
+ return ( (new MarkdownString())).appendMarkdown(( localize(7827, 'Branch {0} in {1} was executed.', label2, text)));
395
395
  }
396
396
  else {
397
- return ( (new MarkdownString())).appendMarkdown(( localize(8289, 'Branch {0} in {1} was executed {2} time(s).', label2, text, count)));
397
+ return ( (new MarkdownString())).appendMarkdown(( localize(7828, 'Branch {0} in {1} was executed {2} time(s).', label2, text, count)));
398
398
  }
399
399
  }
400
400
  assertNever();
@@ -402,10 +402,10 @@ class CoverageDetailsModel {
402
402
  }
403
403
  function namedDetailLabel(name, detail) {
404
404
  return ( (new MarkdownString())).appendMarkdown(!detail.count
405
- ? ( localize(8290, '`{0}` was not executed.', name))
405
+ ? ( localize(7829, '`{0}` was not executed.', name))
406
406
  : typeof detail.count === 'number'
407
- ? ( localize(8291, '`{0}` was executed {1} time(s).', name, detail.count))
408
- : ( localize(8292, '`{0}` was executed.', name)));
407
+ ? ( localize(7830, '`{0}` was executed {1} time(s).', name, detail.count))
408
+ : ( localize(7831, '`{0}` was executed.', name)));
409
409
  }
410
410
  function tidyLocation(location) {
411
411
  if (location instanceof Position) {
@@ -502,8 +502,8 @@ let CoverageToolbarWidget = class CoverageToolbarWidget extends Disposable {
502
502
  return;
503
503
  }
504
504
  const toggleAction = ( (new ActionWithIcon('toggleInline', this.coverage.showInline.get()
505
- ? ( localize(8293, 'Hide Inline Coverage'))
506
- : ( localize(8294, 'Show Inline Coverage')), testingCoverageReport, undefined, () => this.coverage.showInline.set(!this.coverage.showInline.get(), undefined))));
505
+ ? ( localize(7832, 'Hide Inline Coverage'))
506
+ : ( localize(7833, 'Show Inline Coverage')), testingCoverageReport, undefined, () => this.coverage.showInline.set(!this.coverage.showInline.get(), undefined))));
507
507
  const kb = this.keybindingService.lookupKeybinding(TOGGLE_INLINE_COMMAND_ID);
508
508
  if (kb) {
509
509
  toggleAction.tooltip = `${TOGGLE_INLINE_COMMAND_TEXT} (${kb.getLabel()})`;
@@ -522,12 +522,12 @@ let CoverageToolbarWidget = class CoverageToolbarWidget extends Disposable {
522
522
  }
523
523
  else if (current.coverage.perTestData?.size) {
524
524
  this.actionBar.push(( (new ActionWithIcon('perTestFilter', ( localize(
525
- 8295,
525
+ 7834,
526
526
  "{0} test(s) ran code in this file",
527
527
  current.coverage.perTestData.size
528
528
  )), testingFilterIcon, undefined, () => this.commandService.executeCommand("testing.coverageFilterToTestInEditor" , this.current, this.editor)))));
529
529
  }
530
- this.actionBar.push(( (new ActionWithIcon('rerun', ( localize(8296, 'Rerun')), testingRerunIcon, !this.isRunning, () => this.rerunTest()))));
530
+ this.actionBar.push(( (new ActionWithIcon('rerun', ( localize(7835, 'Rerun')), testingRerunIcon, !this.isRunning, () => this.rerunTest()))));
531
531
  }
532
532
  show() {
533
533
  if (this.registered) {
@@ -587,7 +587,7 @@ registerAction2(class ToggleInlineCoverage extends Action2 {
587
587
  constructor() {
588
588
  super({
589
589
  id: TOGGLE_INLINE_COMMAND_ID,
590
- title: ( localize2(8297, "Toggle Inline Coverage")),
590
+ title: ( localize2(7836, "Toggle Inline Coverage")),
591
591
  category: Categories.Test,
592
592
  keybinding: {
593
593
  weight: 200 ,
@@ -595,7 +595,7 @@ registerAction2(class ToggleInlineCoverage extends Action2 {
595
595
  },
596
596
  toggled: {
597
597
  condition: TestingContextKeys.inlineCoverageEnabled,
598
- title: ( localize(8298, "Hide Inline Coverage")),
598
+ title: ( localize(7837, "Hide Inline Coverage")),
599
599
  },
600
600
  icon: testingCoverageReport,
601
601
  menu: [
@@ -616,9 +616,9 @@ registerAction2(class ToggleCoverageToolbar extends Action2 {
616
616
  constructor() {
617
617
  super({
618
618
  id: "testing.coverageToggleToolbar" ,
619
- title: ( localize2(8299, "Test Coverage Toolbar")),
619
+ title: ( localize2(7838, "Test Coverage Toolbar")),
620
620
  metadata: {
621
- description: ( localize2(8300, 'Toggle the sticky coverage bar in the editor.'))
621
+ description: ( localize2(7839, 'Toggle the sticky coverage bar in the editor.'))
622
622
  },
623
623
  category: Categories.Test,
624
624
  toggled: {
@@ -641,7 +641,7 @@ registerAction2(class FilterCoverageToTestInEditor extends Action2 {
641
641
  constructor() {
642
642
  super({
643
643
  id: "testing.coverageFilterToTestInEditor" ,
644
- title: ( localize2(8301, "Filter Coverage to Test")),
644
+ title: ( localize2(7840, "Filter Coverage to Test")),
645
645
  category: Categories.Test,
646
646
  icon: Codicon.filter,
647
647
  toggled: {
@@ -73,11 +73,11 @@ function getLabelForItem(result, testId, commonPrefixLen) {
73
73
  }
74
74
  var labels;
75
75
  ( ((function(labels) {
76
- labels.showingFilterFor = (label) => ( localize(10898, "Showing \"{0}\"", label));
77
- labels.clickToChangeFiltering = ( localize(10899, 'Click to view coverage for a single test'));
78
- labels.percentCoverage = (percent, precision) => ( localize(10900, '{0} Coverage', displayPercent(percent, precision)));
79
- labels.allTests = ( localize(10901, 'All tests'));
80
- labels.pickShowCoverage = ( localize(10902, 'Pick a test to show coverage for'));
76
+ labels.showingFilterFor = (label) => ( localize(10795, "Showing \"{0}\"", label));
77
+ labels.clickToChangeFiltering = ( localize(10796, 'Click to view coverage for a single test'));
78
+ labels.percentCoverage = (percent, precision) => ( localize(10797, '{0} Coverage', displayPercent(percent, precision)));
79
+ labels.allTests = ( localize(10798, 'All tests'));
80
+ labels.pickShowCoverage = ( localize(10799, 'Pick a test to show coverage for'));
81
81
  })(labels || (labels = {}))));
82
82
 
83
83
  export { calculateDisplayedStat, displayPercent, getCoverageColor, getLabelForItem, labels, percent };
@@ -5,37 +5,37 @@ import { registerThemingParticipant } from 'vscode/vscode/vs/platform/theme/comm
5
5
  import { ThemeIcon } from 'vscode/vscode/vs/base/common/themables';
6
6
  import { testStatesToIconColors, testStatesToRetiredIconColors, testingColorRunAction } from './theme.js';
7
7
 
8
- const testingViewIcon = registerIcon('test-view-icon', Codicon.beaker, ( localize(8213, 'View icon of the test view.')));
9
- const testingResultsIcon = registerIcon('test-results-icon', Codicon.checklist, ( localize(8214, 'Icons for test results.')));
10
- const testingRunIcon = registerIcon('testing-run-icon', Codicon.run, ( localize(8215, 'Icon of the "run test" action.')));
11
- const testingRerunIcon = registerIcon('testing-rerun-icon', Codicon.refresh, ( localize(8216, 'Icon of the "rerun tests" action.')));
12
- const testingRunAllIcon = registerIcon('testing-run-all-icon', Codicon.runAll, ( localize(8217, 'Icon of the "run all tests" action.')));
13
- const testingDebugAllIcon = registerIcon('testing-debug-all-icon', Codicon.debugAltSmall, ( localize(8218, 'Icon of the "debug all tests" action.')));
14
- const testingDebugIcon = registerIcon('testing-debug-icon', Codicon.debugAltSmall, ( localize(8219, 'Icon of the "debug test" action.')));
15
- const testingCoverageIcon = registerIcon('testing-coverage-icon', Codicon.runCoverage, ( localize(8220, 'Icon of the "run test with coverage" action.')));
16
- const testingCoverageAllIcon = registerIcon('testing-coverage-all-icon', Codicon.runAllCoverage, ( localize(8221, 'Icon of the "run all tests with coverage" action.')));
17
- const testingCancelIcon = registerIcon('testing-cancel-icon', Codicon.debugStop, ( localize(8222, 'Icon to cancel ongoing test runs.')));
18
- const testingFilterIcon = registerIcon('testing-filter', Codicon.filter, ( localize(8223, 'Icon for the \'Filter\' action in the testing view.')));
19
- const testingHiddenIcon = registerIcon('testing-hidden', Codicon.eyeClosed, ( localize(8224, 'Icon shown beside hidden tests, when they\'ve been shown.')));
20
- registerIcon('testing-show-as-list-icon', Codicon.listTree, ( localize(8225, 'Icon shown when the test explorer is disabled as a tree.')));
21
- registerIcon('testing-show-as-list-icon', Codicon.listFlat, ( localize(8226, 'Icon shown when the test explorer is disabled as a list.')));
22
- const testingUpdateProfiles = registerIcon('testing-update-profiles', Codicon.gear, ( localize(8227, 'Icon shown to update test profiles.')));
23
- const testingRefreshTests = registerIcon('testing-refresh-tests', Codicon.refresh, ( localize(8228, 'Icon on the button to refresh tests.')));
24
- const testingTurnContinuousRunOn = registerIcon('testing-turn-continuous-run-on', Codicon.eye, ( localize(8229, 'Icon to turn continuous test runs on.')));
25
- const testingTurnContinuousRunOff = registerIcon('testing-turn-continuous-run-off', Codicon.eyeClosed, ( localize(8230, 'Icon to turn continuous test runs off.')));
26
- const testingContinuousIsOn = registerIcon('testing-continuous-is-on', Codicon.eye, ( localize(8231, 'Icon when continuous run is on for a test ite,.')));
27
- const testingCancelRefreshTests = registerIcon('testing-cancel-refresh-tests', Codicon.stop, ( localize(8232, 'Icon on the button to cancel refreshing tests.')));
28
- const testingCoverageReport = registerIcon('testing-coverage', Codicon.coverage, ( localize(8233, 'Icon representing test coverage')));
29
- const testingWasCovered = registerIcon('testing-was-covered', Codicon.check, ( localize(8234, 'Icon representing that an element was covered')));
30
- const testingCoverageMissingBranch = registerIcon('testing-missing-branch', Codicon.question, ( localize(8235, 'Icon representing a uncovered block without a range')));
8
+ const testingViewIcon = registerIcon('test-view-icon', Codicon.beaker, ( localize(7752, 'View icon of the test view.')));
9
+ const testingResultsIcon = registerIcon('test-results-icon', Codicon.checklist, ( localize(7753, 'Icons for test results.')));
10
+ const testingRunIcon = registerIcon('testing-run-icon', Codicon.run, ( localize(7754, 'Icon of the "run test" action.')));
11
+ const testingRerunIcon = registerIcon('testing-rerun-icon', Codicon.refresh, ( localize(7755, 'Icon of the "rerun tests" action.')));
12
+ const testingRunAllIcon = registerIcon('testing-run-all-icon', Codicon.runAll, ( localize(7756, 'Icon of the "run all tests" action.')));
13
+ const testingDebugAllIcon = registerIcon('testing-debug-all-icon', Codicon.debugAltSmall, ( localize(7757, 'Icon of the "debug all tests" action.')));
14
+ const testingDebugIcon = registerIcon('testing-debug-icon', Codicon.debugAltSmall, ( localize(7758, 'Icon of the "debug test" action.')));
15
+ const testingCoverageIcon = registerIcon('testing-coverage-icon', Codicon.runCoverage, ( localize(7759, 'Icon of the "run test with coverage" action.')));
16
+ const testingCoverageAllIcon = registerIcon('testing-coverage-all-icon', Codicon.runAllCoverage, ( localize(7760, 'Icon of the "run all tests with coverage" action.')));
17
+ const testingCancelIcon = registerIcon('testing-cancel-icon', Codicon.debugStop, ( localize(7761, 'Icon to cancel ongoing test runs.')));
18
+ const testingFilterIcon = registerIcon('testing-filter', Codicon.filter, ( localize(7762, 'Icon for the \'Filter\' action in the testing view.')));
19
+ const testingHiddenIcon = registerIcon('testing-hidden', Codicon.eyeClosed, ( localize(7763, 'Icon shown beside hidden tests, when they\'ve been shown.')));
20
+ registerIcon('testing-show-as-list-icon', Codicon.listTree, ( localize(7764, 'Icon shown when the test explorer is disabled as a tree.')));
21
+ registerIcon('testing-show-as-list-icon', Codicon.listFlat, ( localize(7765, 'Icon shown when the test explorer is disabled as a list.')));
22
+ const testingUpdateProfiles = registerIcon('testing-update-profiles', Codicon.gear, ( localize(7766, 'Icon shown to update test profiles.')));
23
+ const testingRefreshTests = registerIcon('testing-refresh-tests', Codicon.refresh, ( localize(7767, 'Icon on the button to refresh tests.')));
24
+ const testingTurnContinuousRunOn = registerIcon('testing-turn-continuous-run-on', Codicon.eye, ( localize(7768, 'Icon to turn continuous test runs on.')));
25
+ const testingTurnContinuousRunOff = registerIcon('testing-turn-continuous-run-off', Codicon.eyeClosed, ( localize(7769, 'Icon to turn continuous test runs off.')));
26
+ const testingContinuousIsOn = registerIcon('testing-continuous-is-on', Codicon.eye, ( localize(7770, 'Icon when continuous run is on for a test ite,.')));
27
+ const testingCancelRefreshTests = registerIcon('testing-cancel-refresh-tests', Codicon.stop, ( localize(7771, 'Icon on the button to cancel refreshing tests.')));
28
+ const testingCoverageReport = registerIcon('testing-coverage', Codicon.coverage, ( localize(7772, 'Icon representing test coverage')));
29
+ const testingWasCovered = registerIcon('testing-was-covered', Codicon.check, ( localize(7773, 'Icon representing that an element was covered')));
30
+ const testingCoverageMissingBranch = registerIcon('testing-missing-branch', Codicon.question, ( localize(7774, 'Icon representing a uncovered block without a range')));
31
31
  const testingStatesToIcons = ( (new Map([
32
- [6 , registerIcon('testing-error-icon', Codicon.issues, ( localize(8236, 'Icon shown for tests that have an error.')))],
33
- [4 , registerIcon('testing-failed-icon', Codicon.error, ( localize(8237, 'Icon shown for tests that failed.')))],
34
- [3 , registerIcon('testing-passed-icon', Codicon.pass, ( localize(8238, 'Icon shown for tests that passed.')))],
35
- [1 , registerIcon('testing-queued-icon', Codicon.history, ( localize(8239, 'Icon shown for tests that are queued.')))],
32
+ [6 , registerIcon('testing-error-icon', Codicon.issues, ( localize(7775, 'Icon shown for tests that have an error.')))],
33
+ [4 , registerIcon('testing-failed-icon', Codicon.error, ( localize(7776, 'Icon shown for tests that failed.')))],
34
+ [3 , registerIcon('testing-passed-icon', Codicon.pass, ( localize(7777, 'Icon shown for tests that passed.')))],
35
+ [1 , registerIcon('testing-queued-icon', Codicon.history, ( localize(7778, 'Icon shown for tests that are queued.')))],
36
36
  [2 , spinningLoading],
37
- [5 , registerIcon('testing-skipped-icon', Codicon.debugStepOver, ( localize(8240, 'Icon shown for tests that are skipped.')))],
38
- [0 , registerIcon('testing-unset-icon', Codicon.circleOutline, ( localize(8241, 'Icon shown for tests that are in an unset state.')))],
37
+ [5 , registerIcon('testing-skipped-icon', Codicon.debugStepOver, ( localize(7779, 'Icon shown for tests that are skipped.')))],
38
+ [0 , registerIcon('testing-unset-icon', Codicon.circleOutline, ( localize(7780, 'Icon shown for tests that are in an unset state.')))],
39
39
  ])));
40
40
  registerThemingParticipant((theme, collector) => {
41
41
  for (const [state, icon] of testingStatesToIcons.entries()) {
@@ -128,21 +128,21 @@ const renderBar = (bar, pct, isZero, thresholds) => {
128
128
  };
129
129
  const nf = new Intl.NumberFormat();
130
130
  const stmtCoverageText = (coverage) => ( localize(
131
- 10903,
131
+ 10800,
132
132
  '{0}/{1} statements covered ({2})',
133
133
  nf.format(coverage.statement.covered),
134
134
  nf.format(coverage.statement.total),
135
135
  displayPercent(percent(coverage.statement))
136
136
  ));
137
137
  const fnCoverageText = (coverage) => coverage.declaration && ( localize(
138
- 10904,
138
+ 10801,
139
139
  '{0}/{1} functions covered ({2})',
140
140
  nf.format(coverage.declaration.covered),
141
141
  nf.format(coverage.declaration.total),
142
142
  displayPercent(percent(coverage.declaration))
143
143
  ));
144
144
  const branchCoverageText = (coverage) => coverage.branch && ( localize(
145
- 10905,
145
+ 10802,
146
146
  '{0}/{1} branches covered ({2})',
147
147
  nf.format(coverage.branch.covered),
148
148
  nf.format(coverage.branch.total),
@@ -154,7 +154,7 @@ DeclarationCoverageNode.__decorator = ( (__decorate([
154
154
  ], DeclarationCoverageNode.prototype, "attributableCoverage", null)));
155
155
  class RevealUncoveredDeclarations {
156
156
  get label() {
157
- return ( localize(8302, "{0} declarations without coverage...", this.n));
157
+ return ( localize(7841, "{0} declarations without coverage...", this.n));
158
158
  }
159
159
  constructor(n) {
160
160
  this.n = n;
@@ -164,7 +164,7 @@ class RevealUncoveredDeclarations {
164
164
  class LoadingDetails {
165
165
  constructor() {
166
166
  this.id = String(fnNodeId++);
167
- this.label = ( localize(8303, "Loading Coverage Details..."));
167
+ this.label = ( localize(7842, "Loading Coverage Details..."));
168
168
  }
169
169
  }
170
170
  const isFileCoverage = (c) => typeof c === 'object' && 'value' in c;
@@ -195,14 +195,14 @@ let TestCoverageTree = class TestCoverageTree extends Disposable {
195
195
  getAriaLabel(element) {
196
196
  if (isFileCoverage(element)) {
197
197
  const name = basenameOrAuthority(element.value.uri);
198
- return ( localize(8304, "{0} coverage: {0}%", name, (element.value.tpc * 100).toFixed(2)));
198
+ return ( localize(7843, "{0} coverage: {0}%", name, (element.value.tpc * 100).toFixed(2)));
199
199
  }
200
200
  else {
201
201
  return element.label;
202
202
  }
203
203
  },
204
204
  getWidgetAriaLabel() {
205
- return ( localize(8305, "Test Coverage Explorer"));
205
+ return ( localize(7844, "Test Coverage Explorer"));
206
206
  }
207
207
  },
208
208
  identityProvider: ( (new TestCoverageIdentityProvider())),
@@ -501,7 +501,7 @@ registerAction2(class TestCoverageChangePerTestFilterAction extends Action2 {
501
501
  super({
502
502
  id: "testing.coverageFilterToTest" ,
503
503
  category: Categories.Test,
504
- title: ( localize2(8306, 'Filter Coverage by Test')),
504
+ title: ( localize2(7845, 'Filter Coverage by Test')),
505
505
  icon: Codicon.filter,
506
506
  toggled: {
507
507
  icon: Codicon.filterFilled,
@@ -555,7 +555,7 @@ registerAction2(class TestCoverageChangeSortingAction extends ViewAction {
555
555
  super({
556
556
  id: "testing.coverageViewChangeSorting" ,
557
557
  viewId: "workbench.view.testCoverage" ,
558
- title: ( localize2(8307, 'Change Sort Order')),
558
+ title: ( localize2(7846, 'Change Sort Order')),
559
559
  icon: Codicon.sortPrecedence,
560
560
  menu: {
561
561
  id: MenuId.ViewTitle,
@@ -568,14 +568,14 @@ registerAction2(class TestCoverageChangeSortingAction extends ViewAction {
568
568
  const disposables = ( (new DisposableStore()));
569
569
  const quickInput = disposables.add(accessor.get(IQuickInputService).createQuickPick());
570
570
  const items = [
571
- { label: ( localize(8308, 'Sort by Location')), value: 1 , description: ( localize(
572
- 8309,
571
+ { label: ( localize(7847, 'Sort by Location')), value: 1 , description: ( localize(
572
+ 7848,
573
573
  'Files are sorted alphabetically, declarations are sorted by position'
574
574
  )) },
575
- { label: ( localize(8310, 'Sort by Coverage')), value: 0 , description: ( localize(8311, 'Files and declarations are sorted by total coverage')) },
576
- { label: ( localize(8312, 'Sort by Name')), value: 2 , description: ( localize(8313, 'Files and declarations are sorted alphabetically')) },
575
+ { label: ( localize(7849, 'Sort by Coverage')), value: 0 , description: ( localize(7850, 'Files and declarations are sorted by total coverage')) },
576
+ { label: ( localize(7851, 'Sort by Name')), value: 2 , description: ( localize(7852, 'Files and declarations are sorted alphabetically')) },
577
577
  ];
578
- quickInput.placeholder = ( localize(8314, 'Sort the Test Coverage view...'));
578
+ quickInput.placeholder = ( localize(7853, 'Sort the Test Coverage view...'));
579
579
  quickInput.items = items;
580
580
  quickInput.show();
581
581
  disposables.add(quickInput.onDidHide(() => disposables.dispose()));