/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]); 148 return createWatchedSystem([file1, libFile]); 171 return createWatchedSystem([libFile, commonFile1, commonFile2, configFile]); 197 return createWatchedSystem([libFile, commonFile1, commonFile2, configFile]); 226 return createWatchedSystem([libFile, aTs, tsconfig]); [all …]
|
D | incremental.ts | 74 files: () => [libFile, file1, file2, configFile], 85 files: () => [libFile, file1, configFile, { 94 files: () => [libFile, file1, file2, { 117 files: () => [libFile, file1, file2, config], 129 files: () => [libFile, file1, fileModified, config], 135 …const system = createWatchedSystem([libFile, file1, fileModified, config], { currentDirectory: pro… 160 assert.deepEqual(state.fileInfos.get(libFile.path as Path), { 161 version: system.createHash(libFile.content), 162 signature: system.createHash(libFile.content), 186 … assert.deepEqual(state.semanticDiagnosticsPerFile!.get(libFile.path as Path), emptyArray); [all …]
|
D | watchApi.ts | 21 const files = [libFile, mainFile, config, settingsJson]; 39 checkProgramActualFiles(program, [mainFile.path, libFile.path, settingsJson.path]); 58 const files = [libFile, mainFile, config]; 84 const sys = createWatchedSystem([config, mainFile, libFile]); 89 checkProgramActualFiles(watch.getProgram().getProgram(), [mainFile.path, libFile.path]); 93 … checkProgramActualFiles(watch.getProgram().getProgram(), [mainFile.path, barPath, libFile.path]); 111 const sys = createWatchedSystem([config, mainFile, otherFile, libFile]); 123 …ProgramActualFiles(watch.getProgram().getProgram(), [mainFile.path, otherFile.path, libFile.path]); 128 …ctualFiles(watch.getProgram().getProgram(), [mainFile.path, otherFile.path, libFile.path, other2]); 151 const sys = createWatchedSystem([config, mainFile, otherFile, libFile]); [all …]
|
D | emit.ts | 22 return createWatchedSystem([f1, f2, config, libFile]); 68 return createWatchedSystem([file1, file2, file3, file4, libFile, configFile]); 135 …1, file1Consumer1, file1Consumer2, globalFile3, moduleFile2, configFile, libFile, ...additionalFil… constant 304 firstReloadFileList: [libFile.path, "/a/b/file1.ts", "/a/b/file2.ts", configFilePath], 321 … firstReloadFileList: [libFile.path, "/a/b/referenceFile1.ts", moduleFile1Path, configFilePath], 338 firstReloadFileList: [libFile.path, "/a/b/referenceFile1.ts", configFilePath], 366 libFile 406 return createWatchedSystem([file1, file2, file3, configFile, libFile]); 435 return createWatchedSystem([file1, file2, file3, libFile]); 464 const files = [file, configFile, libFile]; constant [all …]
|
D | watchEnvironment.ts | 17 return createWatchedSystem([file1, libFile], { environmentVariables }); 90 const files = [file, configFile, libFile]; constant 158 …const files = [libFile, file1, tsconfig, realA, realB, symLinkA, symLinkB, symLinkBInA, symLinkAIn… 183 const files = [libFile, file1, file2, configFile]; 274 const files = [libFile, file1, file2, configFile]; 315 const files = [libFile, file1, file2, configFile]; 356 const files = [libFile, commonFile1, commonFile2, configFile]; 375 const files = [libFile, commonFile1, commonFile2, configFile]; 394 const files = [libFile, commonFile1, commonFile2, configFile]; 409 const files = [libFile, commonFile1, commonFile2, configFile]; [all …]
|
D | resolutionCache.ts | 14 const files = [root, imported, libFile]; constant 101 const files = [root, libFile]; constant 145 const host = createWatchedSystem([root, libFile, imported]); 186 }, libFile], { currentDirectory: "/a/b" }), 237 return createWatchedSystem([root, file, libFile], { currentDirectory: "/a/b" }); 284 …return createWatchedSystem([file1, file2, module1, libFile, configFile], { currentDirectory: "/a/b… 308 … return createWatchedSystem([file, libFile, module], { currentDirectory: projectRoot }); 338 return createWatchedSystem([libFile, file1, file2, config]); 374 return createWatchedSystem([app, tsconfig, libFile]); 447 …const files = [libFile, mainFile, config, linkedPackageInMain, linkedPackageJson, linkedPackageInd…
|
D | forceConsistentCasingInFileNames.ts | 23 … sys: () => createWatchedSystem([loggerFile, anotherFile, tsconfig, libFile, tsconfig]), 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…
|
D | sourceOfProjectReferenceRedirect.ts | 49 …files: [{ path: libFile.path, content: libContent }, baseConfig, coreTs, coreConfig, animalTs, dog… 51 … expectedProgramFiles: [libFile.path, indexTs.path, dogTs.path, animalTs.path, coreTs.path] 79 … files: [libFile, bPackageJson, aConfig, bConfig, aTest, bFoo, bBar, bSymlink], 81 expectedProgramFiles: [libFile.path, aTest.path, bFoo.path, bBar.path]
|
D | consoleClearing.ts | 20 sys: () => createWatchedSystem([file, libFile]), 38 const files = [file, configFile, libFile]; constant
|
/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 | configFileSearch.ts | 40 const host = createServerHost([f1, libFile, configFile, configFile2]); 45 checkWatchedFiles(host, [libFile.path, configFile.path]); 54 …checkWatchedFiles(host, [libFile.path, configFile.path, `${configFileLocation}/jsconfig.json`, `${… 74 const host = createServerHost([f1, libFile, configFile, configFile2]); 79 checkWatchedFiles(host, [libFile.path, configFile.path]); 88 …checkWatchedFiles(host, [libFile.path, configFile.path, `${configFileLocation}/jsconfig.json`, `${… 122 checkProjectActualFiles(project, [file.path, libFile.path, tsconfig.path]); 123 checkWatchedFiles(host, [libFile.path, tsconfig.path]); 133 const filesToWatch = [libFile.path, ...getConfigFilesToWatch(dirOfFile)]; 135 checkProjectActualFiles(project, [file.path, 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 | 24 const files = [index, file1, configFile, libFile]; constant 104 const files = [configFile, file1, file2, libFile]; constant 110 const winsowsStyleLibFilePath = "c:/" + libFile.path.substring(1); 111 …checkProjectActualFiles(project, files.map(f => f === libFile ? winsowsStyleLibFilePath : f.path)); 112 …checkWatchedFiles(host, mapDefined(files, f => f === libFile ? winsowsStyleLibFilePath : f === fil… 159 const fileNames = [index, file1, configFile, libFile].map(file => file.path); constant 166 …const host = createServerHost([index, file1, configFile, libFile, nodeModulesExistingUnusedFile], … 221 [libFile, { path, content: "const x = 10" }], 227 const libPath = `${windowsStyleRoot}${libFile.path.substring(1)}`; 259 const files = [libFile, commonFile2, configFile]; [all …]
|
D | inferredProjects.ts | 16 const host = createServerHost([appFile, moduleFile, libFile]); 26 …checkArray("inferred project", project.getFileNames(), [appFile.path, libFile.path, moduleFile.pat… 27 …checkWatchedFiles(host, getConfigFilesToWatch(tscWatch.projectRoot).concat(libFile.path, moduleFil… 56 const host = createServerHost([file1, file2, file3, libFile]); 64 …ctualFiles(projectService.inferredProjects[0], [file1.path, file2.path, file3.path, libFile.path]); 71 …heckProjectActualFiles(projectService.inferredProjects[0], [file2.path, file3.path, libFile.path]); 364 const host = createServerHost([appFile, libFile, config, jsFile1, jsFile2]); 384 … checkProjectActualFiles(projectService.inferredProjects[0], [jsFile1.path, libFile.path]); 386 checkProjectActualFiles(project, [appFile.path, config.path, libFile.path]); 394 … checkProjectActualFiles(projectService.inferredProjects[0], [jsFile2.path, libFile.path]); [all …]
|
D | partialSemanticServer.ts | 28 const host = createServerHost([file1, file2, file3, something, libFile, configFile]); 39 checkProjectActualFiles(project, [libFile.path, file1.path]); // no imports are resolved 44 checkProjectActualFiles(project, [libFile.path, file1.path, file2.path]); 195 … checkProjectActualFiles(project, [libFile.path, file1.path]); // Should not contain atTypes 223 const host = createServerHost([file1, file2, file3, something, libFile, configFile]); 229 checkProjectActualFiles(project, [libFile.path, file1.path]); // no resolve 238 checkProjectActualFiles(project, [libFile.path, file1.path]); 243 checkProjectActualFiles(project, [libFile.path, file3.path]); 247 checkProjectActualFiles(project, [libFile.path, file2.path, file3.path]); 271 …ateServerHost([angularFormsDts, angularFormsPackageJson, tsconfig, packageJson, indexTs, libFile]);
|
D | configuredProjects.ts | 27 const host = createServerHost([configFile, libFile, file1, file2, file3]); 37 … checkProjectActualFiles(project, [file1.path, libFile.path, file2.path, configFile.path]); 40 checkWatchedFiles(host, [configFile.path, file2.path, libFile.path]); 67 const host = createServerHost([configFile, libFile, file1, file2, file3]); 77 … checkProjectActualFiles(project, [file1.path, libFile.path, file2.path, configFile.path]); 80 checkWatchedFiles(host, [configFile.path, file2.path, libFile.path]); 100 const host = createServerHost([libFile, commonFile1, commonFile2]); 107 … checkProjectActualFiles(projectService.inferredProjects[0], [commonFile1.path, libFile.path]); 108 … checkProjectActualFiles(projectService.inferredProjects[1], [commonFile2.path, libFile.path]); 110 const watchedFiles = getConfigFilesToWatch(tscWatch.projectRoot).concat(libFile.path); [all …]
|
D | projects.ts | 9 const host = createServerHost([file1, libFile]); 17 checkProjectActualFiles(project, [file1.path, libFile.path]); 35 checkProjectActualFiles(project, [file1.path, libFile.path, commonFile2.path]); 225 const host = createServerHost([f1, f2, libFile]); 233 checkProjectActualFiles(service.externalProjects[0], [f1.path, f2.path, libFile.path]); 257 const host = createServerHost([f1, f2, libFile]); 265 checkProjectActualFiles(service.externalProjects[0], [f1.path, f2.path, libFile.path]); 383 const host = createServerHost([file1, libFile, constructorFile, bliss, customTypesMap]); 403 fileNames: [libFile.path, file1.path, constructorFile.path, bliss.path], 753 … createServerHost([file1, file2, config1, libFile], { executingFilePath: combinePaths(getDirectory… [all …]
|
D | projectReferences.ts | 23 …const files = [libFile, ...containerLib, ...containerExec, ...containerCompositeExec, containerCon… 200 …const files = [dependencyTs, dependencyConfig, mainTs, mainConfig, libFile, randomFile, randomConf… constant 212 …verifyScriptInfos(session, host, [randomFile.path], [libFile.path], [randomConfig.path], "Random"); 314 [mainTs.path, libFile.path, mainConfig.path, dependencyTs.path] : 315 [mainTs.path, libFile.path, mainConfig.path, dtsPath] 366 … expectedProjectActualFiles: [dependencyTs.path, libFile.path, dependencyConfig.path] 995 [dependencyTs.path, dependencyConfig.path, libFile.path] : 997 … [dependencyTs.path, libFile.path, dtsPath, dtsMapLocation, dependencyConfig.path] : 998 [dependencyTs.path, libFile.path, dtsPath, dtsMapLocation], 1059 closedInfos: [libFile.path, dtsLocation, dtsMapLocation], [all …]
|
D | compileOnSave.ts | 114 …Host([moduleFile1, file1Consumer1, file1Consumer2, globalFile3, moduleFile2, configFile, libFile]); 139 …Host([moduleFile1, file1Consumer1, file1Consumer2, globalFile3, moduleFile2, configFile, libFile]); 186 …Host([moduleFile1, file1Consumer1, file1Consumer2, globalFile3, moduleFile2, configFile, libFile]); 202 …Host([moduleFile1, file1Consumer1, file1Consumer2, globalFile3, moduleFile2, configFile, libFile]); 216 …Host([moduleFile1, file1Consumer1, file1Consumer2, globalFile3, moduleFile2, configFile, libFile]); 252 const host = createServerHost([moduleFile1, file1Consumer1, configFile, libFile]); 269 …Host([moduleFile1, file1Consumer1, file1Consumer2, globalFile3, moduleFile2, configFile, libFile]); 295 … const host = createServerHost([moduleFile1, file1Consumer1, file1Consumer2, configFile, libFile]); 313 … const host = createServerHost([moduleFile1, file1Consumer1, file1Consumer2, configFile, libFile]); 335 … createServerHost([moduleFile1, file1Consumer1, file1Consumer2, configFile2, configFile, libFile]); [all …]
|
D | forceConsistentCasingInFileNames.ts | 33 …const host = createServerHost([file1, file2, file2Dts, libFile, tsconfig, tsconfigAll], { useCaseS… 61 const host = createServerHost([loggerFile, anotherFile, tsconfig, libFile, tsconfig]); 67 …checkProjectActualFiles(project, [loggerFile.path, anotherFile.path, libFile.path, tsconfig.path]); 113 const host = createServerHost([loggerFile, anotherFile, tsconfig, libFile, tsconfig]); 119 …checkProjectActualFiles(project, [loggerFile.path, anotherFile.path, libFile.path, tsconfig.path]);
|
D | projectErrors.ts | 37 const host = createServerHost([file1, libFile]); 90 const host = createServerHost([file1, config, libFile]); 257 const host = createServerHost([libFile, fileInRoot, fileInProjectRoot]); 362 const host = createServerHost([file, libFile]); 395 const files = [libFile, app, serverUtilities, backendTest]; 402 checkProjectActualFiles(project, [libFile.path, app.path]); 442 const files = [libFile, aFile, config, plugin, pluginProposed]; 505 allFiles: () => [libFile, file, config], 572 const serverEventManager = new TestServerEventManager([file, libFile, configFile]); 591 const serverEventManager = new TestServerEventManager([file, libFile, configFile]); [all …]
|
D | plugins.ts | 35 const { host, pluginsLoaded } = createHostWithPlugin([aTs, tsconfig, libFile]); 49 const { host, pluginsLoaded } = createHostWithPlugin([aTs, tsconfig, libFile]);
|
/third_party/typescript/src/testRunner/unittests/services/ |
D | organizeImports.ts | 291 const libFile = { constant 349 libFile); 365 libFile); 378 libFile); 399 libFile); 482 libFile); 500 libFile); 540 libFile); 560 libFile); 571 libFile); [all …]
|
/third_party/typescript/src/testRunner/unittests/tsbuild/ |
D | watchMode.ts | 121 allFiles = [libFile, ...core, ...logic, ...tests, ...ui]; 280 return [libFile, circularCoreConfig, ...otherCoreFiles, ...logic, ...tests]; 291 [libFile, ...core, logic[1], ...tests], 343 …return createWatchedSystem([libFile, coreTsConfig, coreIndex, logicTsConfig, logicIndex], { curren… 393 const files = [libFile, libraryTs, libraryTsconfig, appTs, appTsconfig]; 495 [libFile, fileWithError, fileWithoutError, tsconfig], 508 [libFile, fileWithError, fileWithoutError, tsconfig], 528 [libFile, fileWithFixedError, fileWithoutError, tsconfig], 542 [libFile, fileWithFixedError, fileWithoutError, tsconfig], 622 …const expectedProjectFiles = () => [libFile, ...tests, ...logic.slice(1), ...core.slice(1, core.le… [all …]
|
/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] 437 const projectFiles = [file1, file3, libFile, configFile]; constant
|