Home
last modified time | relevance | path

Searched refs:TestServerHost (Results 1 – 15 of 15) sorted by relevance

/third_party/typescript/src/testRunner/unittests/tsserver/
Dhelpers.ts6 export import TestServerHost = TestFSWithWatch.TestServerHost;
56 host?: TestServerHost;
81 function handleLoggerGroup(logger: Logger, host: TestServerHost | undefined): Logger {
114 export function createLoggerWritingToConsole(host: TestServerHost): Logger {
125 export function createLoggerWithInMemoryLogs(host: TestServerHost): Logger {
279 readonly host: TestServerHost;
357 let hostDiff: ReturnType<TestServerHost["snap"]> | undefined;
414 TestFSWithWatch.changeToHostTrackingWrittenFiles(this.host as TestServerHost),
499 …ateSessionWithDefaultEventHandler<T extends protocol.AnyEvent>(host: TestServerHost, eventNames: T…
526 …constructor(host: TestServerHost, public logger: Logger, cancellationToken: HostCancellationToken,…
[all …]
DmetadataInResponse.ts4 function verifyOutput(host: TestServerHost, expectedResponse: protocol.Response) {
10 … server.protocol.Request, U = undefined>(session: TestSession, host: TestServerHost, command: Part…
DsymLinks.ts108 function createSessionAndOpenFile(host: TestServerHost) {
DmoduleSpecifierCache.ts126 function setup(createLogger?: (host: TestServerHost) => Logger) {
DreloadProjects.ts25 …function verifyFileUpdates(host: TestServerHost, service: TestProjectService, project: server.Proj…
DprojectReferencesSourcemap.ts60 function changeDtsFile(host: TestServerHost) {
71 function changeDtsMapFile(host: TestServerHost) {
192 type OnHostCreate = (host: TestServerHost) => void;
193 …type CreateSessionFn = (onHostCreate?: OnHostCreate) => { host: TestServerHost; session: TestSessi…
DcachingFileSystemInformation.ts14 function createLoggerTrackingHostCalls(host: TestServerHost) {
DresolutionCache.ts12 const host: TestServerHost & ModuleResolutionHost = createServerHost([file1, lib]);
DtypingsInstaller.ts27 …function executeCommand(self: Installer, host: TestServerHost, installedTypings: string[] | string…
/third_party/typescript/src/harness/
DvirtualFileSystemWithWatch.ts33 …ap | readonly FileOrFolderOrSymLink[], params?: TestServerHostCreationParameters): TestServerHost {
34 return new TestServerHost(fileOrFolderList, params);
37 …ap | readonly FileOrFolderOrSymLink[], params?: TestServerHostCreationParameters): TestServerHost {
38 const host = new TestServerHost(fileOrFolderList, params);
197 export function checkOutputContains(host: TestServerHost, expected: readonly string[]) {
210 …export function checkOutputDoesNotContain(host: TestServerHost, expectedToBeAbsent: string[] | rea…
227 constructor(private host: TestServerHost) {
329 …export class TestServerHost implements server.ServerHost, FormatDiagnosticsHost, ModuleResolutionH… class
1196 …export type TestServerHostTrackingWrittenFiles = TestServerHost & { writtenFiles: ESMap<Path, numb…
1198 export function changeToHostTrackingWrittenFiles(inputHost: TestServerHost) {
/third_party/typescript/src/testRunner/unittests/tsserver/events/
DprojectUpdatedInBackground.ts31 …ectsUpdatedInBackgroundEvent(scenario: string, createSession: (host: TestServerHost, logger?: Logg…
476 …function createSessionWithProjectChangedEventHandler(host: TestServerHost, logger: Logger | undefi…
520 …function createSessionThatUsesEvents(host: TestServerHost, logger: Logger | undefined, noGetErrOnB…
DprojectLoading.ts15 function verifyProjectLoadingStartAndFinish(createSession: (host: TestServerHost) => {
/third_party/typescript/src/testRunner/unittests/tsbuildWatch/
DwatchEnvironment.ts102 function writePkgReferences(system: TestFSWithWatch.TestServerHost) {
/third_party/typescript/src/testRunner/unittests/tsbuild/
Dsample.ts268 let oldSnap: ReturnType<TestFSWithWatch.TestServerHost["snap"]> | undefined;
340 let oldSnap: ReturnType<TestFSWithWatch.TestServerHost["snap"]> | undefined;
/third_party/typescript/src/testRunner/unittests/tscWatch/
Dhelpers.ts4 export import WatchedSystem = TestFSWithWatch.TestServerHost;