@@ -14,7 +14,7 @@ import { TPromise } from 'vs/base/common/winjs.base';
1414import { KeyCode , SimpleKeybinding , ChordKeybinding } from 'vs/base/common/keyCodes' ;
1515import { IEnvironmentService } from 'vs/platform/environment/common/environment' ;
1616import * as extfs from 'vs/base/node/extfs' ;
17- import { TestTextFileService , TestLifecycleService , TestBackupFileService , TestContextService , TestTextResourceConfigurationService , TestHashService , TestEnvironmentService , TestEditorGroupsService , TestEditorService , TestLogService , TestStorageService } from 'vs/workbench/test/workbenchTestServices' ;
17+ import { TestTextFileService , TestLifecycleService , TestBackupFileService , TestContextService , TestTextResourceConfigurationService , TestHashService , TestEnvironmentService , TestEditorGroupsService , TestEditorService , TestLogService , TestStorageService , TestTextResourcePropertiesService } from 'vs/workbench/test/workbenchTestServices' ;
1818import { ILogService } from 'vs/platform/log/common/log' ;
1919import { IEditorGroupsService } from 'vs/workbench/services/group/common/editorGroupsService' ;
2020import { IEditorService } from 'vs/workbench/services/editor/common/editorService' ;
@@ -46,6 +46,7 @@ import { TestConfigurationService } from 'vs/platform/configuration/test/common/
4646import { IHashService } from 'vs/workbench/services/hash/common/hashService' ;
4747import { mkdirp } from 'vs/base/node/pfs' ;
4848import { MockContextKeyService } from 'vs/platform/keybinding/test/common/mockKeybindingService' ;
49+ import { ITextResourcePropertiesService } from 'vs/editor/common/services/resourceConfiguration' ;
4950
5051interface Modifiers {
5152 metaKey ?: boolean ;
@@ -82,6 +83,7 @@ suite('KeybindingsEditing', () => {
8283 instantiationService . stub ( ITelemetryService , NullTelemetryService ) ;
8384 instantiationService . stub ( IModeService , ModeServiceImpl ) ;
8485 instantiationService . stub ( ILogService , new TestLogService ( ) ) ;
86+ instantiationService . stub ( ITextResourcePropertiesService , new TestTextResourcePropertiesService ( instantiationService . get ( IConfigurationService ) ) ) ;
8587 instantiationService . stub ( IModelService , instantiationService . createInstance ( ModelServiceImpl ) ) ;
8688 instantiationService . stub ( IFileService , new FileService (
8789 new TestContextService ( new Workspace ( testDir , toWorkspaceFolders ( [ { path : testDir } ] ) ) ) ,
0 commit comments