mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-21 01:25:37 -05:00
Query Runner Tests (#10252)
* rework some code and write an inital test * fix strict * add more to standard test * add to existing workflow test * fix tests * simplify the code * add more tests * remove bad import * fix compile * fix timestampiong
This commit is contained in:
@@ -12,6 +12,8 @@ import { TestObjectExplorerService } from 'sql/workbench/services/objectExplorer
|
||||
import { IObjectExplorerService } from 'sql/workbench/services/objectExplorer/browser/objectExplorerService';
|
||||
import { IQueryEditorService } from 'sql/workbench/services/queryEditor/common/queryEditorService';
|
||||
import { TestQueryEditorService } from 'sql/workbench/services/queryEditor/test/common/testQueryEditorService';
|
||||
import { IQueryManagementService } from 'sql/workbench/services/query/common/queryManagement';
|
||||
import { TestQueryManagementService } from 'sql/workbench/services/query/test/common/testQueryManagementService';
|
||||
|
||||
export function workbenchInstantiationService(): ITestInstantiationService {
|
||||
const instantiationService = vsworkbenchInstantiationService();
|
||||
@@ -19,5 +21,6 @@ export function workbenchInstantiationService(): ITestInstantiationService {
|
||||
instantiationService.stub(IConnectionManagementService, new TestConnectionManagementService());
|
||||
instantiationService.stub(IQueryModelService, new TestQueryModelService());
|
||||
instantiationService.stub(IObjectExplorerService, new TestObjectExplorerService());
|
||||
instantiationService.stub(IQueryManagementService, new TestQueryManagementService());
|
||||
return instantiationService;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user