Package org.eclipse.ecf.filetransfer

Examples of org.eclipse.ecf.filetransfer.IRemoteFile


  /**
   * @param remoteFiles
   */
  protected void verifyRemoteFiles(final IRemoteFile[] remoteFiles) {
    for (int i = 0; i < remoteFiles.length; i++) {
      final IRemoteFile first = remoteFiles[i];
      final IRemoteFileInfo firstInfo = first.getInfo();
      assertNotNull(firstInfo);
      final IFileID firstID = first.getID();
      assertNotNull(firstID);
      trace("firstID=" + firstID);
      // Now check out info
      assertNotNull(firstInfo.getName());
      assertTrue(firstInfo.getLastModified() > 0);
View Full Code Here


    } else fail("Event exception is not instance of BrowseFileTransferException");
  }
 
  protected void verifyRemoteFilesWithoutLastModifiedAndContentLength(final IRemoteFile[] remoteFiles) {
    for (int i = 0; i < remoteFiles.length; i++) {
      final IRemoteFile first = remoteFiles[i];
      final IRemoteFileInfo firstInfo = first.getInfo();
      assertNotNull(firstInfo);
      final IFileID firstID = first.getID();
      assertNotNull(firstID);
      trace("firstID=" + firstID);
      // Now check out info
      assertNotNull(firstInfo.getName());
      assertEquals(0, firstInfo.getLastModified()); //TODO: should this be -1
View Full Code Here

TOP

Related Classes of org.eclipse.ecf.filetransfer.IRemoteFile

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.