PHP Class Gc\Media\FileTest

Inheritance: extends PHPUnit_Framework_TestCase
Datei anzeigen Open project: gotcms/gotcms

Protected Properties

Property Type Description
$object File

Public Methods

Method Description
testCopyDirectory ( ) : void Test
testGetDirectory ( ) : void Test
testGetFileTransfer ( ) : void Test
testGetPath ( ) : void Test
testInit ( ) : void Test
testIsWritable ( ) : void Test
testIsWritableWithNotWritablePath ( ) : void Test
testRemove ( ) : void Test
testUpload ( ) : void Test
testUploadWithoutValidators ( ) : void Test

Protected Methods

Method Description
initializeFiles ( ) : void Initiliaze files
removeDirectories ( ) : void Remove directories
setUp ( ) : void Sets up the fixture, for example, opens a network connection.
tearDown ( ) : void Tears down the fixture, for example, closes a network connection.

Method Details

initializeFiles() protected method

Initiliaze files
protected initializeFiles ( ) : void
return void

removeDirectories() protected method

Remove directories
protected removeDirectories ( ) : void
return void

setUp() protected method

This method is called before a test is executed.
protected setUp ( ) : void
return void

tearDown() protected method

This method is called after a test is executed.
protected tearDown ( ) : void
return void

testCopyDirectory() public method

Test
public testCopyDirectory ( ) : void
return void

testGetDirectory() public method

Test
public testGetDirectory ( ) : void
return void

testGetFileTransfer() public method

Test
public testGetFileTransfer ( ) : void
return void

testGetPath() public method

Test
public testGetPath ( ) : void
return void

testInit() public method

Test
public testInit ( ) : void
return void

testIsWritable() public method

Test
public testIsWritable ( ) : void
return void

testIsWritableWithNotWritablePath() public method

Test

testRemove() public method

Test
public testRemove ( ) : void
return void

testUpload() public method

Test
public testUpload ( ) : void
return void

testUploadWithoutValidators() public method

Test
public testUploadWithoutValidators ( ) : void
return void

Property Details

$object protected_oe property

protected File,Gc\Media $object
return File