mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-11-14 04:39:28 +00:00
test: gRPC core client init integration test
- Copied the env-variable server from Theia and made it possible to customize it for the tests. Each test has its own `data` folder. - Relaxed the primary package and library index error detection. This should make the init error detection locale independent. - Kill the daemon process subtree when stopping the daemon. Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
This commit is contained in:
@@ -41,7 +41,10 @@ import {
|
||||
} from '../common/protocol/arduino-daemon';
|
||||
import { ConfigServiceImpl } from './config-service-impl';
|
||||
import { EnvVariablesServer as TheiaEnvVariablesServer } from '@theia/core/lib/common/env-variables';
|
||||
import { EnvVariablesServer } from './theia/env-variables/env-variables-server';
|
||||
import {
|
||||
ConfigDirUriProvider,
|
||||
EnvVariablesServer,
|
||||
} from './theia/env-variables/env-variables-server';
|
||||
import { NodeFileSystemExt } from './node-filesystem-ext';
|
||||
import {
|
||||
FileSystemExt,
|
||||
@@ -236,6 +239,7 @@ export default new ContainerModule((bind, unbind, isBound, rebind) => {
|
||||
bind(DefaultWorkspaceServer).toSelf().inSingletonScope();
|
||||
rebind(TheiaWorkspaceServer).toService(DefaultWorkspaceServer);
|
||||
|
||||
bind(ConfigDirUriProvider).toSelf().inSingletonScope();
|
||||
bind(EnvVariablesServer).toSelf().inSingletonScope();
|
||||
rebind(TheiaEnvVariablesServer).toService(EnvVariablesServer);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user