2017-01-01 22:20:43 +01:00
|
|
|
<?php
|
|
|
|
/*
|
|
|
|
* This file is part of the Magallanes package.
|
|
|
|
*
|
|
|
|
* (c) Andrés Montañez <andres@andresmontanez.com>
|
|
|
|
*
|
|
|
|
* For the full copyright and license information, please view the LICENSE
|
|
|
|
* file that was distributed with this source code.
|
|
|
|
*/
|
|
|
|
|
|
|
|
namespace Mage\Tests\Task;
|
|
|
|
|
|
|
|
use Mage\Task\AbstractTask;
|
|
|
|
|
|
|
|
class TestCaseTask extends AbstractTask
|
|
|
|
{
|
2022-04-10 06:20:03 +02:00
|
|
|
public function getName(): string
|
2017-01-01 22:20:43 +01:00
|
|
|
{
|
|
|
|
return 'test';
|
|
|
|
}
|
|
|
|
|
2022-04-10 06:20:03 +02:00
|
|
|
public function getDescription(): string
|
2017-01-01 22:20:43 +01:00
|
|
|
{
|
|
|
|
return '[Test] This is a Test Task';
|
|
|
|
}
|
|
|
|
|
2022-04-10 06:20:03 +02:00
|
|
|
public function execute(): bool
|
2017-01-01 22:20:43 +01:00
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getOptions()
|
|
|
|
{
|
|
|
|
return $this->options;
|
|
|
|
}
|
|
|
|
}
|