package org.jboss.da.bc.backend.impl;

import org.jboss.da.scm.SCMType;
import org.junit.Test;

public class RepositoryClonerImplTest {

    private RepositoryClonerImpl clonner = new RepositoryClonerImpl();

    @Test(expected = UnsupportedOperationException.class)
    public void testCloneNonGitRepository() throws Exception {
        clonner.cloneRepository("", "", SCMType.SVN, "");
    }

    @Test
    public void testCloneGitRepository() throws Exception {
        String url = clonner.cloneRepository("https://github.com/project-ncl/dependency-analysis",
                "master", SCMType.GIT, "TEST_DA3");
        System.out.println("\n\n" + url + "\n\n");
    }

}

@@ -392,285 +392,6 @@
  %7D%0A%0A
-    @Test%0A    public void testCloneGitRepository() throws Exception %7B%0A        String url = clonner.cloneRepository(%22https://github.com/project-ncl/dependency-analysis%22,%0A                %22master%22, SCMType.GIT, %22TEST_DA3%22);%0A        System.out.println(%22%5Cn%5Cn%22 + url + %22%5Cn%5Cn%22);%0A    %7D%0A%0A
 %7D%0A

Remove temporary test. We cannot clone repository in every test run