Search in sources :

Example 1 with DependencyResolver

use of io.fabric8.arquillian.kubernetes.DependencyResolver 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

DependencyResolver (io.fabric8.arquillian.kubernetes.DependencyResolver)1 Session (io.fabric8.arquillian.kubernetes.Session)1 AnsiLogger (io.fabric8.arquillian.kubernetes.log.AnsiLogger)1 Test (org.junit.Test)1