function FileTranferTest::setUp

Overrides DrupalWebTestCase::setUp

File

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

Class

FileTranferTest

Code

function setUp() {
    parent::setUp();
    $this->testConnection = TestFileTransfer::factory(DRUPAL_ROOT, array(
        'hostname' => $this->hostname,
        'username' => $this->username,
        'password' => $this->password,
        'port' => $this->port,
    ));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.