Closed Arthurm1 closed 2 months ago
Currently the integration tests only handle direct replies to BSP messages e.g. workspace/buildTargets returns WorkspaceBuildTargetsResult
workspace/buildTargets
WorkspaceBuildTargetsResult
This PR allows monitoring of async messages e.g. build/taskProgress and adds tests for these.
build/taskProgress
It's the first step in testing progress reports per build target and eventually diagnostic reports.
It also gets rid of the global Launcher.client which I think is a good thing.
Launcher.client
Also fixed: the onBuildTaskProgress notification has a compile-task data kind so data must contain a CompileTask
onBuildTaskProgress
compile-task
data
CompileTask
Had a quick look and the idea looks good to me.
Could you please resolve the conflict?
@jdneo Done
rebased
Thank you @Arthurm1!
Currently the integration tests only handle direct replies to BSP messages e.g.
workspace/buildTargets
returnsWorkspaceBuildTargetsResult
This PR allows monitoring of async messages e.g.
build/taskProgress
and adds tests for these.It's the first step in testing progress reports per build target and eventually diagnostic reports.
It also gets rid of the global
Launcher.client
which I think is a good thing.Also fixed: the
onBuildTaskProgress
notification has acompile-task
data kind sodata
must contain aCompileTask