You are here

function TestFileTransfer::__construct in SimpleTest 7

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

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