Browse Source

Dummy classes removed

1.0
Claudio Zizza 10 years ago
parent
commit
37de2806da
  1. 27
      tests/Dummies/Task/MyInconsistentTask.php
  2. 36
      tests/Dummies/Task/MyTask.php

27
tests/Dummies/Task/MyInconsistentTask.php

@ -1,27 +0,0 @@
<?php
namespace Task;
class MyInconsistentTask
{
/**
* Returns the Title of the Task
*
* @return string
*/
public function getName()
{
return 'my task';
}
/**
* Runs the task
*
* @return boolean
*/
public function run()
{
return true;
}
}

36
tests/Dummies/Task/MyTask.php

@ -1,36 +0,0 @@
<?php
namespace Task;
use Exception;
use Mage\Task\AbstractTask;
use Mage\Task\ErrorWithMessageException;
use Mage\Task\SkipException;
class MyTask extends AbstractTask
{
/**
* Returns the Title of the Task
*
* @return string
*/
public function getName()
{
return 'my task';
}
/**
* Runs the task
*
* @return boolean
* @throws Exception
* @throws ErrorWithMessageException
* @throws SkipException
*/
public function run()
{
return true;
}
}
Loading…
Cancel
Save