Add some groups legacy, functional, web, authenticated

This commit is contained in:
Benoît Burnichon
2015-06-15 19:30:51 +02:00
parent 6fdecbe6cb
commit b272ce5aac
492 changed files with 1982 additions and 0 deletions

View File

@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Command;
use Alchemy\Phrasea\Command\CheckConfig;
/**
* @group functional
* @group legacy
*/
class CheckConfigTest extends \PhraseanetTestCase
{
public function testRunWithoutProblems()

View File

@@ -6,6 +6,10 @@ use Alchemy\Phrasea\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
/**
* @group functional
* @group legacy
*/
class CommandTest extends \PhraseanetTestCase
{
/**

View File

@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Command\Compile;
use Alchemy\Phrasea\Command\Compile\Configuration;
/**
* @group functional
* @group legacy
*/
class ConfigurationTest extends \PhraseanetTestCase
{
public function testExecute()

View File

@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Command\Developper;
use Alchemy\Phrasea\Command\Developer\BowerInstall;
/**
* @group functional
* @group legacy
*/
class BowerInstallTest extends \PhraseanetTestCase
{
public function testRunWithoutProblems()

View File

@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Command\Developper;
use Alchemy\Phrasea\Command\Developer\ComposerInstall;
/**
* @group functional
* @group legacy
*/
class ComposerInstallTest extends \PhraseanetTestCase
{
public function testRunWithoutProblems()

View File

@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Command\Developper;
use Alchemy\Phrasea\Command\Developer\InstallAll;
/**
* @group functional
* @group legacy
*/
class InstallAllTest extends \PhraseanetTestCase
{
public function testRunWithoutProblems()

View File

@@ -5,6 +5,10 @@ namespace Alchemy\Tests\Phrasea\Command\Developper\Utils;
use Alchemy\Phrasea\Command\Developer\Utils\BowerDriver;
use Symfony\Component\Process\PhpExecutableFinder;
/**
* @group functional
* @group legacy
*/
class BowerDriverTest extends \PhraseanetTestCase
{
public function testCreate()

View File

@@ -5,6 +5,10 @@ namespace Alchemy\Tests\Phrasea\Command\Developper\Utils;
use Alchemy\Phrasea\Command\Developer\Utils\ComposerDriver;
use Symfony\Component\Process\PhpExecutableFinder;
/**
* @group functional
* @group legacy
*/
class ComposerDriverTest extends \PhraseanetTestCase
{
public function testCreate()

View File

@@ -6,6 +6,10 @@ use Alchemy\Phrasea\Command\Developer\Utils\GruntDriver;
use Alchemy\Phrasea\Core\CLIProvider\CLIDriversServiceProvider;
use Symfony\Component\Process\PhpExecutableFinder;
/**
* @group functional
* @group legacy
*/
class GruntDriverTest extends \PhraseanetTestCase
{
public function testCreate()

View File

@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Command\Developper\Utils;
use Alchemy\Phrasea\Command\Developer\Utils\RecessDriver;
/**
* @group functional
* @group legacy
*/
class RecessDriverTest extends \PhraseanetTestCase
{
public function testGetCreate()

View File

@@ -6,6 +6,10 @@ use Alchemy\Phrasea\Command\Developer\Utils\UglifyJsDriver;
use Alchemy\Phrasea\Core\CLIProvider\CLIDriversServiceProvider;
use Symfony\Component\Process\PhpExecutableFinder;
/**
* @group functional
* @group legacy
*/
class UglifyJsDriverTest extends \PhraseanetTestCase
{
public function testCreate()

View File

@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Command;
use Alchemy\Phrasea\Command\MailTest;
/**
* @group functional
* @group legacy
*/
class MailTestTest extends \PhraseanetTestCase
{
public function testMailIsSent()

View File

@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Command\Plugin;
use Alchemy\Phrasea\Command\Plugin\AddPlugin;
/**
* @group functional
* @group legacy
*/
class AddPluginTest extends PluginCommandTestCase
{
public function testExecute()

View File

@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Command\Plugin;
use Alchemy\Phrasea\Command\Plugin\DisablePlugin;
/**
* @group functional
* @group legacy
*/
class DisablePluginTest extends PluginCommandTestCase
{
/**

View File

@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Command\Plugin;
use Alchemy\Phrasea\Command\Plugin\EnablePlugin;
/**
* @group functional
* @group legacy
*/
class EnablePluginTest extends PluginCommandTestCase
{
/**

View File

@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Command\Plugin;
use Alchemy\Phrasea\Command\Plugin\ListPlugin;
/**
* @group functional
* @group legacy
*/
class ListPluginTest extends PluginCommandTestCase
{
public function testExecute()

View File

@@ -2,6 +2,10 @@
namespace Alchemy\Tests\Phrasea\Command\Plugin;
/**
* @group functional
* @group legacy
*/
class PluginCommandTestCase extends \PhraseanetTestCase
{
protected function createTemporaryFilesystemMock()

View File

@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Command\Plugin;
use Alchemy\Phrasea\Command\Plugin\RemovePlugin;
/**
* @group functional
* @group legacy
*/
class RemovePluginTest extends PluginCommandTestCase
{
public function testExecute()

View File

@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Command\Setup;
use Alchemy\Phrasea\Command\Setup\CheckEnvironment;
/**
* @group functional
* @group legacy
*/
class CheckEnvironmentTest extends \PhraseanetTestCase
{
public function testRunWithoutProblems()

View File

@@ -5,6 +5,10 @@ namespace Alchemy\Tests\Phrasea\Command\Setup;
use Alchemy\Phrasea\Command\Setup\Install;
use Symfony\Component\Yaml\Yaml;
/**
* @group functional
* @group legacy
*/
class InstallTest extends \PhraseanetTestCase
{
public function testRunWithoutProblems()

View File

@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Command\Setup;
use Alchemy\Phrasea\Command\Setup\PluginsReset;
/**
* @group functional
* @group legacy
*/
class PluginResetTest extends \PhraseanetTestCase
{
public function testRun()

View File

@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Command\Setup;
use Alchemy\Phrasea\Command\Setup\XSendFileMappingGenerator;
/**
* @group functional
* @group legacy
*/
class XSendFileMappingGeneratorTest extends \PhraseanetTestCase
{
/**

View File

@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Command\Task;
use Alchemy\Phrasea\Command\Task\SchedulerPauseTasks;
/**
* @group functional
* @group legacy
*/
class SchedulerPauseTest extends \PhraseanetTestCase
{
public function testRunWithoutProblems()

View File

@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Command\Task;
use Alchemy\Phrasea\Command\Task\SchedulerResumeTasks;
/**
* @group functional
* @group legacy
*/
class SchedulerResumeTest extends \PhraseanetTestCase
{
public function testRunWithoutProblems()

View File

@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Command\Task;
use Alchemy\Phrasea\Command\Task\SchedulerRun;
/**
* @group functional
* @group legacy
*/
class SchedulerRunTest extends \PhraseanetTestCase
{
public function testRunWithoutProblems()

View File

@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Command\Task;
use Alchemy\Phrasea\Command\Task\SchedulerState;
/**
* @group functional
* @group legacy
*/
class SchedulerStateTest extends \PhraseanetTestCase
{
public function testRunWithoutProblems()

View File

@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Command\Task;
use Alchemy\Phrasea\Command\Task\TaskList;
/**
* @group functional
* @group legacy
*/
class TaskListTest extends \PhraseanetTestCase
{
public function testRunWithoutProblems()

View File

@@ -5,6 +5,10 @@ namespace Alchemy\Tests\Phrasea\Command\Task;
use Alchemy\Phrasea\Command\Task\TaskRun;
use Alchemy\Phrasea\Model\Entities\Task;
/**
* @group functional
* @group legacy
*/
class TaskRunTest extends \PhraseanetTestCase
{
public function testRunWithoutProblems()

View File

@@ -5,6 +5,10 @@ namespace Alchemy\Tests\Phrasea\Command\Task;
use Alchemy\Phrasea\Command\Task\TaskStart;
use Alchemy\Phrasea\Model\Entities\Task;
/**
* @group functional
* @group legacy
*/
class TaskStartTest extends \PhraseanetTestCase
{
public function testRunWithoutProblems()

View File

@@ -5,6 +5,10 @@ namespace Alchemy\Tests\Phrasea\Command\Task;
use Alchemy\Phrasea\Command\Task\TaskState;
use Alchemy\Phrasea\Model\Entities\Task;
/**
* @group functional
* @group legacy
*/
class TaskStateTest extends \PhraseanetTestCase
{
public function testRunWithoutProblems()

View File

@@ -5,6 +5,10 @@ namespace Alchemy\Tests\Phrasea\Command\Task;
use Alchemy\Phrasea\Command\Task\TaskStop;
use Alchemy\Phrasea\Model\Entities\Task;
/**
* @group functional
* @group legacy
*/
class TaskStopTest extends \PhraseanetTestCase
{
public function testRunWithoutProblems()

View File

@@ -6,6 +6,10 @@ use Alchemy\Phrasea\Command\UpgradeDBDatas;
use Alchemy\Phrasea\Command\Upgrade\Step31;
use Alchemy\Phrasea\Command\Upgrade\Step35;
/**
* @group functional
* @group legacy
*/
class UpgradeDBDatasTest extends \PhraseanetTestCase
{
/**