diff options
| author | Christoph Schlosser <thisisagap@gmail.com> | 2017-12-08 17:22:57 +0100 |
|---|---|---|
| committer | Christoph Schlosser <christophschlosser@users.noreply.github.com> | 2017-12-16 21:48:09 +0100 |
| commit | 86595e38975f902d061df4a1e60783bfb725ad2f (patch) | |
| tree | d51eca8c52cba6bac8f3e1d13fcd53cee3d5d7ef /src/test/MockLine.ts | |
| parent | ab3a71d958273915512f5da948ef73c8b5ac26d8 (diff) | |
| download | doxdocgen-86595e38975f902d061df4a1e60783bfb725ad2f.tar.gz | |
Add basic tests
Diffstat (limited to 'src/test/MockLine.ts')
| -rw-r--r-- | src/test/MockLine.ts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/test/MockLine.ts b/src/test/MockLine.ts new file mode 100644 index 0000000..7196a38 --- /dev/null +++ b/src/test/MockLine.ts @@ -0,0 +1,13 @@ +import * as vscode from "vscode"; + +export default class MockLine implements vscode.TextLine { + public lineNumber: number; + public text: string; + public range: vscode.Range; + public rangeIncludingLineBreak: vscode.Range; + public firstNonWhitespaceCharacterIndex: number; + public isEmptyOrWhitespace: boolean; + public constructor(text: string) { + this.text = text; + } +} |