forked from microsoft/vscode-java-test
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.ts
More file actions
44 lines (39 loc) · 898 Bytes
/
types.ts
File metadata and controls
44 lines (39 loc) · 898 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
import { Range, TestItem, TestRun, WorkspaceFolder } from 'vscode';
export interface IJavaTestItem {
children: IJavaTestItem[];
uri: string | undefined;
range: Range | undefined;
jdtHandler: string;
fullName: string;
label: string;
id: string;
projectName: string;
testKind: TestKind;
testLevel: TestLevel;
}
export enum TestKind {
JUnit5 = 0,
JUnit = 1,
TestNG = 2,
None = 100,
}
export enum TestLevel {
Root = 0,
Workspace = 1,
WorkspaceFolder = 2,
Project = 3,
Package = 4,
Class = 5,
Method = 6,
Invocation = 7,
}
export interface IRunTestContext {
isDebug: boolean;
kind: TestKind;
projectName: string;
testItems: TestItem[];
testRun: TestRun;
workspaceFolder: WorkspaceFolder;
}