diff options
| author | Rowan Goemans <RB.Goemans@student.han.nl> | 2017-12-29 00:15:59 +0100 |
|---|---|---|
| committer | Christoph Schlosser <christophschlosser@users.noreply.github.com> | 2018-02-20 22:02:22 +0100 |
| commit | b446b9e596fc0487b88597d8e818dae61512f309 (patch) | |
| tree | c7ac9e158964dd88d4cc1839f5ed0da8acce3369 /src/test/MockSelection.ts | |
| parent | 5b0912d99732536ae18d3c70730cc6df2ed3af24 (diff) | |
| download | doxdocgen-b446b9e596fc0487b88597d8e818dae61512f309.tar.gz | |
-- Added more unit tests.
-- Added support for alignas.
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."); - } -} |