blob: f4323c7bc659048497e125674962ad55619345f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { URI } from 'vs/base/common/uri';
import { IDiagnosticInfoOptions, IDiagnosticInfo } from 'vs/platform/diagnostics/common/diagnostics';
import { ExtensionIdentifier, IExtensionDescription } from 'vs/platform/extensions/common/extensions';
import { ISocketFactory } from 'vs/platform/remote/common/remoteAgentConnection';
import { IRemoteAgentEnvironment } from 'vs/platform/remote/common/remoteAgentEnvironment';
import { ITelemetryData, TelemetryLevel } from 'vs/platform/telemetry/common/telemetry';
import { IExtensionHostExitInfo, IRemoteAgentConnection, IRemoteAgentService } from 'vs/workbench/services/remote/common/remoteAgentService';
export class TestRemoteAgentService implements IRemoteAgentService {
_serviceBrand: undefined;
socketFactory: ISocketFactory = {
connect() { }
};
getConnection(): IRemoteAgentConnection | null {
throw new Error('Method not implemented.');
}
getEnvironment(): Promise<IRemoteAgentEnvironment | null> {
throw new Error('Method not implemented.');
}
getRawEnvironment(): Promise<IRemoteAgentEnvironment | null> {
throw new Error('Method not implemented.');
}
getExtensionHostExitInfo(reconnectionToken: string): Promise<IExtensionHostExitInfo | null> {
throw new Error('Method not implemented.');
}
whenExtensionsReady(): Promise<void> {
throw new Error('Method not implemented.');
}
scanExtensions(skipExtensions?: ExtensionIdentifier[]): Promise<IExtensionDescription[]> {
throw new Error('Method not implemented.');
}
scanSingleExtension(extensionLocation: URI, isBuiltin: boolean): Promise<IExtensionDescription | null> {
throw new Error('Method not implemented.');
}
getDiagnosticInfo(options: IDiagnosticInfoOptions): Promise<IDiagnosticInfo | undefined> {
throw new Error('Method not implemented.');
}
updateTelemetryLevel(telemetryLevel: TelemetryLevel): Promise<void> {
throw new Error('Method not implemented.');
}
logTelemetry(eventName: string, data?: ITelemetryData): Promise<void> {
throw new Error('Method not implemented.');
}
flushTelemetry(): Promise<void> {
throw new Error('Method not implemented.');
}
}
|