You are here

function TestFileTransfer::isFile in SimpleTest 7

Checks if a particular path is a file (not a directory).

Parameters

$path: The path to check

Return value

boolean

Overrides FileTransfer::isFile

File

tests/filetransfer.test, line 142

Class

TestFileTransfer
Mock FileTransfer object for test case.

Code

function isFile($path) {
  return FALSE;
}