forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.ts
More file actions
22 lines (18 loc) · 939 Bytes
/
types.ts
File metadata and controls
22 lines (18 loc) · 939 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
'use strict';
import { Uri } from 'vscode';
import * as internalScripts from '../../../common/process/internal/scripts';
import { Tests } from '../types';
// We expose these here as a convenience and to cut down on churn
// elsewhere in the code.
export type DiscoveredTests = internalScripts.testing_tools.DiscoveredTests;
export type Test = internalScripts.testing_tools.Test;
export type TestFolder = internalScripts.testing_tools.TestFolder;
export type TestFile = internalScripts.testing_tools.TestFile;
export type TestSuite = internalScripts.testing_tools.TestSuite;
export type TestFunction = internalScripts.testing_tools.TestFunction;
export const ITestDiscoveredTestParser = Symbol('ITestDiscoveredTestParser');
export interface ITestDiscoveredTestParser {
parse(resource: Uri, discoveredTests: DiscoveredTests[]): Tests;
}