394395396397398399400401402403404
@Test public void testCloneNoRepoSpecified() throws Exception { CloneOp clone = clone(); exception.expect(IllegalArgumentException.class); clone.call(); } @Test public void testCloneEmptyRepoString() throws Exception { CloneOp clone = clone();
136137138139140141142143144145
clone.setProgressListener(cli.getProgressListener()); clone.setBranch(branch).setRepositoryURL(repoURL); clone.setUserName(username).setPassword(password); clone.setDepth(depth); clone.call(); cli.getConsole().println("Done."); } }