function TestFileTransfer::createDirectoryJailed

7.x filetransfer.test TestFileTransfer::createDirectoryJailed($directory)

Creates a directory.

Parameters

$directory: The directory to be created.

Overrides FileTransfer::createDirectoryJailed

File

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

Class

TestFileTransfer
Mock FileTransfer object for test case.

Code

function createDirectoryJailed($directory) {
  $this->connection->run("mkdir $directory");
}