diff options
Diffstat (limited to 'src/test/MockSelection.ts')
| -rw-r--r-- | src/test/MockSelection.ts | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/src/test/MockSelection.ts b/src/test/MockSelection.ts deleted file mode 100644 index e72ff8b..0000000 --- a/src/test/MockSelection.ts +++ /dev/null @@ -1,35 +0,0 @@ -import * as vscode from "vscode"; -import MockPosition from "./MockPosition"; - -export default class MockSelection implements vscode.Selection { - public anchor: vscode.Position; - public active: vscode.Position; - public isReversed: boolean; - public start: vscode.Position; - public end: vscode.Position; - public isEmpty: boolean; - public isSingleLine: boolean; - - public constructor(a: MockPosition) { - this.active = a; - this.start = a; - } - - public contains(positionOrRange: vscode.Range | vscode.Position): boolean { - throw new Error("Method not implemented."); - } - public isEqual(other: vscode.Range): boolean { - throw new Error("Method not implemented."); - } - public intersection(range: vscode.Range): vscode.Range { - throw new Error("Method not implemented."); - } - public union(other: vscode.Range): vscode.Range { - throw new Error("Method not implemented."); - } - public with(start?: vscode.Position, end?: vscode.Position): vscode.Range; - public with(change: { start?: vscode.Position; end?: vscode.Position; }): vscode.Range; - public with(start?: any, end?: any): any { - throw new Error("Method not implemented."); - } -} |