Package org.syncany.operations.down

Examples of org.syncany.operations.down.FileSystemActionComparator.sort()


    actions.add(createRenameFileSystemAction("from.jpg", "to.jpg", FileType.FILE));
    actions.add(createDeleteFileSystemAction("deletedfile2.jpg", FileType.FILE));
   
    // Run
    FileSystemActionComparator actionComparator = new FileSystemActionComparator();   
    actionComparator.sort(actions);
   
    // Test
    assertArrayEquals("Actions should match order",
      new String[] {
        "DeleteFileSystemAction,deletedfile2.jpg,FILE",
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.