PHP Class ImboIntegrationTest\Storage\StorageTests

Inheritance: extends PHPUnit_Framework_TestCase
Datei anzeigen Open project: imbo/imbo Class Usage Examples

Public Methods

Method Description
setUp ( ) Set up
tearDown ( ) Tear down
testCanCheckIfImageAlreadyExists ( )
testDeleteImageThatDoesNotExist ( )
testGetImageThatDoesNotExist ( )
testGetLastModified ( )
testGetLastModifiedOfImageThatDoesNotExist ( )
testStoreAndGetImage ( )
testStoreDeleteAndGetImage ( )
testStoreSameImageTwice ( )

Protected Methods

Method Description
getDriver ( ) : Imbo\Storage\StorageInterface Get the driver we want to test
getDriverActive ( ) : string Get the currently instanced, active driver in inherited tests
getUser ( ) : string Get the user name in inherited tests

Method Details

getDriver() abstract protected method

Get the driver we want to test
abstract protected getDriver ( ) : Imbo\Storage\StorageInterface
return Imbo\Storage\StorageInterface

getDriverActive() protected method

Get the currently instanced, active driver in inherited tests
protected getDriverActive ( ) : string
return string

getUser() protected method

Get the user name in inherited tests
protected getUser ( ) : string
return string

setUp() public method

Set up
public setUp ( )

tearDown() public method

Tear down
public tearDown ( )

testCanCheckIfImageAlreadyExists() public method

testDeleteImageThatDoesNotExist() public method

testGetImageThatDoesNotExist() public method

testGetLastModified() public method

public testGetLastModified ( )

testGetLastModifiedOfImageThatDoesNotExist() public method

testStoreAndGetImage() public method

testStoreDeleteAndGetImage() public method

testStoreSameImageTwice() public method