mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-20 08:38:56 +01:00
testing: rename testRunTask to testRun
This commit is contained in:
@@ -356,9 +356,9 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
|
||||
createTestItem<T>(options: vscode.TestItemOptions, data?: T) {
|
||||
return new extHostTypes.TestItemImpl(options.id, options.label, options.uri, data);
|
||||
},
|
||||
createTestRunTask(request, name, persist) {
|
||||
createTestRun(request, name, persist) {
|
||||
checkProposedApiEnabled(extension);
|
||||
return extHostTesting.createTestRunTask(extension.identifier.value, request, name, persist);
|
||||
return extHostTesting.createTestRun(extension.identifier.value, request, name, persist);
|
||||
},
|
||||
get onDidChangeTestResults() {
|
||||
checkProposedApiEnabled(extension);
|
||||
@@ -370,6 +370,9 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
|
||||
},
|
||||
};
|
||||
|
||||
// todo@connor4312: backwards compatibility for a short period
|
||||
(test as any).createTestRunTask = test.createTestRun;
|
||||
|
||||
// namespace: extensions
|
||||
const extensions: typeof vscode.extensions = {
|
||||
getExtension(extensionId: string): vscode.Extension<any> | undefined {
|
||||
|
||||
Reference in New Issue
Block a user