mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 11:38:51 +01:00
testing: clean up nits
- rename TestController.createRunConfiguration to .createRunProfile, and associated types - rename TestItemCollection.remove to TestItemCollection.delete
This commit is contained in:
@@ -58,7 +58,7 @@ import { ICellRange } from 'vs/workbench/contrib/notebook/common/notebookRange';
|
||||
import { InputValidationType } from 'vs/workbench/contrib/scm/common/scm';
|
||||
import { ITextQueryBuilderOptions } from 'vs/workbench/contrib/search/common/queryBuilder';
|
||||
import { ISerializableEnvironmentVariableCollection } from 'vs/workbench/contrib/terminal/common/environmentVariable';
|
||||
import { ExtensionRunTestsRequest, ISerializedTestResults, ITestItem, ITestMessage, ITestRunTask, RunTestForControllerRequest, ResolvedTestRunRequest, ITestIdWithSrc, TestsDiff, IFileCoverage, CoverageDetails, ITestRunConfiguration } from 'vs/workbench/contrib/testing/common/testCollection';
|
||||
import { ExtensionRunTestsRequest, ISerializedTestResults, ITestItem, ITestMessage, ITestRunTask, RunTestForControllerRequest, ResolvedTestRunRequest, ITestIdWithSrc, TestsDiff, IFileCoverage, CoverageDetails, ITestRunProfile } from 'vs/workbench/contrib/testing/common/testCollection';
|
||||
import { InternalTimelineOptions, Timeline, TimelineChangeEvent, TimelineOptions, TimelineProviderDescriptor } from 'vs/workbench/contrib/timeline/common/timeline';
|
||||
import { TypeHierarchyItem } from 'vs/workbench/contrib/typeHierarchy/common/typeHierarchy';
|
||||
import { EditorGroupColumn } from 'vs/workbench/services/editor/common/editorGroupColumn';
|
||||
@@ -2099,7 +2099,7 @@ export interface ExtHostTestingShape {
|
||||
*/
|
||||
$resolveFileCoverage(runId: string, taskId: string, fileIndex: number, token: CancellationToken): Promise<CoverageDetails[]>;
|
||||
/** Configures a test run config. */
|
||||
$configureRunConfig(controllerId: string, configId: number): void;
|
||||
$configureRunProfile(controllerId: string, configId: number): void;
|
||||
}
|
||||
|
||||
export interface MainThreadTestingShape {
|
||||
@@ -2121,11 +2121,11 @@ export interface MainThreadTestingShape {
|
||||
// --- test run configurations:
|
||||
|
||||
/** Called when a new test run configuration is available */
|
||||
$publishTestRunConfig(config: ITestRunConfiguration): void;
|
||||
$publishTestRunProfile(config: ITestRunProfile): void;
|
||||
/** Updates an existing test run configuration */
|
||||
$updateTestRunConfig(controllerId: string, configId: number, update: Partial<ITestRunConfiguration>): void;
|
||||
$updateTestRunConfig(controllerId: string, configId: number, update: Partial<ITestRunProfile>): void;
|
||||
/** Removes a previously-published test run config */
|
||||
$removeTestRunConfig(controllerId: string, configId: number): void;
|
||||
$removeTestProfile(controllerId: string, configId: number): void;
|
||||
|
||||
|
||||
// --- test run handling:
|
||||
|
||||
Reference in New Issue
Block a user