Skip to content

Commit

Permalink
#45663 fix compilations
Browse files Browse the repository at this point in the history
  • Loading branch information
sandy081 committed May 28, 2018
1 parent 6d76ef8 commit 736a5a1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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: {}
})
];

Expand Down Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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));
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 736a5a1

Please sign in to comment.