1.20.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

modules/simpletest/tests/filetransfer.test, line 97

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);
}