Search in sources :

Example 1 with MavenTerminalImpl

use of org.eclipse.che.plugin.maven.server.core.MavenTerminalImpl in project che by eclipse.

the class MavenProjectManagerTest method setUp.

@BeforeMethod
public void setUp() throws Exception {
    MavenWrapperManager wrapperManager = new MavenWrapperManager(manager);
    projectManager = new MavenProjectManager(wrapperManager, manager, new MavenTerminalImpl(), new MavenServerManagerTest.MyMavenServerProgressNotifier(), workspaceProvider);
    when(workspaceProvider.get()).thenReturn(workspace);
    when(workspace.getRoot()).thenReturn(workspaceRoot);
}
Also used : MavenWrapperManager(org.eclipse.che.plugin.maven.server.MavenWrapperManager) MavenTerminalImpl(org.eclipse.che.plugin.maven.server.core.MavenTerminalImpl) MavenProjectManager(org.eclipse.che.plugin.maven.server.core.MavenProjectManager) BeforeMethod(org.testng.annotations.BeforeMethod)

Aggregations

MavenWrapperManager (org.eclipse.che.plugin.maven.server.MavenWrapperManager)1 MavenProjectManager (org.eclipse.che.plugin.maven.server.core.MavenProjectManager)1 MavenTerminalImpl (org.eclipse.che.plugin.maven.server.core.MavenTerminalImpl)1 BeforeMethod (org.testng.annotations.BeforeMethod)1