PHP Класс Queue\Test\TestCase\Model\Table\QueuedJobsTableTest

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

Открытые свойства

Свойство Тип Описание
$fixtures array Fixtures

Защищенные свойства (Protected)

Свойство Тип Описание
$QueuedJobs Queue\Model\Table\QueuedJobsTable

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

Метод Описание
_testRequeueAfterTimeout ( ) : void Are those tests still valid?
_testRequeueAfterTimeout2 ( ) : void Tests whether the timeout of second tasks doesn't interfere with requeue of tasks
setUp ( ) : void setUp method
testCreateAndCount ( ) : void Test the basic create and length evaluation functions.
testCreateAndFetch ( ) : void Test the basic create and fetch functions.
testNotBefore ( ) : null Test creating Jobs to run close to a specified time, and strtotime parsing.
testNotBeforeOrder ( ) : null Test Job reordering depending on 'notBefore' field.
testPriority ( ) : void
testQueueInstance ( ) : void Basic Instance test
testRateLimit ( ) : void Job Rate limiting.
testRequestGroup ( ) : void Testing request grouping.
testSequence ( ) : void Test the delivery of jobs in sequence, skipping fetched but not completed tasks.

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

_testRequeueAfterTimeout() публичный Метод

Are those tests still valid?
public _testRequeueAfterTimeout ( ) : void
Результат void

_testRequeueAfterTimeout2() публичный Метод

Are those tests still valid?
public _testRequeueAfterTimeout2 ( ) : void
Результат void

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

setUp method
public setUp ( ) : void
Результат void

testCreateAndCount() публичный Метод

Test the basic create and length evaluation functions.
public testCreateAndCount ( ) : void
Результат void

testCreateAndFetch() публичный Метод

Test the basic create and fetch functions.
public testCreateAndFetch ( ) : void
Результат void

testNotBefore() публичный Метод

Using toUnixString() function to convert Time object to timestamp, instead of strtotime
public testNotBefore ( ) : null
Результат null

testNotBeforeOrder() публичный Метод

Jobs with an expired notbefore field should be executed before any other job without specific timing info.
public testNotBeforeOrder ( ) : null
Результат null

testPriority() публичный Метод

public testPriority ( ) : void
Результат void

testQueueInstance() публичный Метод

Basic Instance test
public testQueueInstance ( ) : void
Результат void

testRateLimit() публичный Метод

Do not execute jobs of a certain type more often than once every X seconds.
public testRateLimit ( ) : void
Результат void

testRequestGroup() публичный Метод

Testing request grouping.
public testRequestGroup ( ) : void
Результат void

testSequence() публичный Метод

Test the delivery of jobs in sequence, skipping fetched but not completed tasks.
public testSequence ( ) : void
Результат void

Описание свойств

$QueuedJobs защищенное свойство

protected QueuedJobsTable,Queue\Model\Table $QueuedJobs
Результат Queue\Model\Table\QueuedJobsTable

$fixtures публичное свойство

Fixtures
public array $fixtures
Результат array