Add plumbing and simple notebookService tests (#10349)

This commit is contained in:
Chris LaFreniere
2020-05-19 21:36:59 -07:00
committed by GitHub
parent 5136a8b54c
commit 6d710c7144
3 changed files with 105 additions and 4 deletions

View File

@@ -0,0 +1,16 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the Source EULA. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { TestQueryManagementService } from 'sql/workbench/services/query/test/common/testQueryManagementService';
import { Event, Emitter } from 'vs/base/common/event';
export class NBTestQueryManagementService extends TestQueryManagementService {
readonly _onHandlerAdded = new Emitter<string>();
onHandlerAdded: Event<string> = this._onHandlerAdded.event;
getRegisteredProviders(): string[] {
return ['sql'];
}
}