mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
Add test for opening existing SQL file and typing text into it (#5816)
* Add test for opening existing SQL file and typing text into it * Clean up * More cleanup, remove unneeded queryEditor and add smoke test scripts * Update comments to be clearer
This commit is contained in:
@@ -23,6 +23,7 @@ import { Terminal } from '../terminal/terminal';
|
||||
// {{SQL CARBON EDIT}}
|
||||
import { ConnectionDialog } from '../../sql/connectionDialog/connectionDialog';
|
||||
import { Profiler } from '../../sql/profiler/profiler';
|
||||
import { QueryEditors } from '../../sql/queryEditor/queryEditors';
|
||||
// {{END}}
|
||||
|
||||
export interface Commands {
|
||||
@@ -50,6 +51,7 @@ export class Workbench {
|
||||
// {{SQL CARBON EDIT}}
|
||||
readonly connectionDialog: ConnectionDialog;
|
||||
readonly profiler: Profiler;
|
||||
readonly queryEditors: QueryEditors;
|
||||
// {{END}}
|
||||
|
||||
constructor(code: Code, userDataPath: string) {
|
||||
@@ -71,6 +73,7 @@ export class Workbench {
|
||||
// {{SQL CARBON EDIT}}
|
||||
this.connectionDialog = new ConnectionDialog(code);
|
||||
this.profiler = new Profiler(code, this.quickopen);
|
||||
this.queryEditors = new QueryEditors(code, this.quickopen);
|
||||
// {{END}}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user