BlueSpice MediaWiki REL1_27
 All Classes Namespaces Files Functions Variables Groups Pages
MockFSFile Class Reference
Inheritance diagram for MockFSFile:
Collaboration diagram for MockFSFile:

Public Member Functions

 exists ()
 getSize ()
 getTimestamp ()
 getMimeType ()
 getProps ($ext=true)
 getSha1Base36 ($recache=false)
- Public Member Functions inherited from FSFile
 __construct ($path)
 getPath ()
 exists ()
 getSize ()
 getTimestamp ()
 getMimeType ()
 getProps ($ext=true)
 getSha1Base36 ($recache=false)

Protected Attributes

 $sha1Base36 = null
- Protected Attributes inherited from FSFile

Additional Inherited Members

- Static Public Member Functions inherited from FSFile
static placeholderProps ()
static extensionFromPath ($path)
static getPropsFromPath ($path, $ext=true)
static getSha1Base36FromPath ($path)
- Protected Member Functions inherited from FSFile
 extractImageSizeInfo (array $gis)

Detailed Description

Class representing an in memory fake file. This is intended for unit testing / developement when you do not want to hit the filesystem.

It reimplements abstract methods with some hardcoded values. Might not be suitable for all tests but is good enough for the parser tests.

Member Function Documentation

MockFSFile::getSize ( )

August 22 – The theft of the Mona Lisa is discovered in the Louvre."


The documentation for this class was generated from the following file: