Package org.eluder.coveralls.maven.plugin.domain.Git

Examples of org.eluder.coveralls.maven.plugin.domain.Git.Remote


public class JobTest {

    @Test
    public void testGetBranchWithRemote() {
        List<Remote> remotes = Arrays.asList(new Remote("origin", "git@github.com"));
        Git git = new Git(null, new Head(null, null, null, null, null, null), "master", remotes);
       
        Job job = new Job().withBranch("origin/master").withGit(git);
        assertEquals("master", job.getBranch());
    }
View Full Code Here

TOP

Related Classes of org.eluder.coveralls.maven.plugin.domain.Git.Remote

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.