@theia/test 1.45.0 → 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.
- package/lib/browser/constants.d.ts +45 -45
- package/lib/browser/constants.js +17 -17
- package/lib/browser/test-service.d.ts +154 -154
- package/lib/browser/test-service.js +247 -247
- package/lib/browser/view/test-context-key-service.d.ts +7 -7
- package/lib/browser/view/test-context-key-service.js +51 -51
- package/lib/browser/view/test-execution-state-manager.d.ts +13 -13
- package/lib/browser/view/test-execution-state-manager.js +173 -173
- package/lib/browser/view/test-output-ui-model.d.ts +47 -47
- package/lib/browser/view/test-output-ui-model.js +151 -151
- package/lib/browser/view/test-output-view-contribution.d.ts +5 -5
- package/lib/browser/view/test-output-view-contribution.js +47 -47
- package/lib/browser/view/test-output-widget.d.ts +24 -24
- package/lib/browser/view/test-output-widget.js +158 -158
- package/lib/browser/view/test-result-view-contribution.d.ts +5 -5
- package/lib/browser/view/test-result-view-contribution.js +47 -47
- package/lib/browser/view/test-result-widget.d.ts +20 -20
- package/lib/browser/view/test-result-widget.js +108 -108
- package/lib/browser/view/test-run-view-contribution.d.ts +17 -17
- package/lib/browser/view/test-run-view-contribution.js +100 -100
- package/lib/browser/view/test-run-widget.d.ts +58 -58
- package/lib/browser/view/test-run-widget.js +310 -310
- package/lib/browser/view/test-tree-widget.d.ts +67 -67
- package/lib/browser/view/test-tree-widget.js +386 -386
- package/lib/browser/view/test-view-contribution.d.ts +45 -45
- package/lib/browser/view/test-view-contribution.js +288 -288
- package/lib/browser/view/test-view-frontend-module.d.ts +6 -6
- package/lib/browser/view/test-view-frontend-module.js +121 -121
- package/lib/common/collections.d.ts +46 -46
- package/lib/common/collections.js +210 -210
- package/lib/common/tree-delta.d.ts +51 -51
- package/lib/common/tree-delta.js +240 -240
- package/lib/common/tree-delta.spec.d.ts +1 -1
- package/lib/common/tree-delta.spec.js +139 -139
- package/package.json +8 -8
- package/src/browser/constants.ts +71 -71
- package/src/browser/style/index.css +41 -41
- package/src/browser/test-service.ts +355 -355
- package/src/browser/view/test-context-key-service.ts +36 -36
- package/src/browser/view/test-execution-state-manager.ts +147 -147
- package/src/browser/view/test-output-ui-model.ts +156 -156
- package/src/browser/view/test-output-view-contribution.ts +34 -34
- package/src/browser/view/test-output-widget.ts +148 -148
- package/src/browser/view/test-result-view-contribution.ts +34 -34
- package/src/browser/view/test-result-widget.ts +92 -92
- package/src/browser/view/test-run-view-contribution.ts +89 -89
- package/src/browser/view/test-run-widget.tsx +271 -271
- package/src/browser/view/test-tree-widget.tsx +360 -360
- package/src/browser/view/test-view-contribution.ts +300 -300
- package/src/browser/view/test-view-frontend-module.ts +134 -134
- package/src/common/collections.ts +223 -223
- package/src/common/tree-delta.spec.ts +166 -166
- 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
|