You are here

function TestFileTransfer::copyFileJailed in SimpleTest 7

Copies a file.

Parameters

$source: The source file.

$destination: The destination file.

Overrides FileTransfer::copyFileJailed

File

tests/filetransfer.test, line 120

Class

TestFileTransfer
Mock FileTransfer object for test case.

Code

function copyFileJailed($source, $destination) {
  $this->connection
    ->run("copyFile {$source} {$destination}");
}