1.20.x filetransfer.test TestFileTransfer::isDirectory($path)

Checks if a particular path is a directory

Parameters

$path: The path to check

Return value

boolean:

Overrides FileTransfer::isDirectory

File

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

Class

TestFileTransfer
Mock FileTransfer object for test case.

Code

function isDirectory($path) {
  return $this->shouldIsDirectoryReturnTrue;
}