Search in sources :

Example 1 with MavenRepositorySettingsStub

use of org.eclipse.tycho.p2.remote.testutil.MavenRepositorySettingsStub in project tycho by eclipse.

the class RemoteAgentMavenMirrorsTest method initSubject.

@Before
public void initSubject() throws Exception {
    File localRepository = tempManager.newFolder("localRepo");
    MavenContext mavenContext = new MavenContextImpl(localRepository, OFFLINE, logVerifier.getLogger(), new Properties());
    mavenRepositorySettings = new MavenRepositorySettingsStub();
    subject = new RemoteAgent(mavenContext, mavenRepositorySettings, OFFLINE);
}
Also used : MavenContextImpl(org.eclipse.tycho.core.shared.MavenContextImpl) MavenContext(org.eclipse.tycho.core.shared.MavenContext) MavenRepositorySettingsStub(org.eclipse.tycho.p2.remote.testutil.MavenRepositorySettingsStub) Properties(java.util.Properties) File(java.io.File) Before(org.junit.Before)

Aggregations

File (java.io.File)1 Properties (java.util.Properties)1 MavenContext (org.eclipse.tycho.core.shared.MavenContext)1 MavenContextImpl (org.eclipse.tycho.core.shared.MavenContextImpl)1 MavenRepositorySettingsStub (org.eclipse.tycho.p2.remote.testutil.MavenRepositorySettingsStub)1 Before (org.junit.Before)1