mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-29 09:35:38 -05:00
enable filtering, account node context menu and introduce flat account tree node (#13066)
* add search box * switch back to the traditional azure tree * Revert "switch back to the traditional azure tree" This reverts commit 7904b9cd599591e94412ec79da23590068de46b6. * flat account tree node and filtering * add comment * context menu * fix test * handle disposable * add logging
This commit is contained in:
@@ -28,6 +28,7 @@ import { Registry } from 'vs/platform/registry/common/platform';
|
||||
import { SyncDescriptor } from 'vs/platform/instantiation/common/descriptors';
|
||||
import { TestTreeView } from 'sql/workbench/services/connection/test/browser/testTreeView';
|
||||
import { ConnectionTreeService, IConnectionTreeService } from 'sql/workbench/services/connection/common/connectionTreeService';
|
||||
import { IContextKeyService } from 'vs/platform/contextkey/common/contextkey';
|
||||
suite('ConnectionDialogWidget tests', () => {
|
||||
const testTreeViewId = 'testTreeView';
|
||||
const ViewsRegistry = Registry.as<IViewsRegistry>(Extensions.ViewsRegistry);
|
||||
@@ -53,6 +54,8 @@ suite('ConnectionDialogWidget tests', () => {
|
||||
cmInstantiationService = new TestInstantiationService();
|
||||
cmInstantiationService.stub(IStorageService, new TestStorageService());
|
||||
cmInstantiationService.stub(IConnectionTreeService, new ConnectionTreeService());
|
||||
cmInstantiationService.stub(IContextKeyService, new MockContextKeyService());
|
||||
|
||||
mockConnectionManagementService = TypeMoq.Mock.ofType(ConnectionManagementService, TypeMoq.MockBehavior.Strict,
|
||||
undefined, // connection store
|
||||
undefined, // connection status manager
|
||||
|
||||
Reference in New Issue
Block a user