Search in sources :

Example 6 with AnsiLogger

use of io.fabric8.arquillian.kubernetes.log.AnsiLogger in project fabric8 by fabric8io.

the class DependencyResolverTest method testResolutionOfPomWithNoDeps.

@Test
public void testResolutionOfPomWithNoDeps() throws IOException {
    Session session = new Session("test-session", "test-session-123", new AnsiLogger());
    DependencyResolver resolver = new DependencyResolver(DependencyResolver.class.getResource("/test-pom.xml").getFile(), true);
    Assert.assertTrue(resolver.resolve(session).isEmpty());
}
Also used : AnsiLogger(io.fabric8.arquillian.kubernetes.log.AnsiLogger) Session(io.fabric8.arquillian.kubernetes.Session) DependencyResolver(io.fabric8.arquillian.kubernetes.DependencyResolver) Test(org.junit.Test)

Aggregations

AnsiLogger (io.fabric8.maven.docker.util.AnsiLogger)5 Test (org.junit.Test)4 SystemStreamLog (org.apache.maven.plugin.logging.SystemStreamLog)3 DependencyResolver (io.fabric8.arquillian.kubernetes.DependencyResolver)1 Session (io.fabric8.arquillian.kubernetes.Session)1 AnsiLogger (io.fabric8.arquillian.kubernetes.log.AnsiLogger)1 DockerAccess (io.fabric8.maven.docker.access.DockerAccess)1 DockerAccessException (io.fabric8.maven.docker.access.DockerAccessException)1 DockerMachine (io.fabric8.maven.docker.access.DockerMachine)1 ExecException (io.fabric8.maven.docker.access.ExecException)1 BuildImageConfiguration (io.fabric8.maven.docker.config.BuildImageConfiguration)1 DockerMachineConfiguration (io.fabric8.maven.docker.config.DockerMachineConfiguration)1 LogOutputSpecFactory (io.fabric8.maven.docker.log.LogOutputSpecFactory)1 DockerAccessFactory (io.fabric8.maven.docker.service.DockerAccessFactory)1 ServiceHub (io.fabric8.maven.docker.service.ServiceHub)1 Expectations (mockit.Expectations)1 MojoExecutionException (org.apache.maven.plugin.MojoExecutionException)1 Before (org.junit.Before)1