PHP Класс DominionEnterprises\Mongo\QueueTest

Наследование: extends PHPUnit_Framework_TestCase
Показать файл Открыть проект

Открытые методы

Метод Описание
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 ( )

Описание методов

ack() публичный метод

public ack ( )

ackBadArg() публичный метод

public ackBadArg ( )

ackSend() публичный метод

public ackSend ( )

ackSendWithEarliestGet() публичный метод

Verify earliestGet with ackSend.
public ackSendWithEarliestGet ( ) : void
Результат void

ackSendWithHighEarliestGet() публичный метод

ackSendWithLowEarliestGet() публичный метод

ackSendWithNanPriority() публичный метод

ackSendWithNonBoolNewTimestamp() публичный метод

ackSendWithNonFloatPriority() публичный метод

ackSendWithNonIntEarliestGet() публичный метод

ackSendWithWrongIdType() публичный метод

constructWithCollection() публичный метод

Verify Queue can be constructed with \MongoDB\Collection
public constructWithCollection ( ) : void
Результат void

constructWithNonStringCollection() публичный метод

constructWithNonStringDb() публичный метод

constructWithNonStringUrl() публичный метод

countWithNonNullOrBoolRunning() публичный метод

countWithNonStringKey() публичный метод

earliestGet() публичный метод

public earliestGet ( )

ensureCountIndex() публичный метод

public ensureCountIndex ( )

ensureCountIndexWithBadValue() публичный метод

ensureCountIndexWithNonBoolIncludeRunning() публичный метод

ensureCountIndexWithNonStringKey() публичный метод

ensureCountIndexWithPrefixOfPrevious() публичный метод

ensureGetIndex() публичный метод

public ensureGetIndex ( )

ensureGetIndexWithBadAfterSortValue() публичный метод

ensureGetIndexWithBadBeforeSortValue() публичный метод

ensureGetIndexWithNonStringAfterSortKey() публичный метод

ensureGetIndexWithNonStringBeforeSortKey() публичный метод

ensureGetIndexWithTooLongCollectionName() публичный метод

ensureIndexCannotBeCreatedAfterFiveAttempts() публичный метод

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

getBeforeAck() публичный метод

public getBeforeAck ( )

getByBadQuery() публичный метод

public getByBadQuery ( )

getByFullQuery() публичный метод

public getByFullQuery ( )

getBySubDocQuery() публичный метод

public getBySubDocQuery ( )

getWait() публичный метод

public getWait ( )

getWithCustomPriority() публичный метод

getWithNegativePollDuration() публичный метод

getWithNonIntPollDuration() публичный метод

getWithNonIntRunningResetDuration() публичный метод

getWithNonIntWaitDuration() публичный метод

getWithNonStringKey() публичный метод

public getWithNonStringKey ( )

getWithTimeBasedPriority() публичный метод

getWithTimeBasedPriorityWithOldTimestamp() публичный метод

requeue() публичный метод

public requeue ( )

requeueBadArg() публичный метод

public requeueBadArg ( )

resetStuck() публичный метод

public resetStuck ( )

send() публичный метод

public send ( )

sendWithHighEarliestGet() публичный метод

sendWithLowEarliestGet() публичный метод

sendWithNanPriority() публичный метод

public sendWithNanPriority ( )

sendWithNonFloatPriority() публичный метод

sendWithNonIntegerEarliestGet() публичный метод

setUp() публичный метод

public setUp ( )

testCount() публичный метод

public testCount ( )