Package net.sourceforge.squirrel_sql.client.update.gui.installer.util

Examples of net.sourceforge.squirrel_sql.client.update.gui.installer.util.InstallFileOperationInfo


        fileToRemove = _util.getFile(installDir, artifactName);
        filesToRemove.add(fileToRemove);
      }
      if (fileToCopy != null)
      {
        InstallFileOperationInfo info = installFileOperationInfoFactory.create(fileToCopy, installDir);
        info.setPlugin(isPlugin);
        info.setArtifactName(artifactName);
        filesToInstall.add(info);
      }

    }
    boolean success = removeOldFiles(filesToRemove);
View Full Code Here


  @Test
  public void testCreate()
  {
    FileWrapper fileToCopy = mockHelper.createMock("fileToCopy", FileWrapper.class);
    FileWrapper installDir = mockHelper.createMock("installDir", FileWrapper.class);
    InstallFileOperationInfo info = classUnderTest.create(fileToCopy, installDir);
    assertNotNull(info);
    assertEquals(fileToCopy, info.getFileToInstall());
    assertEquals(installDir, info.getInstallDir());
  }
View Full Code Here

TOP

Related Classes of net.sourceforge.squirrel_sql.client.update.gui.installer.util.InstallFileOperationInfo

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.