use of org.eclipse.che.plugin.svn.shared.CheckoutRequest in project che by eclipse.
the class SubversionApiITest method testCheckout.
/**
* Tests for {@link SubversionApi#checkout(CheckoutRequest)}.
*
* @throws Exception
* if anything goes wrong
*/
@Test
public void testCheckout() throws Exception {
CLIOutputWithRevisionResponse response = this.subversionApi.checkout(DtoFactory.getInstance().createDto(CheckoutRequest.class).withProjectPath(tmpDir.toFile().getAbsolutePath()).withUrl(repoUrl));
assertTrue(response.getRevision() > -1);
}
Aggregations