@@ -28,7 +28,7 @@ import { IWorkspaceContextService } from 'vs/platform/workspace/common/workspace
28
28
import { IWorkspacesService } from 'vs/platform/workspaces/common/workspaces' ;
29
29
import { IHistoryService } from 'vs/workbench/services/history/common/history' ;
30
30
import { IHostService } from 'vs/workbench/services/host/browser/host' ;
31
- import { SimpleFileDialog } from 'vs/workbench/services/dialogs/browser/simpleFileDialog' ;
31
+ import { ISimpleFileDialog } from 'vs/workbench/services/dialogs/browser/simpleFileDialog' ;
32
32
import { ICommandService } from 'vs/platform/commands/common/commands' ;
33
33
import { ICodeEditorService } from 'vs/editor/browser/services/codeEditorService' ;
34
34
import { IEditorService } from 'vs/workbench/services/editor/common/editorService' ;
@@ -37,7 +37,7 @@ import { ILogService } from 'vs/platform/log/common/log';
37
37
38
38
class TestFileDialogService extends FileDialogService {
39
39
constructor (
40
- private simple : SimpleFileDialog ,
40
+ private simple : ISimpleFileDialog ,
41
41
@IHostService hostService : IHostService ,
42
42
@IWorkspaceContextService contextService : IWorkspaceContextService ,
43
43
@IHistoryService historyService : IHistoryService ,
@@ -90,7 +90,7 @@ suite('FileDialogService', function () {
90
90
} ) ;
91
91
92
92
test ( 'Local - open/save workspaces availableFilesystems' , async function ( ) {
93
- class TestSimpleFileDialog {
93
+ class TestSimpleFileDialog implements ISimpleFileDialog {
94
94
async showOpenDialog ( options : IOpenDialogOptions ) : Promise < URI | undefined > {
95
95
assert . strictEqual ( options . availableFileSystems ?. length , 1 ) ;
96
96
assert . strictEqual ( options . availableFileSystems [ 0 ] , Schemas . file ) ;
@@ -136,7 +136,7 @@ suite('FileDialogService', function () {
136
136
} ) ;
137
137
138
138
test ( 'Remote - open/save workspaces availableFilesystems' , async function ( ) {
139
- class TestSimpleFileDialog {
139
+ class TestSimpleFileDialog implements ISimpleFileDialog {
140
140
async showOpenDialog ( options : IOpenDialogOptions ) : Promise < URI | undefined > {
141
141
assert . strictEqual ( options . availableFileSystems ?. length , 2 ) ;
142
142
assert . strictEqual ( options . availableFileSystems [ 0 ] , Schemas . vscodeRemote ) ;
0 commit comments