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,28 @@ import { IConnectionProfile } from 'sql/platform/connection/common/interfaces';
|
||||
import { ConnectionManagementInfo } from 'sql/platform/connection/common/connectionManagementInfo';
|
||||
import { ConnectionProviderProperties } from 'sql/platform/capabilities/common/capabilitiesService';
|
||||
|
||||
/**
|
||||
* A range in the editor. This interface is suitable for serialization.
|
||||
*/
|
||||
export interface IRange {
|
||||
/**
|
||||
* Line number on which the range starts (starts at 1).
|
||||
*/
|
||||
readonly startLineNumber: number;
|
||||
/**
|
||||
* Column on which the range starts in line `startLineNumber` (starts at 1).
|
||||
*/
|
||||
readonly startColumn: number;
|
||||
/**
|
||||
* Line number on which the range ends.
|
||||
*/
|
||||
readonly endLineNumber: number;
|
||||
/**
|
||||
* Column on which the range ends in line `endLineNumber`.
|
||||
*/
|
||||
readonly endColumn: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* Options for the actions that could happen after connecting is complete
|
||||
*/
|
||||
@@ -302,7 +324,7 @@ export interface INewConnectionParams {
|
||||
connectionType: ConnectionType;
|
||||
input?: IConnectableInput;
|
||||
runQueryOnCompletion?: RunQueryOnConnectionMode;
|
||||
querySelection?: azdata.ISelectionData;
|
||||
queryRange?: IRange;
|
||||
showDashboard?: boolean;
|
||||
providers?: string[];
|
||||
isEditConnection?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user