@@ -9,15 +9,15 @@ import * as platform from 'vs/base/common/platform';
99import { IAdapterExecutable , IConfigurationManager } from 'vs/workbench/parts/debug/common/debug' ;
1010import { Debugger } from 'vs/workbench/parts/debug/node/debugger' ;
1111import { TestConfigurationService } from 'vs/platform/configuration/test/common/testConfigurationService' ;
12- import uri from 'vs/base/common/uri' ;
12+ import URI from 'vs/base/common/uri' ;
1313import { TPromise } from 'vs/base/common/winjs.base' ;
1414import { DebugAdapter } from 'vs/workbench/parts/debug/node/debugAdapter' ;
1515
1616
1717suite ( 'Debug - Debugger' , ( ) => {
1818 let _debugger : Debugger ;
1919
20- const extensionFolderPath = 'a/b/c/' ;
20+ const extensionFolderPath = '/ a/b/c/' ;
2121 const debuggerContribution = {
2222 type : 'mock' ,
2323 label : 'Mock Debug' ,
@@ -53,6 +53,7 @@ suite('Debug - Debugger', () => {
5353 version : '1.0.0' ,
5454 publisher : 'vscode' ,
5555 extensionFolderPath : extensionFolderPath ,
56+ extensionLocation : URI . file ( extensionFolderPath ) ,
5657 isBuiltin : false ,
5758 engines : null ,
5859 contributes : {
@@ -68,6 +69,7 @@ suite('Debug - Debugger', () => {
6869 version : '1.0.0' ,
6970 publisher : 'vscode' ,
7071 extensionFolderPath : '/e1/b/c/' ,
72+ extensionLocation : URI . file ( '/e1/b/c/' ) ,
7173 isBuiltin : false ,
7274 engines : null ,
7375 contributes : {
@@ -89,6 +91,7 @@ suite('Debug - Debugger', () => {
8991 version : '1.0.0' ,
9092 publisher : 'vscode' ,
9193 extensionFolderPath : '/e2/b/c/' ,
94+ extensionLocation : URI . file ( '/e2/b/c/' ) ,
9295 isBuiltin : false ,
9396 engines : null ,
9497 contributes : {
@@ -114,7 +117,7 @@ suite('Debug - Debugger', () => {
114117
115118
116119 const configurationManager = < IConfigurationManager > {
117- debugAdapterExecutable ( folderUri : uri | undefined , type : string ) : TPromise < IAdapterExecutable | undefined > {
120+ debugAdapterExecutable ( folderUri : URI | undefined , type : string ) : TPromise < IAdapterExecutable | undefined > {
118121 return TPromise . as ( undefined ) ;
119122 }
120123 } ;
0 commit comments