Home
last modified time | relevance | path

Searched refs:runBaseline (Results 1 – 25 of 35) sorted by relevance

12

/third_party/typescript/src/testRunner/unittests/config/
DtsconfigParsingWatchOptions.ts56 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…
DcommandLineParsing.ts20 …Harness.Baseline.runBaseline(`config/commandLineParsing/parseCommandLine/${subScenario}.js`, basel…
211 …Harness.Baseline.runBaseline(`config/commandLineParsing/parseBuildOptions/${subScenario}.js`, base…
DinitializeTSConfig.ts10 Harness.Baseline.runBaseline(outputFileName, initResult, { PrintDiff: true });
DshowConfig.ts33 … Harness.Baseline.runBaseline(outputFileName, JSON.stringify(initResult, null, 4) + "\n");
/third_party/typescript/src/testRunner/
Dtest262Runner.ts66 …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…
DprojectsRunner.ts223 …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…
DexternalCompileRunner.ts94 …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…
DcompilerRunner.ts275 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/
Dtranspile.ts64 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);
DconvertToAsyncFunction.ts320 it(`${caption} [${extension}]`, () => runBaseline(extension)));
322 function runBaseline(extension: Extension) {
377 Harness.Baseline.runBaseline(`${baselineFolder}/${caption}${extension}`, outputText);
DorganizeImports.ts1010 …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/
Dhelpers.ts87 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/
DwatchApi.ts393 …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("\…
Dincremental.ts43 …Harness.Baseline.runBaseline(`${isBuild(argsToPass) ? "tsbuild/watchMode" : "tscWatch"}/incrementa…
/third_party/typescript/src/testRunner/unittests/
DjsDocParsing.ts9 … Harness.Baseline.runBaseline("JSDocParsing/TypeExpressions.parsesCorrectly." + name + ".json",
99 … Harness.Baseline.runBaseline("JSDocParsing/DocComments.parsesCorrectly." + name + ".json",
DjsonParserRecovery.ts7 Harness.Baseline.runBaseline(
DcustomTransforms.ts29 Harness.Baseline.runBaseline(`customTransforms/${name}.js`, content);
Dtransform.ts76 … Harness.Baseline.runBaseline(`transformApi/transformsCorrectly.${testName}.js`, test());
90 … Harness.Baseline.runBaseline(`transformApi/transformsCorrectly.${testName}.js`, sourceText);
Dprinter.ts6 Harness.Baseline.runBaseline(`printerApi/${prefix}.${name}.js`,
DpublicApi.ts13 Harness.Baseline.runBaseline(api, fileContent, { PrintDiff: true });
/third_party/typescript/src/testRunner/unittests/tsc/
DcancellationToken.ts108 …Harness.Baseline.runBaseline(`tsc/cancellationToken/${scenario.split(" ").join("-")}.js`, baseline…
Dhelpers.ts211 Harness.Baseline.runBaseline(file, text);
/third_party/typescript/src/testRunner/unittests/tsbuild/
Dsample.ts288 …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/
DharnessIO.ts710 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
DfourslashImpl.ts1172 …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 …]

12