summaryrefslogtreecommitdiffstats
path: root/src/test/MockPosition.ts
diff options
context:
space:
mode:
authorRowan Goemans <RB.Goemans@student.han.nl>2017-12-29 00:15:59 +0100
committerChristoph Schlosser <christophschlosser@users.noreply.github.com>2018-02-20 22:02:22 +0100
commitb446b9e596fc0487b88597d8e818dae61512f309 (patch)
treec7ac9e158964dd88d4cc1839f5ed0da8acce3369 /src/test/MockPosition.ts
parent5b0912d99732536ae18d3c70730cc6df2ed3af24 (diff)
downloaddoxdocgen-b446b9e596fc0487b88597d8e818dae61512f309.tar.gz
-- Added more unit tests.
-- Added support for alignas.
Diffstat (limited to 'src/test/MockPosition.ts')
-rw-r--r--src/test/MockPosition.ts39
1 files changed, 0 insertions, 39 deletions
diff --git a/src/test/MockPosition.ts b/src/test/MockPosition.ts
deleted file mode 100644
index 0753670..0000000
--- a/src/test/MockPosition.ts
+++ /dev/null
@@ -1,39 +0,0 @@
-import * as vscode from "vscode";
-
-export default class MockPosition implements vscode.Position {
- public line: number;
- public character: number;
- public constructor(l: number, c: number) {
- this.line = l;
- this.character = c;
- }
- public isBefore(other: vscode.Position): boolean {
- throw new Error("Method not implemented.");
- }
- public isBeforeOrEqual(other: vscode.Position): boolean {
- throw new Error("Method not implemented.");
- }
- public isAfter(other: vscode.Position): boolean {
- throw new Error("Method not implemented.");
- }
- public isAfterOrEqual(other: vscode.Position): boolean {
- throw new Error("Method not implemented.");
- }
- public isEqual(other: vscode.Position): boolean {
- throw new Error("Method not implemented.");
- }
- public compareTo(other: vscode.Position): number {
- throw new Error("Method not implemented.");
- }
- public translate(lineDelta?: number, characterDelta?: number): vscode.Position;
- public translate(change: { lineDelta?: number; characterDelta?: number; }): vscode.Position;
- public translate(lineDelta?: any, characterDelta?: any): any {
- throw new Error("Method not implemented.");
- }
- public with(line?: number, character?: number): vscode.Position;
- public with(change: { line?: number; character?: number; }): vscode.Position;
- public with(line?: any, character?: any): any {
- throw new Error("Method not implemented.");
- }
-
-}