Searched refs:expectedRange (Results 1 – 3 of 3) sorted by relevance
/third_party/typescript/src/testRunner/unittests/services/extract/ |
D | ranges.ts | 24 const expectedRange = t.ranges.get("extracted"); constant 25 if (expectedRange) { 36 assert.equal(pos, expectedRange.pos, "incorrect pos of range"); 37 assert.equal(end, expectedRange.end, "incorrect end of range");
|
/third_party/typescript/src/harness/ |
D | fourslashImpl.ts | 1616 … kindModifiers: string | undefined, fileToRename: string | undefined, expectedRange: Range | undef… 1628 if (!expectedRange) { 1632 expectedRange = this.getRanges()[0]; 1635 if (renameInfo.triggerSpan.start !== expectedRange.pos || 1636 ts.textSpanEnd(renameInfo.triggerSpan) !== expectedRange.end) { 1637 …this.raiseError("Expected triggerSpan [" + expectedRange.pos + "," + expectedRange.end + "). Got … 3344 ts.zipWith(expectedRangesInFile, spansInFile, (expectedRange, span) => { 3345 …if (span.textSpan.start !== expectedRange.pos || ts.textSpanEnd(span.textSpan) !== expectedRange.e… 3346 …ot match, actual: ${stringify(span.textSpan)}, expected: ${expectedRange.pos}--${expectedRange.end…
|
D | fourslashInterfaceImpl.ts | 543 …string, kind?: string, kindModifiers?: string, fileToRename?: string, expectedRange?: FourSlash.Ra… 544 …Succeeded(displayName, fullDisplayName, kind, kindModifiers, fileToRename, expectedRange, options);
|