Search in sources :

Example 6 with TestFileProcessor

use of org.sonatype.aether.test.impl.TestFileProcessor in project sonatype-aether by sonatype.

the class ResumeGetTest method before.

@Before
public void before() throws Exception {
    factory = new AsyncRepositoryConnectorFactory(new SysoutLogger(), new TestFileProcessor());
    session = new TestRepositorySystemSession();
    artifact = new StubArtifact("gid", "aid", "classifier", "extension", "version");
    server = new Server(0);
}
Also used : TestRepositorySystemSession(org.sonatype.aether.test.impl.TestRepositorySystemSession) TestFileProcessor(org.sonatype.aether.test.impl.TestFileProcessor) Server(org.eclipse.jetty.server.Server) SysoutLogger(org.sonatype.aether.test.impl.SysoutLogger) StubArtifact(org.sonatype.aether.test.util.impl.StubArtifact) Before(org.junit.Before)

Aggregations

TestFileProcessor (org.sonatype.aether.test.impl.TestFileProcessor)6 SysoutLogger (org.sonatype.aether.test.impl.SysoutLogger)5 RepositoryConnectorFactory (org.sonatype.aether.spi.connector.RepositoryConnectorFactory)3 StubArtifact (org.sonatype.aether.test.util.impl.StubArtifact)3 Before (org.junit.Before)2 RemoteRepository (org.sonatype.aether.repository.RemoteRepository)2 TestRepositorySystemSession (org.sonatype.aether.test.impl.TestRepositorySystemSession)2 File (java.io.File)1 Server (org.eclipse.jetty.server.Server)1 Test (org.junit.Test)1 RepositorySystemSession (org.sonatype.aether.RepositorySystemSession)1 ArtifactDownload (org.sonatype.aether.spi.connector.ArtifactDownload)1 ArtifactUpload (org.sonatype.aether.spi.connector.ArtifactUpload)1 StubMetadata (org.sonatype.aether.test.util.impl.StubMetadata)1 ArtifactNotFoundException (org.sonatype.aether.transfer.ArtifactNotFoundException)1 DefaultRepositorySystemSession (org.sonatype.aether.util.DefaultRepositorySystemSession)1