Class Resque_Tests_JobTest
| Inheritance | Resque_Tests_JobTest » Resque_Tests_TestCase » PHPUnit_Framework_TestCase |
|---|
Resque_Job tests.
Protected Properties
| Property | Type | Description | Defined By |
|---|---|---|---|
| $redis | Resque_Tests_TestCase | ||
| $resque | Resque_Tests_TestCase | ||
| $worker | Resque_Tests_JobTest |
Public Methods
Property Details
Method Details
| public void setUp ( ) |
| public void testAfterJobIsReservedItIsRemoved ( ) |
| public void testFailedJobExceptionsAreCaught ( ) |
| public void testInvalidJobThrowsException ( ) |
| public void testJobCanBeQueued ( ) |
| public void testJobWithNamespace ( ) |
| public void testJobWithSetUpCallbackFiresSetUp ( ) |
| public void testJobWithTearDownCallbackFiresTearDown ( ) |
| public void testJobWithoutPerformMethodThrowsException ( ) |
| public void testObjectArgumentsCannotBePassedToJob ( ) |
| public void testQeueuedJobCanBeReserved ( ) |
| public void testQueuedJobReturnsExactSamePassedInArguments ( ) |
| public void testRecreatedJobMatchesExistingJob ( ) |