Package org.syncany.operations.daemon.messages

Examples of org.syncany.operations.daemon.messages.RestoreFolderRequest


    assertNotNull(response);
    //assertEquals("No local changes.\n", cliResponse.getOutput());
   
    // Restore file test
   
    RestoreFolderRequest restoreRequest = new RestoreFolderRequest();
    RestoreOperationOptions restoreOperationOption = new RestoreOperationOptions();
    restoreOperationOption.setFileHistoryId(files[0].getFileHistoryId());
    restoreOperationOption.setFileVersion(1);
   
    restoreRequest.setId(70);
    restoreRequest.setRoot(clientA.getConfig().getLocalDir().getAbsolutePath());
    restoreRequest.setOptions(restoreOperationOption);
   
    eventBus.post(restoreRequest);
   
    response = waitForResponse(70);
   
View Full Code Here

TOP

Related Classes of org.syncany.operations.daemon.messages.RestoreFolderRequest

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.