Search in sources :

Example 6 with SysoutLogger

use of org.sonatype.aether.test.impl.SysoutLogger 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

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