@@ -6,7 +6,6 @@ import { setContext, installServeD, compileServeD, getInstallOutput, downloadFil
66import { EventEmitter } from "events" ;
77import * as ChildProcess from "child_process" ;
88import * as which from "which" ;
9- import { TestHub , testExplorerExtensionId , TestController , TestAdapter } from 'vscode-test-adapter-api' ;
109
1110import * as mode from "./dmode" ;
1211import * as statusbar from "./statusbar" ;
@@ -22,7 +21,6 @@ import { CodedAPI, Snippet } from "code-d-api";
2221import { builtinPlugins } from "./builtin_plugins" ;
2322import { CodedAPIServedImpl } from "./api_impl" ;
2423import { restoreCreateProjectPackageBackup } from "./project-creator" ;
25- import { TestAdapterGenerator , UnittestProject } from "./testprovider" ;
2624import { registerDebuggers , linkDebuggersWithServed } from "./debug" ;
2725import { DubTasksProvider } from "./dub-tasks" ;
2826
@@ -192,11 +190,6 @@ function startClient(context: vscode.ExtensionContext) {
192190 "--provide" , "tasks-current" ,
193191 ] ;
194192
195- // for integration with test explorer
196- const testExplorerExtension = vscode . extensions . getExtension < TestHub > ( testExplorerExtensionId ) ;
197- if ( testExplorerExtension )
198- args . push ( "--provide" , "test-runner" ) ;
199-
200193 let executable : ServerOptions = {
201194 run : {
202195 command : servedPath ,
@@ -267,16 +260,6 @@ function startClient(context: vscode.ExtensionContext) {
267260 served . refreshDependencies ( ) ;
268261 } ) ;
269262
270- if ( testExplorerExtension ) {
271- const testHub = testExplorerExtension . exports ;
272-
273- const generator = new TestAdapterGenerator ( served , testHub ) ;
274- context . subscriptions . push ( generator ) ;
275- client . onNotification ( "coded/pushProjectTests" , function ( tests : UnittestProject ) {
276- generator . updateTests ( tests ) ;
277- } ) ;
278- }
279-
280263 const startupProgress = new statusbar . StartupProgress ( ) ;
281264 client . onNotification ( "window/logMessage" , function ( info : { type : MessageType , message : string } ) {
282265 if ( info . type == MessageType . Log && info . message . startsWith ( "[progress]" ) ) {
0 commit comments