function TestFileTransfer::__construct

7.x filetransfer.test TestFileTransfer::__construct($jail, $username, $password, $hostname = 'localhost', $port = 9999)

The constructor for the UpdateConnection class. This method is also called from the classes that extend this class and override this method.

Overrides FileTransfer::__construct

File

drupal-7.x/modules/simpletest/tests/filetransfer.test, line 105

Class

TestFileTransfer
Mock FileTransfer object for test case.

Code

function __construct($jail, $username, $password, $hostname = 'localhost', $port = 9999) {
  parent::__construct($jail, $username, $password, $hostname, $port);
}