@theia/test 1.45.1 → 1.46.0-next.72

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 (53) hide show
  1. package/lib/browser/constants.d.ts +45 -45
  2. package/lib/browser/constants.js +17 -17
  3. package/lib/browser/test-service.d.ts +154 -154
  4. package/lib/browser/test-service.js +247 -247
  5. package/lib/browser/view/test-context-key-service.d.ts +7 -7
  6. package/lib/browser/view/test-context-key-service.js +51 -51
  7. package/lib/browser/view/test-execution-state-manager.d.ts +13 -13
  8. package/lib/browser/view/test-execution-state-manager.js +173 -173
  9. package/lib/browser/view/test-output-ui-model.d.ts +47 -47
  10. package/lib/browser/view/test-output-ui-model.js +151 -151
  11. package/lib/browser/view/test-output-view-contribution.d.ts +5 -5
  12. package/lib/browser/view/test-output-view-contribution.js +47 -47
  13. package/lib/browser/view/test-output-widget.d.ts +24 -24
  14. package/lib/browser/view/test-output-widget.js +158 -158
  15. package/lib/browser/view/test-result-view-contribution.d.ts +5 -5
  16. package/lib/browser/view/test-result-view-contribution.js +47 -47
  17. package/lib/browser/view/test-result-widget.d.ts +20 -20
  18. package/lib/browser/view/test-result-widget.js +108 -108
  19. package/lib/browser/view/test-run-view-contribution.d.ts +17 -17
  20. package/lib/browser/view/test-run-view-contribution.js +100 -100
  21. package/lib/browser/view/test-run-widget.d.ts +58 -58
  22. package/lib/browser/view/test-run-widget.js +310 -310
  23. package/lib/browser/view/test-tree-widget.d.ts +67 -67
  24. package/lib/browser/view/test-tree-widget.js +386 -386
  25. package/lib/browser/view/test-view-contribution.d.ts +45 -45
  26. package/lib/browser/view/test-view-contribution.js +288 -288
  27. package/lib/browser/view/test-view-frontend-module.d.ts +6 -6
  28. package/lib/browser/view/test-view-frontend-module.js +121 -121
  29. package/lib/common/collections.d.ts +46 -46
  30. package/lib/common/collections.js +210 -210
  31. package/lib/common/tree-delta.d.ts +51 -51
  32. package/lib/common/tree-delta.js +240 -240
  33. package/lib/common/tree-delta.spec.d.ts +1 -1
  34. package/lib/common/tree-delta.spec.js +139 -139
  35. package/package.json +8 -8
  36. package/src/browser/constants.ts +71 -71
  37. package/src/browser/style/index.css +41 -41
  38. package/src/browser/test-service.ts +355 -355
  39. package/src/browser/view/test-context-key-service.ts +36 -36
  40. package/src/browser/view/test-execution-state-manager.ts +147 -147
  41. package/src/browser/view/test-output-ui-model.ts +156 -156
  42. package/src/browser/view/test-output-view-contribution.ts +34 -34
  43. package/src/browser/view/test-output-widget.ts +148 -148
  44. package/src/browser/view/test-result-view-contribution.ts +34 -34
  45. package/src/browser/view/test-result-widget.ts +92 -92
  46. package/src/browser/view/test-run-view-contribution.ts +89 -89
  47. package/src/browser/view/test-run-widget.tsx +271 -271
  48. package/src/browser/view/test-tree-widget.tsx +360 -360
  49. package/src/browser/view/test-view-contribution.ts +300 -300
  50. package/src/browser/view/test-view-frontend-module.ts +134 -134
  51. package/src/common/collections.ts +223 -223
  52. package/src/common/tree-delta.spec.ts +166 -166
  53. package/src/common/tree-delta.ts +259 -259
@@ -1,46 +1,46 @@
1
- import { AbstractViewContribution, FrontendApplicationContribution, ViewContainerTitleOptions, Widget } from '@theia/core/lib/browser';
2
- import { Command, CommandRegistry, MenuModelRegistry } from '@theia/core';
3
- import { TestService } from '../test-service';
4
- import { ContextKeyService } from '@theia/core/lib/browser/context-key-service';
5
- import { TestTreeWidget } from './test-tree-widget';
6
- import { TabBarToolbarContribution, TabBarToolbarRegistry } from '@theia/core/lib/browser/shell/tab-bar-toolbar';
7
- import { NavigationLocationService } from '@theia/editor/lib/browser/navigation/navigation-location-service';
8
- import { FileService } from '@theia/filesystem/lib/browser/file-service';
9
- export declare namespace TestViewCommands {
10
- /**
11
- * Command which refreshes all test.
12
- */
13
- const REFRESH: Command;
14
- /**
15
- * Command which cancels the refresh
16
- */
17
- const CANCEL_REFRESH: Command;
18
- const RUN_ALL_TESTS: Command;
19
- const DEBUG_ALL_TESTS: Command;
20
- const RUN_TEST: Command;
21
- const RUN_TEST_WITH_PROFILE: Command;
22
- const DEBUG_TEST: Command;
23
- const CANCEL_ALL_RUNS: Command;
24
- const CANCEL_RUN: Command;
25
- const GOTO_TEST: Command;
26
- const CONFIGURE_PROFILES: Command;
27
- const CLEAR_ALL_RESULTS: Command;
28
- }
29
- export declare const TEST_VIEW_CONTEXT_MENU: string[];
30
- export declare const TEST_VIEW_INLINE_MENU: string[];
31
- export declare const TEST_VIEW_CONTAINER_ID = "test-view-container";
32
- export declare const TEST_VIEW_CONTAINER_TITLE_OPTIONS: ViewContainerTitleOptions;
33
- export declare class TestViewContribution extends AbstractViewContribution<TestTreeWidget> implements FrontendApplicationContribution, TabBarToolbarContribution {
34
- protected readonly testService: TestService;
35
- protected readonly contextKeys: ContextKeyService;
36
- navigationService: NavigationLocationService;
37
- fileSystem: FileService;
38
- constructor();
39
- initializeLayout(): Promise<void>;
40
- registerCommands(commands: CommandRegistry): void;
41
- protected cancelAllRuns(): void;
42
- registerMenus(menus: MenuModelRegistry): void;
43
- registerToolbarItems(toolbar: TabBarToolbarRegistry): void;
44
- protected withWidget<T>(widget: Widget | undefined, cb: (widget: TestTreeWidget) => T): T | false;
45
- }
1
+ import { AbstractViewContribution, FrontendApplicationContribution, ViewContainerTitleOptions, Widget } from '@theia/core/lib/browser';
2
+ import { Command, CommandRegistry, MenuModelRegistry } from '@theia/core';
3
+ import { TestService } from '../test-service';
4
+ import { ContextKeyService } from '@theia/core/lib/browser/context-key-service';
5
+ import { TestTreeWidget } from './test-tree-widget';
6
+ import { TabBarToolbarContribution, TabBarToolbarRegistry } from '@theia/core/lib/browser/shell/tab-bar-toolbar';
7
+ import { NavigationLocationService } from '@theia/editor/lib/browser/navigation/navigation-location-service';
8
+ import { FileService } from '@theia/filesystem/lib/browser/file-service';
9
+ export declare namespace TestViewCommands {
10
+ /**
11
+ * Command which refreshes all test.
12
+ */
13
+ const REFRESH: Command;
14
+ /**
15
+ * Command which cancels the refresh
16
+ */
17
+ const CANCEL_REFRESH: Command;
18
+ const RUN_ALL_TESTS: Command;
19
+ const DEBUG_ALL_TESTS: Command;
20
+ const RUN_TEST: Command;
21
+ const RUN_TEST_WITH_PROFILE: Command;
22
+ const DEBUG_TEST: Command;
23
+ const CANCEL_ALL_RUNS: Command;
24
+ const CANCEL_RUN: Command;
25
+ const GOTO_TEST: Command;
26
+ const CONFIGURE_PROFILES: Command;
27
+ const CLEAR_ALL_RESULTS: Command;
28
+ }
29
+ export declare const TEST_VIEW_CONTEXT_MENU: string[];
30
+ export declare const TEST_VIEW_INLINE_MENU: string[];
31
+ export declare const TEST_VIEW_CONTAINER_ID = "test-view-container";
32
+ export declare const TEST_VIEW_CONTAINER_TITLE_OPTIONS: ViewContainerTitleOptions;
33
+ export declare class TestViewContribution extends AbstractViewContribution<TestTreeWidget> implements FrontendApplicationContribution, TabBarToolbarContribution {
34
+ protected readonly testService: TestService;
35
+ protected readonly contextKeys: ContextKeyService;
36
+ navigationService: NavigationLocationService;
37
+ fileSystem: FileService;
38
+ constructor();
39
+ initializeLayout(): Promise<void>;
40
+ registerCommands(commands: CommandRegistry): void;
41
+ protected cancelAllRuns(): void;
42
+ registerMenus(menus: MenuModelRegistry): void;
43
+ registerToolbarItems(toolbar: TabBarToolbarRegistry): void;
44
+ protected withWidget<T>(widget: Widget | undefined, cb: (widget: TestTreeWidget) => T): T | false;
45
+ }
46
46
  //# sourceMappingURL=test-view-contribution.d.ts.map