Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Naming

  • Loading branch information...
commit d18d60c871c09ccbf6c7055aac629e63d3511a57 1 parent 00d29e5
Michael Weinrich authored
View
2  ...r/Executor/Decorator/TimeoutExecutorDecorator.php → ...ator/Executor/Decorator/SetTimeLimitDecorator.php
@@ -4,7 +4,7 @@
use Procrastinator\Executor\Executor;
use Procrastinator\Executable;
-class TimeoutExecutorDecorator extends ExecutorDecorator
+class SetTimeLimitDecorator extends ExecutorDecorator
{
protected $timeout;
View
4 ...ecutor/Decorator/TimeoutExecutorDecoratorTest.php → .../Executor/Decorator/SetTimeLimitDecoratorTest.php
@@ -4,7 +4,7 @@
use PHPUnit_Framework_TestCase as TestCase;
use Procrastinator\Deferred\CallbackDeferred;
-class TimeoutExecutorDecoratorTest extends TestCase
+class SetTimeLimitDecoratorTest extends TestCase
{
protected $executor;
protected $decorator;
@@ -17,7 +17,7 @@ public function setUp()
$this->executor = $this->getMockBuilder('Procrastinator\Executor\Executor')
->getMock();
- $this->decorator = new TimeoutExecutorDecorator($this->executor, 120);
+ $this->decorator = new SetTimeLimitDecorator($this->executor, 120);
$this->executable = $this->getMockBuilder('Procrastinator\Executable')
->getMock();
$this->deferred = $this->getMockBuilder('Procrastinator\Deferred\Deferred')
Please sign in to comment.
Something went wrong with that request. Please try again.