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

@@ -5,6 +5,10 @@ namespace Alchemy\Tests\Phrasea\Form\Configuration;
use Alchemy\Phrasea\Form\Configuration\APIClientsFormType;
use Alchemy\Tests\Phrasea\Form\FormTestCase;
/**
* @group functional
* @group legacy
*/
class APIClientsFormTypeTest extends FormTestCase
{
public function getForm()

View File

@@ -5,6 +5,10 @@ namespace Alchemy\Tests\Phrasea\Form\Configuration;
use Alchemy\Phrasea\Form\Configuration\ActionsFormType;
use Alchemy\Tests\Phrasea\Form\FormTestCase;
/**
* @group functional
* @group legacy
*/
class ActionsFormTypeTest extends FormTestCase
{
public function getForm()

View File

@@ -5,6 +5,10 @@ namespace Alchemy\Tests\Phrasea\Form\Configuration;
use Alchemy\Phrasea\Form\Configuration\ClassicFormType;
use Alchemy\Tests\Phrasea\Form\FormTestCase;
/**
* @group functional
* @group legacy
*/
class ClassicFormTypeTest extends FormTestCase
{
public function getForm()

View File

@@ -5,6 +5,10 @@ namespace Alchemy\Tests\Phrasea\Form\Configuration;
use Alchemy\Phrasea\Form\Configuration\EmailFormType;
use Alchemy\Tests\Phrasea\Form\FormTestCase;
/**
* @group functional
* @group legacy
*/
class EmailFormTypeTest extends FormTestCase
{
public function getForm()

View File

@@ -5,6 +5,10 @@ namespace Alchemy\Tests\Phrasea\Form\Configuration;
use Alchemy\Phrasea\Form\Configuration\ExecutablesFormType;
use Alchemy\Tests\Phrasea\Form\FormTestCase;
/**
* @group functional
* @group legacy
*/
class ExecutablesFormTypeTest extends FormTestCase
{
public function getForm()

View File

@@ -5,6 +5,10 @@ namespace Alchemy\Tests\Phrasea\Form\Configuration;
use Alchemy\Phrasea\Form\Configuration\FtpExportFormType;
use Alchemy\Tests\Phrasea\Form\FormTestCase;
/**
* @group functional
* @group legacy
*/
class FtpExportFormTypeTest extends FormTestCase
{
public function getForm()

View File

@@ -5,6 +5,10 @@ namespace Alchemy\Tests\Phrasea\Form\Configuration;
use Alchemy\Phrasea\Form\Configuration\GeneralFormType;
use Alchemy\Tests\Phrasea\Form\FormTestCase;
/**
* @group functional
* @group legacy
*/
class GeneralFormTypeTest extends FormTestCase
{
public function getForm()

View File

@@ -5,6 +5,10 @@ namespace Alchemy\Tests\Phrasea\Form\Configuration;
use Alchemy\Phrasea\Form\Configuration\MainConfigurationFormType;
use Alchemy\Tests\Phrasea\Form\FormTestCase;
/**
* @group functional
* @group legacy
*/
class MainConfigurationFormTypeTest extends FormTestCase
{
public function getForm()

View File

@@ -5,6 +5,10 @@ namespace Alchemy\Tests\Phrasea\Form\Configuration;
use Alchemy\Phrasea\Form\Configuration\MaintenanceFormType;
use Alchemy\Tests\Phrasea\Form\FormTestCase;
/**
* @group functional
* @group legacy
*/
class MaintenanceFormTypeTest extends FormTestCase
{
public function getForm()

View File

@@ -5,6 +5,10 @@ namespace Alchemy\Tests\Phrasea\Form\Configuration;
use Alchemy\Phrasea\Form\Configuration\ModulesFormType;
use Alchemy\Tests\Phrasea\Form\FormTestCase;
/**
* @group functional
* @group legacy
*/
class ModulesFormTypeTest extends FormTestCase
{
public function getForm()

View File

@@ -5,6 +5,10 @@ namespace Alchemy\Tests\Phrasea\Form\Configuration;
use Alchemy\Phrasea\Form\Configuration\RegistrationFormType;
use Alchemy\Tests\Phrasea\Form\FormTestCase;
/**
* @group functional
* @group legacy
*/
class RegistrationFormTypeTest extends FormTestCase
{
public function getForm()

View File

@@ -5,6 +5,10 @@ namespace Alchemy\Tests\Phrasea\Form\Configuration;
use Alchemy\Phrasea\Form\Configuration\SearchEngineFormType;
use Alchemy\Tests\Phrasea\Form\FormTestCase;
/**
* @group functional
* @group legacy
*/
class SearchEngineFormTypeTest extends FormTestCase
{
public function getForm()

View File

@@ -5,6 +5,10 @@ namespace Alchemy\Tests\Phrasea\Form\Configuration;
use Alchemy\Phrasea\Form\Configuration\WebservicesFormType;
use Alchemy\Tests\Phrasea\Form\FormTestCase;
/**
* @group functional
* @group legacy
*/
class WebservicesFormTypeTest extends FormTestCase
{
public function getForm()

View File

@@ -7,6 +7,10 @@ use Alchemy\Geonames\Geoname as GeonameResult;
use Alchemy\Geonames\Exception\NotFoundException;
use Alchemy\Geonames\Exception\TransportException;
/**
* @group functional
* @group legacy
*/
class GeonameTest extends \PhraseanetTestCase
{
public function testAValidGeonameIsValid()

View File

@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Form\Constraint;
use Alchemy\Phrasea\Form\Constraint\GeonameValidator;
/**
* @group functional
* @group legacy
*/
class GeonameValidatorTest extends \PhraseanetTestCase
{
/**

View File

@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Form\Constraint;
use Alchemy\Phrasea\Form\Constraint\NewEmail;
/**
* @group functional
* @group legacy
*/
class NewEmailTest extends \PhraseanetTestCase
{
public function testAnUnknownAddressIsNotAlreadyRegistered()

View File

@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Form\Constraint;
use Alchemy\Phrasea\Form\Constraint\NewEmailValidator;
/**
* @group functional
* @group legacy
*/
class NewEmailValidatorTest extends \PhraseanetTestCase
{
/**

View File

@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Form\Constraint;
use Alchemy\Phrasea\Form\Constraint\NewLogin;
/**
* @group functional
* @group legacy
*/
class NewLoginTest extends \PhraseanetTestCase
{
public function testAnUnknownLoginIsNotAlreadyRegistered()

View File

@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Form\Constraint;
use Alchemy\Phrasea\Form\Constraint\NewLoginValidator;
/**
* @group functional
* @group legacy
*/
class NewLoginValidatorTest extends \PhraseanetTestCase
{
/**

View File

@@ -6,6 +6,10 @@ use Alchemy\Phrasea\Form\Constraint\PasswordToken;
use Alchemy\Phrasea\Model\Entities\Token;
use Alchemy\Phrasea\Model\Manipulator\TokenManipulator;
/**
* @group functional
* @group legacy
*/
class PasswordTokenTest extends \PhraseanetTestCase
{
public function testInvalidTokenIsNotValid()

View File

@@ -5,6 +5,10 @@ namespace Alchemy\Tests\Phrasea\Form\Constraint;
use Alchemy\Phrasea\Form\Constraint\PasswordTokenValidator;
use RandomLib\Factory;
/**
* @group functional
* @group legacy
*/
class PasswordTokenValidatorTest extends \PhraseanetTestCase
{
/**

View File

@@ -5,6 +5,10 @@ namespace Alchemy\Tests\Phrasea\Form\Login;
use Alchemy\Phrasea\Form\Login\PhraseaAuthenticationForm;
use Alchemy\Tests\Phrasea\Form\FormTestCase;
/**
* @group functional
* @group legacy
*/
class PhraseaAuthenticationFormTest extends FormTestCase
{
protected function getForm()

View File

@@ -5,6 +5,10 @@ namespace Alchemy\Tests\Phrasea\Form\Login;
use Alchemy\Phrasea\Form\Login\PhraseaForgotPasswordForm;;
use Alchemy\Tests\Phrasea\Form\FormTestCase;
/**
* @group functional
* @group legacy
*/
class PhraseaForgotPasswordFormTest extends FormTestCase
{
protected function getForm()

View File

@@ -5,6 +5,10 @@ namespace Alchemy\Tests\Phrasea\Form\Login;
use Alchemy\Phrasea\Form\Login\PhraseaRecoverPasswordForm;;
use Alchemy\Tests\Phrasea\Form\FormTestCase;
/**
* @group functional
* @group legacy
*/
class PhraseaRecoverPasswordFormTest extends FormTestCase
{
protected function getForm()

View File

@@ -6,6 +6,10 @@ use Alchemy\Phrasea\Form\Login\PhraseaRegisterForm;;
use Alchemy\Tests\Phrasea\Form\FormTestCase;
use Alchemy\Phrasea\Utilities\String\Camelizer;
/**
* @group functional
* @group legacy
*/
class PhraseaRegisterFormTest extends FormTestCase
{
protected function getForm()

View File

@@ -5,6 +5,10 @@ namespace Alchemy\Tests\Phrasea\Form\Login;
use Alchemy\Phrasea\Form\Login\PhraseaRenewPasswordForm;;
use Alchemy\Tests\Phrasea\Form\FormTestCase;
/**
* @group functional
* @group legacy
*/
class PhraseaRenewPasswordFormTest extends FormTestCase
{
protected function getForm()

View File

@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Form\Type;
use Alchemy\Phrasea\Form\Type\GeonameType;
/**
* @group functional
* @group legacy
*/
class GeonameTypeTest extends \PhraseanetTestCase
{
public function testGetParent()