PHP Class DominionEnterprises\Mongo\QueueTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: dominionenterprises/mongo-queue-php

Méthodes publiques

Méthode 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 méthode

public ack ( )

ackBadArg() public méthode

public ackBadArg ( )

ackSend() public méthode

public ackSend ( )

ackSendWithEarliestGet() public méthode

Verify earliestGet with ackSend.
public ackSendWithEarliestGet ( ) : void
Résultat void

ackSendWithHighEarliestGet() public méthode

ackSendWithLowEarliestGet() public méthode

ackSendWithNanPriority() public méthode

ackSendWithNonBoolNewTimestamp() public méthode

ackSendWithNonFloatPriority() public méthode

ackSendWithNonIntEarliestGet() public méthode

ackSendWithWrongIdType() public méthode

constructWithCollection() public méthode

Verify Queue can be constructed with \MongoDB\Collection
public constructWithCollection ( ) : void
Résultat void

constructWithNonStringCollection() public méthode

constructWithNonStringDb() public méthode

constructWithNonStringUrl() public méthode

countWithNonNullOrBoolRunning() public méthode

countWithNonStringKey() public méthode

earliestGet() public méthode

public earliestGet ( )

ensureCountIndex() public méthode

public ensureCountIndex ( )

ensureCountIndexWithBadValue() public méthode

ensureCountIndexWithNonBoolIncludeRunning() public méthode

ensureCountIndexWithNonStringKey() public méthode

ensureCountIndexWithPrefixOfPrevious() public méthode

ensureGetIndex() public méthode

public ensureGetIndex ( )

ensureGetIndexWithBadAfterSortValue() public méthode

ensureGetIndexWithBadBeforeSortValue() public méthode

ensureGetIndexWithNonStringAfterSortKey() public méthode

ensureGetIndexWithNonStringBeforeSortKey() public méthode

ensureGetIndexWithTooLongCollectionName() public méthode

ensureIndexCannotBeCreatedAfterFiveAttempts() public méthode

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

getBeforeAck() public méthode

public getBeforeAck ( )

getByBadQuery() public méthode

public getByBadQuery ( )

getByFullQuery() public méthode

public getByFullQuery ( )

getBySubDocQuery() public méthode

public getBySubDocQuery ( )

getWait() public méthode

public getWait ( )

getWithCustomPriority() public méthode

getWithNegativePollDuration() public méthode

getWithNonIntPollDuration() public méthode

getWithNonIntRunningResetDuration() public méthode

getWithNonIntWaitDuration() public méthode

getWithNonStringKey() public méthode

public getWithNonStringKey ( )

getWithTimeBasedPriority() public méthode

getWithTimeBasedPriorityWithOldTimestamp() public méthode

requeue() public méthode

public requeue ( )

requeueBadArg() public méthode

public requeueBadArg ( )

resetStuck() public méthode

public resetStuck ( )

send() public méthode

public send ( )

sendWithHighEarliestGet() public méthode

sendWithLowEarliestGet() public méthode

sendWithNanPriority() public méthode

public sendWithNanPriority ( )

sendWithNonFloatPriority() public méthode

sendWithNonIntegerEarliestGet() public méthode

setUp() public méthode

public setUp ( )

testCount() public méthode

public testCount ( )