Package org.syncany.operations.down

Examples of org.syncany.operations.down.FileSystemActionComparator


    actions.add(createNewFileSystemAction("newfile2.jpg", FileType.FILE));
    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

Related Classes of org.syncany.operations.down.FileSystemActionComparator

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.