Search in sources :

Example 6 with ServerModule

use of org.eclipse.xtext.ide.server.ServerModule in project xtext-core by eclipse.

the class RequestManagerTest method setUp.

@Before
public void setUp() {
    AtomicInteger _atomicInteger = new AtomicInteger();
    this.sharedState = _atomicInteger;
    ServerModule _serverModule = new ServerModule();
    Guice.createInjector(_serverModule).injectMembers(this);
}
Also used : AtomicInteger(java.util.concurrent.atomic.AtomicInteger) ServerModule(org.eclipse.xtext.ide.server.ServerModule) Before(org.junit.Before)

Aggregations

ServerModule (org.eclipse.xtext.ide.server.ServerModule)6 Injector (com.google.inject.Injector)3 Before (org.junit.Before)3 File (java.io.File)2 URI (org.eclipse.emf.common.util.URI)2 Issue (org.eclipse.xtext.validation.Issue)2 AbstractModule (com.google.inject.AbstractModule)1 Binder (com.google.inject.Binder)1 AnnotatedBindingBuilder (com.google.inject.binder.AnnotatedBindingBuilder)1 InputStream (java.io.InputStream)1 OutputStream (java.io.OutputStream)1 PrintWriter (java.io.PrintWriter)1 InetSocketAddress (java.net.InetSocketAddress)1 ServerSocketChannel (java.nio.channels.ServerSocketChannel)1 SocketChannel (java.nio.channels.SocketChannel)1 CompletableFuture (java.util.concurrent.CompletableFuture)1 AtomicInteger (java.util.concurrent.atomic.AtomicInteger)1 LanguageClient (org.eclipse.lsp4j.services.LanguageClient)1 LanguageServer (org.eclipse.lsp4j.services.LanguageServer)1 IWorkspaceConfigFactory (org.eclipse.xtext.ide.server.IWorkspaceConfigFactory)1