PHP Class DominionEnterprises\Mongo\QueueTest

Inheritance: extends PHPUnit_Framework_TestCase
Datei anzeigen Open project: dominionenterprises/mongo-queue-php

Public Methods

Method Description
ack ( )
ackBadArg ( )
ackSend ( )
ackSendWithEarliestGet ( ) : void Verify earliestGet with ackSend.
ackSendWithHighEarliestGet ( )
ackSendWithLowEarliestGet ( )
ackSendWithNanPriority ( )
ackSendWithNonBoolNewTimestamp ( )
ackSendWithNonFloatPriority ( )
ackSendWithNonIntEarliestGet ( )
ackSendWithWrongIdType ( )
constructWithCollection ( ) : void Verify Queue can be constructed with \MongoDB\Collection
constructWithNonStringCollection ( )
constructWithNonStringDb ( )
constructWithNonStringUrl ( )
countWithNonNullOrBoolRunning ( )
countWithNonStringKey ( )
earliestGet ( )
ensureCountIndex ( )
ensureCountIndexWithBadValue ( )
ensureCountIndexWithNonBoolIncludeRunning ( )
ensureCountIndexWithNonStringKey ( )
ensureCountIndexWithPrefixOfPrevious ( )
ensureGetIndex ( )
ensureGetIndexWithBadAfterSortValue ( )
ensureGetIndexWithBadBeforeSortValue ( )
ensureGetIndexWithNonStringAfterSortKey ( )
ensureGetIndexWithNonStringBeforeSortKey ( )
ensureGetIndexWithTooLongCollectionName ( )
ensureIndexCannotBeCreatedAfterFiveAttempts ( ) Verifies the behaviour of the Queue when it cannot create an index after 5 attempts.
getBeforeAck ( )
getByBadQuery ( )
getByFullQuery ( )
getBySubDocQuery ( )
getWait ( )
getWithCustomPriority ( )
getWithNegativePollDuration ( )
getWithNonIntPollDuration ( )
getWithNonIntRunningResetDuration ( )
getWithNonIntWaitDuration ( )
getWithNonStringKey ( )
getWithTimeBasedPriority ( )
getWithTimeBasedPriorityWithOldTimestamp ( )
requeue ( )
requeueBadArg ( )
resetStuck ( )
send ( )
sendWithHighEarliestGet ( )
sendWithLowEarliestGet ( )
sendWithNanPriority ( )
sendWithNonFloatPriority ( )
sendWithNonIntegerEarliestGet ( )
setUp ( )
testCount ( )

Method Details

ack() public method

public ack ( )

ackBadArg() public method

public ackBadArg ( )

ackSend() public method

public ackSend ( )

ackSendWithEarliestGet() public method

Verify earliestGet with ackSend.
public ackSendWithEarliestGet ( ) : void
return void

ackSendWithHighEarliestGet() public method

ackSendWithLowEarliestGet() public method

ackSendWithNanPriority() public method

ackSendWithNonBoolNewTimestamp() public method

ackSendWithNonFloatPriority() public method

ackSendWithNonIntEarliestGet() public method

ackSendWithWrongIdType() public method

constructWithCollection() public method

Verify Queue can be constructed with \MongoDB\Collection
public constructWithCollection ( ) : void
return void

constructWithNonStringCollection() public method

constructWithNonStringDb() public method

constructWithNonStringUrl() public method

countWithNonNullOrBoolRunning() public method

countWithNonStringKey() public method

earliestGet() public method

public earliestGet ( )

ensureCountIndex() public method

public ensureCountIndex ( )

ensureCountIndexWithBadValue() public method

ensureCountIndexWithNonBoolIncludeRunning() public method

ensureCountIndexWithNonStringKey() public method

ensureCountIndexWithPrefixOfPrevious() public method

ensureGetIndex() public method

public ensureGetIndex ( )

ensureGetIndexWithBadAfterSortValue() public method

ensureGetIndexWithBadBeforeSortValue() public method

ensureGetIndexWithNonStringAfterSortKey() public method

ensureGetIndexWithNonStringBeforeSortKey() public method

ensureGetIndexWithTooLongCollectionName() public method

ensureIndexCannotBeCreatedAfterFiveAttempts() public method

Verifies the behaviour of the Queue when it cannot create an index after 5 attempts.

getBeforeAck() public method

public getBeforeAck ( )

getByBadQuery() public method

public getByBadQuery ( )

getByFullQuery() public method

public getByFullQuery ( )

getBySubDocQuery() public method

public getBySubDocQuery ( )

getWait() public method

public getWait ( )

getWithCustomPriority() public method

getWithNegativePollDuration() public method

getWithNonIntPollDuration() public method

getWithNonIntRunningResetDuration() public method

getWithNonIntWaitDuration() public method

getWithNonStringKey() public method

public getWithNonStringKey ( )

getWithTimeBasedPriority() public method

getWithTimeBasedPriorityWithOldTimestamp() public method

requeue() public method

public requeue ( )

requeueBadArg() public method

public requeueBadArg ( )

resetStuck() public method

public resetStuck ( )

send() public method

public send ( )

sendWithHighEarliestGet() public method

sendWithLowEarliestGet() public method

sendWithNanPriority() public method

public sendWithNanPriority ( )

sendWithNonFloatPriority() public method

sendWithNonIntegerEarliestGet() public method

setUp() public method

public setUp ( )

testCount() public method

public testCount ( )