|
1 |
| -/// <reference path="../../../src/harness/fourslashRunner.ts"/> |
| 1 | +/// <reference path="../../../src/harness/fourslash.ts"/> |
2 | 2 |
|
3 | 3 | // declare var FourSlash;
|
4 | 4 | // module ts {
|
@@ -60,7 +60,6 @@ enum EmitReturnStatus {
|
60 | 60 | }
|
61 | 61 |
|
62 | 62 | module FourSlashInterface {
|
63 |
| - declare var FourSlash; |
64 | 63 |
|
65 | 64 | export interface Marker {
|
66 | 65 | fileName: string;
|
@@ -219,15 +218,6 @@ module FourSlashInterface {
|
219 | 218 | FourSlash.currentTestState.verifyReferencesAtPositionListContains(range.fileName, range.start, range.end, isWriteAccess);
|
220 | 219 | }
|
221 | 220 |
|
222 |
| - public implementorsCountIs(count: number) { |
223 |
| - FourSlash.currentTestState.verifyImplementorsCountIs(count); |
224 |
| - } |
225 |
| - |
226 |
| - // Add tests for this. |
227 |
| - public currentParameterIsVariable() { |
228 |
| - FourSlash.currentTestState.verifyCurrentParameterIsVariable(!this.negative); |
229 |
| - } |
230 |
| - |
231 | 221 | public signatureHelpPresent() {
|
232 | 222 | FourSlash.currentTestState.verifySignatureHelpPresent(!this.negative);
|
233 | 223 | }
|
@@ -379,28 +369,19 @@ module FourSlashInterface {
|
379 | 369 | FourSlash.currentTestState.verifyNoMatchingBracePosition(bracePosition);
|
380 | 370 | }
|
381 | 371 |
|
382 |
| - public setVerifyDocComments(val: boolean) { |
383 |
| - FourSlash.currentTestState.setVerifyDocComments(val); |
384 |
| - } |
385 |
| - |
386 | 372 | public getScriptLexicalStructureListCount(count: number) {
|
387 | 373 | FourSlash.currentTestState.verifyGetScriptLexicalStructureListCount(count);
|
388 | 374 | }
|
389 | 375 |
|
| 376 | + // TODO: figure out what to do with the unused arguments. |
390 | 377 | public getScriptLexicalStructureListContains(
|
391 | 378 | name: string,
|
392 | 379 | kind: string,
|
393 | 380 | fileName?: string,
|
394 | 381 | parentName?: string,
|
395 | 382 | isAdditionalSpan?: boolean,
|
396 | 383 | markerPosition?: number) {
|
397 |
| - FourSlash.currentTestState.verifGetScriptLexicalStructureListContains( |
398 |
| - name, |
399 |
| - kind, |
400 |
| - fileName, |
401 |
| - parentName, |
402 |
| - isAdditionalSpan, |
403 |
| - markerPosition); |
| 384 | + FourSlash.currentTestState.verifyGetScriptLexicalStructureListContains(name, kind); |
404 | 385 | }
|
405 | 386 |
|
406 | 387 | public navigationItemsListCount(count: number, searchValue: string, matchKind?: string) {
|
|
0 commit comments