PHP Class Phive\Queue\Tests\Queue\QueueTest

Inheritance: extends PHPUnit_Framework_TestCase, use trait Util
Datei anzeigen Open project: rybakit/phive-queue

Protected Properties

Property Type Description
$queue Phive\Queue\Queue
$supportsExpiredEta boolean Whether the queue supports an expired ETA or not.

Public Methods

Method Description
createQueue ( ) : Phive\Queue\Queue
testCountAndClear ( )
testImplementQueueInterface ( )
testPopDelay ( )
testPopOrder ( )
testPushEqualItems ( )
testPushPop ( )
testPushWithExpiredEta ( )
testSupportItemType ( $item, $type )

Protected Methods

Method Description
assertNoItemIsAvailable ( Phive\Queue\Queue $queue )
setUp ( )

Method Details

assertNoItemIsAvailable() protected method

protected assertNoItemIsAvailable ( Phive\Queue\Queue $queue )
$queue Phive\Queue\Queue

createQueue() abstract public method

abstract public createQueue ( ) : Phive\Queue\Queue
return Phive\Queue\Queue

setUp() protected method

protected setUp ( )

testCountAndClear() public method

public testCountAndClear ( )

testImplementQueueInterface() public method

testPopDelay() public method

public testPopDelay ( )

testPopOrder() public method

public testPopOrder ( )

testPushEqualItems() public method

public testPushEqualItems ( )

testPushPop() public method

public testPushPop ( )

testPushWithExpiredEta() public method

testSupportItemType() public method

public testSupportItemType ( $item, $type )

Property Details

$queue protected_oe property

protected Queue,Phive\Queue $queue
return Phive\Queue\Queue

$supportsExpiredEta protected_oe property

Whether the queue supports an expired ETA or not.
protected bool $supportsExpiredEta
return boolean