mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-03-15 03:21:37 -04:00
27 lines
961 B
TypeScript
27 lines
961 B
TypeScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
import { ITelemetryService, ITelemetryData, ITelemetryInfo } from 'vs/platform/telemetry/common/telemetry';
|
|
import { TPromise } from 'vs/base/common/winjs.base';
|
|
|
|
// Test stubs for commonly used objects
|
|
|
|
export class TelemetryServiceStub implements ITelemetryService {
|
|
|
|
_serviceBrand: any;
|
|
|
|
/**
|
|
* Sends a telemetry event that has been privacy approved.
|
|
* Do not call this unless you have been given approval.
|
|
*/
|
|
publicLog(eventName: string, data?: ITelemetryData): TPromise<void> {
|
|
return undefined;
|
|
}
|
|
|
|
getTelemetryInfo(): TPromise<ITelemetryInfo> {
|
|
return undefined;
|
|
}
|
|
|
|
isOptedIn: boolean;
|
|
} |