PHP Class ImboUnitTest\Model\StatsTest

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

Public Methods

Method Description
getStatsData ( ) : array[] Get stats data
setUp ( ) Set up the model
tearDown ( ) Tear down the model
testCanSetAndGetAmountOfBytes ( $users, $images, $bytes )
testCanSetAndGetAmountOfImages ( $users, $images, $bytes )
testCanSetAndGetNumberOfUsers ( $users, $images, $bytes )
testGetData ( )
testSupportsCustomStats ( )
testThrowsExceptionWhenUsedAsArrayWithoutAKey ( )

Method Details

getStatsData() public method

Get stats data
public getStatsData ( ) : array[]
return array[]

setUp() public method

Set up the model
public setUp ( )

tearDown() public method

Tear down the model
public tearDown ( )

testCanSetAndGetAmountOfBytes() public method

public testCanSetAndGetAmountOfBytes ( $users, $images, $bytes )

testCanSetAndGetAmountOfImages() public method

public testCanSetAndGetAmountOfImages ( $users, $images, $bytes )

testCanSetAndGetNumberOfUsers() public method

public testCanSetAndGetNumberOfUsers ( $users, $images, $bytes )

testGetData() public method

public testGetData ( )

testSupportsCustomStats() public method

testThrowsExceptionWhenUsedAsArrayWithoutAKey() public method