/third_party/typescript/src/testRunner/unittests/config/ |
D | tsconfigParsingWatchOptions.ts | 56 runBaseline(`${subScenario} with json api`, baseline); 64 runBaseline(`${subScenario} with jsonSourceFile api`, baseline); 78 function runBaseline(subScenario: string, baseline: readonly string[]) { 79 …Harness.Baseline.runBaseline(`config/tsconfigParsingWatchOptions/${subScenario}.js`, baseline.join…
|
D | commandLineParsing.ts | 20 …Harness.Baseline.runBaseline(`config/commandLineParsing/parseCommandLine/${subScenario}.js`, basel… 211 …Harness.Baseline.runBaseline(`config/commandLineParsing/parseBuildOptions/${subScenario}.js`, base…
|
D | initializeTSConfig.ts | 10 Harness.Baseline.runBaseline(outputFileName, initResult, { PrintDiff: true });
|
D | showConfig.ts | 33 … Harness.Baseline.runBaseline(outputFileName, JSON.stringify(initResult, null, 4) + "\n");
|
/third_party/typescript/src/testRunner/ |
D | test262Runner.ts | 66 …Baseline.runBaseline(testState.filename + ".output.js", Compiler.collateOutputs(files), Test262Bas… 73 …Baseline.runBaseline(testState.filename + ".errors.txt", baseline, Test262BaselineRunner.baselineO… 83 …Baseline.runBaseline(testState.filename + ".AST.txt", Utils.sourceFileToJSON(sourceFile), Test262B…
|
D | projectsRunner.ts | 223 …Harness.Baseline.runBaseline(this.getBaselineFolder(this.compilerResult.moduleKind) + this.testCas… 228 …Harness.Baseline.runBaseline(this.getBaselineFolder(this.compilerResult.moduleKind) + this.testCas… 254 …Harness.Baseline.runBaseline(this.getBaselineFolder(this.compilerResult.moduleKind) + diskRelative… 281 …Harness.Baseline.runBaseline(this.getBaselineFolder(this.compilerResult.moduleKind) + this.testCas…
|
D | externalCompileRunner.ts | 94 …Baseline.runBaseline(`${cls.kind()}/${directoryName}.log`, cls.report(cp.spawnSync(`node`, args, {… 148 …Baseline.runBaseline(`${cls.kind()}/${directory}.log`, cls.report(cp.spawnSync(`docker`, ["run", i…
|
D | compilerRunner.ts | 275 Baseline.runBaseline(this.configuredName.replace(/\.tsx?$/, ".trace.json"), 287 … Baseline.runBaseline(this.configuredName.replace(/\.tsx?$/, ".sourcemap.txt"), baseline);
|
/third_party/typescript/src/testRunner/unittests/services/ |
D | transpile.ts | 64 Harness.Baseline.runBaseline(justName.replace(/\.tsx?$/, ".errors.txt"), 70 … Harness.Baseline.runBaseline(justName.replace(/\.tsx?$/, ".oldTranspile.errors.txt"), 77 …Harness.Baseline.runBaseline(justName.replace(/\.tsx?$/, Extension.Js), transpileResult.outputText… 82 … Harness.Baseline.runBaseline(justName.replace(/\.tsx?$/, ".oldTranspile.js"), oldTranspileResult);
|
D | convertToAsyncFunction.ts | 320 it(`${caption} [${extension}]`, () => runBaseline(extension))); 322 function runBaseline(extension: Extension) { 377 Harness.Baseline.runBaseline(`${baselineFolder}/${caption}${extension}`, outputText);
|
D | organizeImports.ts | 1010 …it(testName, () => runBaseline(`organizeImports/${testName}.ts`, skipDestructiveCodeActions, testF… 1013 …function runBaseline(baselinePath: string, skipDestructiveCodeActions: boolean, testFile: TestFSWi… function 1021 Harness.Baseline.runBaseline(baselinePath, [
|
/third_party/typescript/src/testRunner/unittests/services/extract/ |
D | helpers.ts | 87 it(`${caption} [${extension}]`, () => runBaseline(extension))); 89 function runBaseline(extension: Extension) { 129 …Harness.Baseline.runBaseline(`${baselineFolder}/${caption}${extension}`, data.join(newLineCharacte…
|
/third_party/typescript/src/testRunner/unittests/tscWatch/ |
D | watchApi.ts | 393 …Harness.Baseline.runBaseline(`tscWatch/watchApi/noEmit-with-composite-with-semantic-builder.js`, b… 396 …Harness.Baseline.runBaseline(`tscWatch/watchApi/noEmit-with-composite-with-emit-builder.js`, emitB… 429 …Harness.Baseline.runBaseline(`tscWatch/watchApi/noEmitOnError-with-composite-with-semantic-builder… 432 …Harness.Baseline.runBaseline(`tscWatch/watchApi/noEmitOnError-with-composite-with-emit-builder.js`… 476 …Harness.Baseline.runBaseline(`tscWatch/watchApi/semantic-builder-emitOnlyDts.js`, baseline.join("\…
|
D | incremental.ts | 43 …Harness.Baseline.runBaseline(`${isBuild(argsToPass) ? "tsbuild/watchMode" : "tscWatch"}/incrementa…
|
/third_party/typescript/src/testRunner/unittests/ |
D | jsDocParsing.ts | 9 … Harness.Baseline.runBaseline("JSDocParsing/TypeExpressions.parsesCorrectly." + name + ".json", 99 … Harness.Baseline.runBaseline("JSDocParsing/DocComments.parsesCorrectly." + name + ".json",
|
D | jsonParserRecovery.ts | 7 Harness.Baseline.runBaseline(
|
D | customTransforms.ts | 29 Harness.Baseline.runBaseline(`customTransforms/${name}.js`, content);
|
D | transform.ts | 76 … Harness.Baseline.runBaseline(`transformApi/transformsCorrectly.${testName}.js`, test()); 90 … Harness.Baseline.runBaseline(`transformApi/transformsCorrectly.${testName}.js`, sourceText);
|
D | printer.ts | 6 Harness.Baseline.runBaseline(`printerApi/${prefix}.${name}.js`,
|
D | publicApi.ts | 13 Harness.Baseline.runBaseline(api, fileContent, { PrintDiff: true });
|
/third_party/typescript/src/testRunner/unittests/tsc/ |
D | cancellationToken.ts | 108 …Harness.Baseline.runBaseline(`tsc/cancellationToken/${scenario.split(" ").join("-")}.js`, baseline…
|
D | helpers.ts | 211 Harness.Baseline.runBaseline(file, text);
|
/third_party/typescript/src/testRunner/unittests/tsbuild/ |
D | sample.ts | 288 …Harness.Baseline.runBaseline(`tsbuild/sample1/building-using-getNextInvalidatedProject.js`, baseli… 368 …Harness.Baseline.runBaseline(`tsbuild/sample1/invalidates-projects-correctly.js`, baseline.join("\…
|
/third_party/typescript/src/harness/ |
D | harnessIO.ts | 710 Baseline.runBaseline(baselinePath.replace(/\.tsx?$/, ".errors.txt"), 773 Baseline.runBaseline(outputFileName + fullExtension, fullBaseLine, opts); 865 Baseline.runBaseline(baselinePath.replace(/\.tsx?/, ".js.map"), sourceMapCode); 932 …Baseline.runBaseline(baselinePath.replace(/\.tsx?/, ts.Extension.Js), jsCode.length > 0 ? tsCode +… 1416 …export function runBaseline(relativeFileName: string, actual: string | null, opts?: BaselineOption… function
|
D | fourslashImpl.ts | 1172 …Harness.Baseline.runBaseline(this.getBaselineFileNameForContainingTestFile(`${suffix}.baseline.jso… 1186 …Harness.Baseline.runBaseline(this.getBaselineFileNameForContainingTestFile(".baseline.jsonc"), bas… 1521 … Harness.Baseline.runBaseline(this.getBaselineFileNameForContainingTestFile(), baselineContent); 1834 …Harness.Baseline.runBaseline(baselineFile, this.baselineCurrentFileLocations(pos => this.getBreakp… 1898 …Harness.Baseline.runBaseline(ts.Debug.checkDefined(this.testData.globalOptions[MetadataOptionNames… 1915 Harness.Baseline.runBaseline(this.getBaselineFileNameForContainingTestFile(), result); 1930 Harness.Baseline.runBaseline(this.getBaselineFileNameForContainingTestFile(), result); 1959 Harness.Baseline.runBaseline(baselineFile, stringify(result)); 1968 Harness.Baseline.runBaseline(baselineFile, stringify(result)); 1987 Harness.Baseline.runBaseline(baselineFile, stringify(result)); [all …]
|