mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
tests for KernelsDropdown class (#11476)
* add return type for a function * tests for KernelsDropdown class * remove inadvertent change * remove inadvertent change * formatting changes * pr feedback * pr feedback
This commit is contained in:
@@ -16,6 +16,7 @@ import { RenderMimeRegistry } from 'sql/workbench/services/notebook/browser/outp
|
||||
import { ConnectionProfile } from 'sql/platform/connection/common/connectionProfile';
|
||||
import { URI } from 'vs/base/common/uri';
|
||||
import { QueryTextEditor } from 'sql/workbench/browser/modelComponents/queryTextEditor';
|
||||
import { IContextViewProvider, IDelegate } from 'vs/base/browser/ui/contextview/contextview';
|
||||
|
||||
export class NotebookModelStub implements INotebookModel {
|
||||
constructor(private _languageInfo?: nb.ILanguageInfo) {
|
||||
@@ -693,3 +694,20 @@ export class CellEditorProviderStub implements ICellEditorProvider {
|
||||
throw new Error('Method not implemented.');
|
||||
}
|
||||
}
|
||||
|
||||
export interface IContextViewEmitterArgs {
|
||||
delegate: IDelegate,
|
||||
container?: HTMLElement
|
||||
}
|
||||
|
||||
export class ContextViewProviderStub implements IContextViewProvider {
|
||||
showContextView(delegate: IDelegate, container?: HTMLElement): void {
|
||||
throw new Error('Method not implemented.');
|
||||
}
|
||||
hideContextView(): void {
|
||||
throw new Error('Method not implemented.');
|
||||
}
|
||||
layout(): void {
|
||||
throw new Error('Method not implemented.');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user