Package org.syncany.tests.scenarios.framework

Examples of org.syncany.tests.scenarios.framework.CreateFileTree


    final TestClient clientA = new TestClient("A", testConnection);
    final TestClient clientB = new TestClient("B", testConnection);
   
    ClientActions.run(clientA, null,
      new AbstractClientAction[] {
        new CreateFileTree(),
        new ChangeTypeFileToFolder(),
      },
      new Executable() {
        @Override
        public void execute() throws Exception {
View Full Code Here


  public void testLockUnlockFile() throws Exception {
    final TransferSettings testConnection = TestConfigUtil.createTestLocalConnection();
    final TestClient clientA = new TestClient("A", testConnection);
    final TestClient clientB = new TestClient("B", testConnection);

    ClientActions.run(clientA, null, new CreateFileTree(), new Executable() {
      @Override
      public void execute() throws Exception {
        clientA.upWithForceChecksum();

        clientB.down();
View Full Code Here

        public void execute() throws Exception {
          // Nothing.
         }     
      },
      new AbstractClientAction[] {
        new CreateFileTree(),
       
        new ChangeContentWithoutFileSize(),
        new ChangeFileSize(),
        new ChangeLastModifiedDate(),
        new ChangePermissionsOfFile(),
View Full Code Here

  public void testChangeTypeSymlinkWithTargetFileToFolder() throws Exception {   
    final TransferSettings testConnection = TestConfigUtil.createTestLocalConnection();   
    final TestClient clientA = new TestClient("A", testConnection);
    final TestClient clientB = new TestClient("B", testConnection);
   
    ClientActions.run(clientA, null, new CreateFileTree(), null);
    ClientActions.run(clientA, null, new ChangeTypeFileToSymlinkWithTargetFolder(), null);
   
    clientA.upWithForceChecksum();   
    clientB.down();
    assertFileListEquals(clientA.getLocalFilesExcludeLockedAndNoRead(), clientB.getLocalFilesExcludeLockedAndNoRead());
View Full Code Here

TOP

Related Classes of org.syncany.tests.scenarios.framework.CreateFileTree

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.