/third_party/typescript/src/testRunner/unittests/tsserver/ |
D | dynamicFiles.ts | 14 const host = createServerHost([libFile]); 22 checkProjectActualFiles(project, [file.path, libFile.path]); 73 …const host = createServerHost([config, libFile], { useCaseSensitiveFileNames: true, currentDirecto… 77 checkProjectActualFiles(service.inferredProjects[0], [untitledFile, libFile.path]); 88 …ctualFiles(service.configuredProjects.get(config.path)!, [untitled.path, libFile.path, config.path… 89 checkProjectActualFiles(service.inferredProjects[0], [untitledFile, libFile.path]); 92 …ctualFiles(service.configuredProjects.get(config.path)!, [untitled.path, libFile.path, config.path… 93 checkProjectActualFiles(service.inferredProjects[0], [untitledFile, libFile.path]); 97 …ctualFiles(service.configuredProjects.get(config.path)!, [untitled.path, libFile.path, config.path… 98 checkProjectActualFiles(service.inferredProjects[0], [untitledFile, libFile.path]); [all …]
|
D | reloadProjects.ts | 43 const host = createServerHost([configFile, libFile, file1, file2]); 49 … checkProjectActualFiles(project, [libFile.path, file1.path, file2.path, configFile.path]); 58 …checkProjectActualFiles(project, [libFile.path, file1.path, file2.path, configFile.path, moduleFil… 64 const host = createServerHost([libFile, file1, file2]); 73 checkProjectActualFiles(project, [libFile.path, file1.path, file2.path]); 82 … checkProjectActualFiles(project, [libFile.path, file1.path, file2.path, moduleFile.path]); 88 const host = createServerHost([libFile, file1, file2]); 99 checkProjectActualFiles(project, [libFile.path, file1.path, file2.path]); 108 … checkProjectActualFiles(project, [libFile.path, file1.path, file2.path, moduleFile.path]); 114 const host = createServerHost([libFile, file1, file2, configFile]); [all …]
|
D | watchEnvironment.ts | 25 const files = [index, file1, configFile, libFile]; constant 81 const files = [configFile, file1, file2, libFile]; constant 116 …const host = createServerHost([index, file1, configFile, libFile, nodeModulesExistingUnusedFile], … 171 [libFile, file], 187 const files = [libFile, commonFile2, configFile]; 208 const files = [libFile, commonFile2, configFile]; 229 const files = [libFile, commonFile2, configFile]; 254 const files = [libFile, commonFile2, configFile]; 271 const files = [libFile, commonFile2, configFile]; 288 const files = [libFile, commonFile2, configFile]; [all …]
|
D | inferredProjects.ts | 16 const host = createServerHost([appFile, moduleFile, libFile]); 46 const host = createServerHost([file1, file2, file3, libFile]); 54 …ctualFiles(projectService.inferredProjects[0], [file1.path, file2.path, file3.path, libFile.path]); 61 …heckProjectActualFiles(projectService.inferredProjects[0], [file2.path, file3.path, libFile.path]); 354 const host = createServerHost([appFile, libFile, config, jsFile1, jsFile2]); 374 … checkProjectActualFiles(projectService.inferredProjects[0], [jsFile1.path, libFile.path]); 376 checkProjectActualFiles(project, [appFile.path, config.path, libFile.path]); 384 … checkProjectActualFiles(projectService.inferredProjects[0], [jsFile2.path, libFile.path]); 385 checkProjectActualFiles(project, [appFile.path, config.path, libFile.path]); 391 … checkProjectActualFiles(projectService.inferredProjects[0], [jsFile2.path, libFile.path]); [all …]
|
D | projects.ts | 9 const host = createServerHost([file1, libFile]); 212 const host = createServerHost([f1, f2, libFile]); 220 checkProjectActualFiles(service.externalProjects[0], [f1.path, f2.path, libFile.path]); 244 const host = createServerHost([f1, f2, libFile]); 252 checkProjectActualFiles(service.externalProjects[0], [f1.path, f2.path, libFile.path]); 370 const host = createServerHost([file1, libFile, constructorFile, bliss, customTypesMap]); 390 fileNames: [libFile.path, file1.path, constructorFile.path, bliss.path], 739 … createServerHost([file1, file2, config1, libFile], { executingFilePath: combinePaths(getDirectory… 761 … createServerHost([file1, file2, config2, libFile], { executingFilePath: combinePaths(getDirectory… 780 … createServerHost([file1, file2, config3, libFile], { executingFilePath: combinePaths(getDirectory… [all …]
|
D | projectReferenceCompileOnSave.ts | 42 … const host = createServerHost([dependencyTs, dependencyConfig, usageTs, usageConfig, libFile]); 66 … const host = createServerHost([dependencyTs, dependencyConfig, usageTs, usageConfig, libFile]); 90 … const host = createServerHost([dependencyTs, dependencyConfig, usageTs, usageConfig, libFile]); 120 … const host = createServerHost([dependencyTs, dependencyConfig, usageTs, usageConfig, libFile]); 150 … const host = createServerHost([dependencyTs, dependencyConfig, usageTs, usageConfig, libFile]); 191 … const host = createServerHost([dependencyTs, dependencyConfig, usageTs, usageConfig, libFile]); 232 … const host = createServerHost([dependencyTs, dependencyConfig, usageTs, usageConfig, libFile]); 262 … const host = createServerHost([dependencyTs, dependencyConfig, usageTs, usageConfig, libFile]); 292 … const host = createServerHost([dependencyTs, dependencyConfig, usageTs, usageConfig, libFile]); 333 … const host = createServerHost([dependencyTs, dependencyConfig, usageTs, usageConfig, libFile]); [all …]
|
D | projectErrors.ts | 37 const host = createServerHost([file1, libFile]); 90 const host = createServerHost([file1, config, libFile]); 234 const host = createServerHost([libFile, fileInRoot, fileInProjectRoot]); 303 const host = createServerHost([file, libFile]); 330 const files = [libFile, app, serverUtilities, backendTest]; 368 const files = [libFile, aFile, config, plugin, pluginProposed]; 408 allFiles: () => [libFile, file, config], 432 const host = createServerHost([file, libFile, configFile]); 449 const host = createServerHost([file, libFile, configFile]); 467 const host = createServerHost([file, libFile, configFile]); [all …]
|
D | configFileSearch.ts | 40 const host = createServerHost([f1, libFile, configFile, configFile2]); 66 const host = createServerHost([f1, libFile, configFile, configFile2]); 98 const { host, projectService } = openClientFile([file, libFile, tsconfig]); 110 const { host, projectService } = openClientFile([file, libFile]); 126 …const host = createServerHost([libFile, { path, content: "const x = 10" }], { useCaseSensitiveFile…
|
D | compileOnSave.ts | 97 …Host([moduleFile1, file1Consumer1, file1Consumer2, globalFile3, moduleFile2, configFile, libFile]); 122 …Host([moduleFile1, file1Consumer1, file1Consumer2, globalFile3, moduleFile2, configFile, libFile]); 169 …Host([moduleFile1, file1Consumer1, file1Consumer2, globalFile3, moduleFile2, configFile, libFile]); 185 …Host([moduleFile1, file1Consumer1, file1Consumer2, globalFile3, moduleFile2, configFile, libFile]); 199 …Host([moduleFile1, file1Consumer1, file1Consumer2, globalFile3, moduleFile2, configFile, libFile]); 235 const host = createServerHost([moduleFile1, file1Consumer1, configFile, libFile]); 252 …Host([moduleFile1, file1Consumer1, file1Consumer2, globalFile3, moduleFile2, configFile, libFile]); 278 … const host = createServerHost([moduleFile1, file1Consumer1, file1Consumer2, configFile, libFile]); 296 … const host = createServerHost([moduleFile1, file1Consumer1, file1Consumer2, configFile, libFile]); 318 … createServerHost([moduleFile1, file1Consumer1, file1Consumer2, configFile2, configFile, libFile]); [all …]
|
D | configuredProjects.ts | 27 const host = createServerHost([configFile, libFile, file1, file2, file3]); 59 const host = createServerHost([configFile, libFile, file1, file2, file3]); 85 const host = createServerHost([libFile, commonFile1, commonFile2]); 107 const host = createServerHost([commonFile1, libFile, configFile]); 316 const host = createServerHost([commonFile1, commonFile2, libFile, configFile]); 341 const host = createServerHost([file1, file2, configFile, libFile]); 375 const host = createServerHost([file1, configFile, libFile]); 388 projectService.openClientFile(libFile.path); 786 path: `${getDirectoryPath(libFile.path)}/lib.es2017.d.ts`, 787 content: libFile.content [all …]
|
D | projectReferences.ts | 23 …const files = [libFile, ...containerLib, ...containerExec, ...containerCompositeExec, containerCon… 164 [commonConfig, keyboardTs, keyboardTestTs, srcConfig, terminalTs, libFile], 281 const files = [libFile, aTs, a2Ts, configA, bDts, bTs, configB, cTs, configC]; 290 … checkProjectActualFiles(projectA, [aTs.path, a2Ts.path, bDts.path, libFile.path, configA.path]); 297 checkProjectActualFiles(projectC, [cTs.path, bTs.path, libFile.path, configC.path]); 338 … const files = [libFile, bPackageJson, aConfig, bConfig, aTest, bFoo, bBar, bSymlink]; 494 …const host = createServerHost([libFile, compositeConfig, compositePackageJson, compositeIndex, com… 563 …const files = [libFile, solution, compilerConfig, typesFile, programFile, servicesConfig, services… constant 683 …const files = [libFile, solutionConfig, aConfig, aFile, bConfig, bFile, cConfig, cFile, dConfig, d… constant 758 …const host = createServerHost([libFile, solution, libFile, apiConfig, apiFile, appConfig, appFile,… [all …]
|
D | partialSemanticServer.ts | 28 const host = createServerHost([file1, file2, file3, something, libFile, configFile]); 46 checkProjectActualFiles(project, [libFile.path, file1.path, file2.path]); 97 const host = createServerHost([file1, libFile, configFile]); 162 const host = createServerHost([file1, file2, file3, something, libFile, configFile]); 206 …ateServerHost([angularFormsDts, angularFormsPackageJson, tsconfig, packageJson, indexTs, libFile]);
|
D | plugins.ts | 46 const { host, pluginsLoaded } = createHostWithPlugin([aTs, tsconfig, libFile]); 60 const { host, pluginsLoaded } = createHostWithPlugin([aTs, tsconfig, libFile]); 81 … { host, pluginsLoaded, protocolHandlerRequests } = createHostWithPlugin([aTs, tsconfig, libFile]); 120 const host = createServerHost([aTs, tsconfig, libFile]);
|
D | resolutionCache.ts | 110 const host = createServerHost([file1, libFile]); 373 const files = [module1, module2, file1, file2, configFile, libFile]; constant 389 const files = [module1, module2, file1, file2, configFile, libFile]; constant 429 const files = [module1, module2, file1, file2, file3, file4, configFile, libFile]; constant 446 const files = [module1, module2, file1, file2, file3, file4, configFile, libFile]; constant 468 const files = [module1, module2, file1, file2, file3, file4, libFile]; constant 527 …les = [...(useNodeFile ? [nodeFile] : []), electronFile, srcFile, moduleFile, configFile, libFile]; 552 const files = [libFile, file1, file2]; 569 const files = [libFile, file1, file2, config]; 591 const files = [module1, module2, file1, configFile, libFile]; constant
|
/third_party/typescript/src/testRunner/unittests/tscWatch/ |
D | programUpdates.ts | 26 return createWatchedSystem([appFile, moduleFile, libFile]); 46 … return createWatchedSystem([f1, libFile, config], { useCaseSensitiveFileNames: false }); 78 return createWatchedSystem([configFile, libFile, file1, file2, file3]); 87 sys: () => createWatchedSystem([commonFile1, libFile, configFile]), 112 return createWatchedSystem([commonFile1, commonFile2, libFile, configFile]); 122 return createWatchedSystem([libFile, commonFile1, commonFile2, configFile]); 153 return createWatchedSystem([file1, libFile]); 176 return createWatchedSystem([libFile, commonFile1, commonFile2, configFile]); 207 return createWatchedSystem([libFile, commonFile1, commonFile2, configFile]); 236 return createWatchedSystem([libFile, aTs, tsconfig]); [all …]
|
D | incremental.ts | 75 files: () => [libFile, file1, file2, configFile], 86 files: () => [libFile, file1, configFile, { 95 files: () => [libFile, file1, file2, { 118 files: () => [libFile, file1, file2, config], 130 files: () => [libFile, file1, fileModified, config], 136 …const system = createWatchedSystem([libFile, file1, fileModified, config], { currentDirectory: pro… 161 assert.deepEqual(state.fileInfos.get(libFile.path as Path), { 162 version: system.createHash(libFile.content), 163 signature: system.createHash(libFile.content), 190 … assert.deepEqual(state.semanticDiagnosticsPerFile!.get(libFile.path as Path), emptyArray); [all …]
|
D | watchEnvironment.ts | 17 return createWatchedSystem([file1, libFile], { environmentVariables }); 82 const files = [libFile, commonFile1, commonFile2, configFile]; 144 const files = [file, configFile, libFile]; constant 212 …const files = [libFile, file1, tsconfig, realA, realB, symLinkA, symLinkB, symLinkBInA, symLinkAIn… 237 const files = [libFile, file1, file2, configFile]; 328 const files = [libFile, file1, file2, configFile]; 369 const files = [libFile, file1, file2, configFile]; 410 const files = [libFile, commonFile1, commonFile2, configFile]; 429 const files = [libFile, commonFile1, commonFile2, configFile]; 448 const files = [libFile, commonFile1, commonFile2, configFile]; [all …]
|
D | emit.ts | 13 [libFile.path]: libFile.content, 64 return createWatchedSystem([file1, file2, file3, file4, libFile, configFile]); 131 …1, file1Consumer1, file1Consumer2, globalFile3, moduleFile2, configFile, libFile, ...additionalFil… constant 300 firstReloadFileList: [libFile.path, "/a/b/file1.ts", "/a/b/file2.ts", configFilePath], 317 … firstReloadFileList: [libFile.path, "/a/b/referenceFile1.ts", moduleFile1Path, configFilePath], 334 firstReloadFileList: [libFile.path, "/a/b/referenceFile1.ts", configFilePath], 362 libFile 402 return createWatchedSystem([file1, file2, file3, configFile, libFile]); 436 return createWatchedSystem([file1, file2, file3, libFile]); 465 const files = [file, configFile, libFile]; constant [all …]
|
D | forceConsistentCasingInFileNames.ts | 23 sys: () => createWatchedSystem([loggerFile, anotherFile, tsconfig, libFile]), 71 …return createWatchedSystem([moduleA, moduleB, moduleC, libFile, tsconfig], { currentDirectory: pro… 88 libFile, 149 …return createWatchedSystem([moduleA, moduleB, libFile, tsconfig], { windowsStyleRoot, useCaseSensi… 196 …return createWatchedSystem([moduleA, symlinkA, moduleB, libFile, tsconfig], { currentDirectory: pr… 247 …return createWatchedSystem([moduleA, symlinkA, moduleB, libFile, tsconfig], { currentDirectory: pr… 293 [libFile.path]: libFile.content, 325 "/a/lib/lib.esnext.full.d.ts": libFile.content, 356 "/a/lib/lib.es2021.full.d.ts": libFile.content,
|
D | resolutionCache.ts | 14 …eline, oldSnap, cb, getPrograms } = createBaseline(createWatchedSystem([root, imported, libFile])); 97 …{ sys, baseline, oldSnap, cb, getPrograms } = createBaseline(createWatchedSystem([root, libFile])); 155 …eline, oldSnap, cb, getPrograms } = createBaseline(createWatchedSystem([root, imported, libFile])); 220 }, libFile], { currentDirectory: "/a/b" }), 271 return createWatchedSystem([root, file, libFile], { currentDirectory: "/a/b" }); 318 …return createWatchedSystem([file1, file2, module1, libFile, configFile], { currentDirectory: "/a/b… 342 … return createWatchedSystem([file, libFile, module], { currentDirectory: projectRoot }); 372 return createWatchedSystem([libFile, file1, file2, config]); 408 return createWatchedSystem([app, tsconfig, libFile]); 481 …const files = [libFile, mainFile, config, linkedPackageInMain, linkedPackageJson, linkedPackageInd… [all …]
|
/third_party/typescript/src/testRunner/unittests/services/ |
D | organizeImports.ts | 298 const libFile = { constant 357 libFile); 374 libFile); 388 libFile); 404 libFile); 420 libFile); 436 libFile); 451 libFile); 474 libFile); 560 libFile); [all …]
|
D | languageService.ts | 92 files.set("/lib/lib.d.ts", { version: "1", text: projectSystem.libFile.content }); 179 …ojectSystem.createServerHost([config1, class1, class1Dts, config2, class2, projectSystem.libFile]); 205 getDefaultLibFileName: () => projectSystem.libFile.path, 215 [projectSystem.libFile.path, class1.path, class2.path] 223 [projectSystem.libFile.path, class1.path, class3, class2.path] 238 [projectSystem.libFile.path, class1Dts.path, class2.path] 246 [projectSystem.libFile.path, class1Dts.path, class2.path] 254 [projectSystem.libFile.path, class1Dts.path, class3Dts, class2.path] 263 [projectSystem.libFile.path, class1Dts.path, class2.path] 269 [projectSystem.libFile.path, class1Dts.path, class3Dts, class2.path]
|
/third_party/typescript/src/testRunner/unittests/tsbuildWatch/ |
D | programUpdates.ts | 55 allFiles = [libFile, ...core, ...logic, ...tests, ...ui]; 192 return [libFile, circularCoreConfig, ...otherCoreFiles, ...logic, ...tests]; 203 [libFile, ...core, logic[1], ...tests], 260 …return createWatchedSystem([libFile, coreTsConfig, coreIndex, logicTsConfig, logicIndex], { curren… 310 const files = [libFile, libraryTs, libraryTsconfig, appTs, appTsconfig]; 412 [libFile, fileWithError, fileWithoutError, tsconfig], 425 [libFile, fileWithError, fileWithoutError, tsconfig], 445 [libFile, fileWithFixedError, fileWithoutError, tsconfig], 459 [libFile, fileWithFixedError, fileWithoutError, tsconfig], 515 … return createWatchedSystem([index, configFile, libFile], { currentDirectory: projectRoot }); [all …]
|
D | projectsBuilding.ts | 51 [libFile, ...flatMap(pkgs(pkgFiles, 3), identity), solution(3)], 75 [libFile, ...flatMap(pkgs(pkgFiles, 5), identity), solution(5)], 99 [libFile, ...flatMap(pkgs(pkgFiles, 8), identity), solution(8)], 137 [libFile, ...flatMap(pkgs(pkgFiles, 23), identity), solution(23)],
|
/third_party/typescript/src/testRunner/unittests/tsserver/events/ |
D | projectUpdatedInBackground.ts | 50 const host = createServerHost([commonFile1, libFile, configFile]); 92 const files = [f1, config, libFile]; constant 176 …1, moduleFile1, file1Consumer2, moduleFile2, ...additionalFiles, globalFile3, libFile, configFile]; constant 373 firstReloadFileList: [file1.path, libFile.path, file2.path, configFilePath] 389 … firstReloadFileList: [referenceFile1.path, libFile.path, moduleFile1Path, configFilePath] 405 firstReloadFileList: [referenceFile1.path, libFile.path, configFilePath] 439 const host = createServerHost([file1, file3, libFile, configFile]);
|