From b446b9e596fc0487b88597d8e818dae61512f309 Mon Sep 17 00:00:00 2001 From: Rowan Goemans Date: Fri, 29 Dec 2017 00:15:59 +0100 Subject: -- Added more unit tests. -- Added support for alignas. --- src/test/MockPosition.ts | 39 --------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 src/test/MockPosition.ts (limited to 'src/test/MockPosition.ts') 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."); - } - -} -- cgit v1.2.3