PHP Class PhpBench\Tests\Unit\Storage\Driver\Xml\XmlDriverTest

Inheritance: extends PHPUnit_Framework_TestCase
Datei anzeigen Open project: dantleech/phpbench

Public Methods

Method Description
setUp ( )
testDelete ( ) It should delete a given run ID.
testDeleteNonExisting ( ) It should throw an exception if trying to delete non-existing UUID.
testFetch ( ) It should throw an exception if it cannot locate a given run by UUID.
testGetHistoryIterator ( ) It should return the history iterator.
testHas ( ) It should return true if ->has is called and the collection exists.
testHasInvalidUuid ( ) It should return false for has given an invalid UUID.
testStore ( ) It should store a suite collection.
testStoreMkdir ( ) It should create a non existing directory when storing the collection.

Method Details

setUp() public method

public setUp ( )

testDelete() public method

It should delete a given run ID.
public testDelete ( )

testDeleteNonExisting() public method

It should throw an exception if trying to delete non-existing UUID.

testFetch() public method

It should throw an exception if it cannot locate a given run by UUID.
public testFetch ( )

testGetHistoryIterator() public method

It should return the history iterator.

testHas() public method

It should return true if ->has is called and the collection exists.
public testHas ( )

testHasInvalidUuid() public method

It should return false for has given an invalid UUID.
public testHasInvalidUuid ( )

testStore() public method

It should store a suite collection.
public testStore ( )

testStoreMkdir() public method

It should create a non existing directory when storing the collection.
public testStoreMkdir ( )