mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-13 21:47:12 -05:00
#45663 fix compilations
This commit is contained in:
@@ -70,6 +70,7 @@ const mockExtensionGallery: IGalleryExtension[] = [
|
||||
icon: { uri: 'uri:icon', fallbackUri: 'fallback:icon' },
|
||||
license: { uri: 'uri:license', fallbackUri: 'fallback:license' },
|
||||
repository: { uri: 'uri:repository', fallbackUri: 'fallback:repository' },
|
||||
coreTranslations: {}
|
||||
}),
|
||||
aGalleryExtension('MockExtension2', {
|
||||
displayName: 'Mock Extension 2',
|
||||
@@ -91,6 +92,7 @@ const mockExtensionGallery: IGalleryExtension[] = [
|
||||
icon: { uri: 'uri:icon', fallbackUri: 'fallback:icon' },
|
||||
license: { uri: 'uri:license', fallbackUri: 'fallback:license' },
|
||||
repository: { uri: 'uri:repository', fallbackUri: 'fallback:repository' },
|
||||
coreTranslations: {}
|
||||
})
|
||||
];
|
||||
|
||||
@@ -148,7 +150,8 @@ const noAssets: IGalleryExtensionAssets = {
|
||||
license: null,
|
||||
manifest: null,
|
||||
readme: null,
|
||||
repository: null
|
||||
repository: null,
|
||||
coreTranslations: null
|
||||
};
|
||||
|
||||
function aGalleryExtension(name: string, properties: any = {}, galleryExtensionProperties: any = {}, assets: IGalleryExtensionAssets = noAssets): IGalleryExtension {
|
||||
|
||||
@@ -116,6 +116,7 @@ suite('ExtensionsWorkbenchService Test', () => {
|
||||
icon: { uri: 'uri:icon', fallbackUri: 'fallback:icon' },
|
||||
license: { uri: 'uri:license', fallbackUri: 'fallback:license' },
|
||||
repository: { uri: 'uri:repository', fallbackUri: 'fallback:repository' },
|
||||
coreTranslations: {}
|
||||
});
|
||||
|
||||
testObject = instantiationService.createInstance(ExtensionsWorkbenchService);
|
||||
@@ -265,6 +266,7 @@ suite('ExtensionsWorkbenchService Test', () => {
|
||||
icon: { uri: 'uri:icon', fallbackUri: 'fallback:icon' },
|
||||
license: { uri: 'uri:license', fallbackUri: 'fallback:license' },
|
||||
repository: { uri: 'uri:repository', fallbackUri: 'fallback:repository' },
|
||||
coreTranslations: {}
|
||||
});
|
||||
instantiationService.stubPromise(IExtensionManagementService, 'getInstalled', [local1, local2]);
|
||||
instantiationService.stubPromise(IExtensionGalleryService, 'query', aPage(gallery1));
|
||||
@@ -1207,7 +1209,8 @@ suite('ExtensionsWorkbenchService Test', () => {
|
||||
license: null,
|
||||
manifest: null,
|
||||
readme: null,
|
||||
repository: null
|
||||
repository: null,
|
||||
coreTranslations: null
|
||||
};
|
||||
|
||||
function aGalleryExtension(name: string, properties: any = {}, galleryExtensionProperties: any = {}, assets: IGalleryExtensionAssets = noAssets): IGalleryExtension {
|
||||
|
||||
Reference in New Issue
Block a user