mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 14:33:14 +00:00
Add some groups legacy, functional, web, authenticated
This commit is contained in:
@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\ACL;
|
||||
|
||||
use Alchemy\Phrasea\ACL\BasketACL;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class BasketACLTest extends \PhraseanetTestCase
|
||||
{
|
||||
public function testOwnerIsOwner()
|
||||
|
@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Application;
|
||||
|
||||
use Symfony\Component\Process\Process;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class ConsoleAPITest extends \PhraseanetTestCase
|
||||
{
|
||||
/**
|
||||
|
@@ -2,6 +2,12 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Application;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
* @group authenticated
|
||||
* @group web
|
||||
*/
|
||||
class LightboxTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
|
@@ -8,6 +8,12 @@ use Alchemy\Phrasea\Model\Entities\FeedItem;
|
||||
use Alchemy\Phrasea\Model\Serializer\CaptionSerializer;
|
||||
use Symfony\Component\HttpFoundation\File\UploadedFile;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
* @group authenticated
|
||||
* @group web
|
||||
*/
|
||||
class OverviewTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
public function testDatafilesRouteAuthenticated()
|
||||
|
@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Application;
|
||||
|
||||
use Alchemy\Phrasea\Application;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class RootApplicationTest extends \PhraseanetTestCase
|
||||
{
|
||||
/**
|
||||
|
@@ -18,6 +18,10 @@ use Symfony\Component\EventDispatcher\EventSubscriberInterface;
|
||||
use Symfony\Component\HttpKernel\KernelEvents;
|
||||
use Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class ApplicationTest extends \PhraseanetTestCase
|
||||
{
|
||||
/**
|
||||
|
@@ -2,6 +2,10 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Authentication;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class ACLProviderTest extends \PhraseanetTestCase
|
||||
{
|
||||
public function testGetACL()
|
||||
|
@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Authentication;
|
||||
|
||||
use Alchemy\Phrasea\Authentication\AccountCreator;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class AccountCreatorTest extends \PhraseanetTestCase
|
||||
{
|
||||
/**
|
||||
|
@@ -6,6 +6,10 @@ use Alchemy\Phrasea\Authentication\Authenticator;
|
||||
use Alchemy\Phrasea\Exception\RuntimeException;
|
||||
use Alchemy\Phrasea\Model\Entities\Session;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class AuthenticatorTest extends \PhraseanetTestCase
|
||||
{
|
||||
/**
|
||||
|
@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Authentication;
|
||||
|
||||
use Alchemy\Phrasea\Authentication\Context;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class ContextTest extends \PhraseanetTestCase
|
||||
{
|
||||
public function testWithValidCOntext()
|
||||
|
@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Authentication;
|
||||
|
||||
use Alchemy\Phrasea\Authentication\Manager;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class ManagerTest extends \PhraseanetTestCase
|
||||
{
|
||||
/**
|
||||
|
@@ -5,6 +5,10 @@ namespace Alchemy\Tests\Phrasea\Authentication\PersistentCookie;
|
||||
use Alchemy\Phrasea\Authentication\PersistentCookie\Manager;
|
||||
use Alchemy\Phrasea\Model\Entities\Session;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class ManagerTest extends \PhraseanetTestCase
|
||||
{
|
||||
/**
|
||||
|
@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Authentication\Phrasea;
|
||||
|
||||
use Alchemy\Phrasea\Authentication\Phrasea\FailureHandledNativeAuthentication;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class FailureHandledNativeAuthenticationTest extends \PhraseanetTestCase
|
||||
{
|
||||
public function testGetUsrIdWhenSuccessful()
|
||||
|
@@ -7,6 +7,10 @@ use Alchemy\Phrasea\Model\Entities\AuthFailure;
|
||||
use Gedmo\Timestampable\TimestampableListener;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class FailureManagerTest extends \PhraseanetTestCase
|
||||
{
|
||||
/**
|
||||
|
@@ -6,6 +6,10 @@ use Alchemy\Phrasea\Authentication\Phrasea\NativeAuthentication;
|
||||
use Alchemy\Phrasea\Authentication\Exception\AccountLockedException;
|
||||
use Alchemy\Phrasea\Model\Entities\User;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class NativeAuthenticationTest extends \PhraseanetTestCase
|
||||
{
|
||||
public function testAuthenticationSpecialUser()
|
||||
|
@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Authentication\Phrasea;
|
||||
|
||||
use Alchemy\Phrasea\Authentication\Phrasea\OldPasswordEncoder;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class OldPasswordEncoderTest extends \PhraseanetTestCase
|
||||
{
|
||||
/**
|
||||
|
@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Authentication\Phrasea;
|
||||
|
||||
use Alchemy\Phrasea\Authentication\Phrasea\PasswordEncoder;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class PasswordEncoderTest extends \PhraseanetTestCase
|
||||
{
|
||||
public function providePasswords()
|
||||
|
@@ -6,6 +6,10 @@ use Alchemy\Phrasea\Authentication\Provider\Facebook;
|
||||
use Alchemy\Phrasea\Authentication\Provider\ProviderInterface;
|
||||
use Alchemy\Phrasea\Authentication\Provider\Token\Identity;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class FacebookTest extends ProviderTestCase
|
||||
{
|
||||
public function testGetSetSession()
|
||||
|
@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Authentication\Provider;
|
||||
|
||||
use Alchemy\Phrasea\Authentication\Provider\Factory;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class FactoryTest extends \PhraseanetTestCase
|
||||
{
|
||||
/**
|
||||
|
@@ -6,6 +6,10 @@ use Alchemy\Phrasea\Authentication\Provider\Github;
|
||||
use Alchemy\Phrasea\Authentication\Provider\ProviderInterface;
|
||||
use Alchemy\Phrasea\Authentication\Provider\Token\Identity;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class GithubTest extends ProviderTestCase
|
||||
{
|
||||
public function provideDataForFailingCallback()
|
||||
|
@@ -6,6 +6,10 @@ use Alchemy\Phrasea\Authentication\Provider\GooglePlus;
|
||||
use Alchemy\Phrasea\Authentication\Provider\ProviderInterface;
|
||||
use Alchemy\Phrasea\Authentication\Provider\Token\Identity;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class GooglePlusTest extends ProviderTestCase
|
||||
{
|
||||
public function testGetSetGoogleClient()
|
||||
|
@@ -6,6 +6,10 @@ use Alchemy\Phrasea\Authentication\Provider\Linkedin;
|
||||
use Alchemy\Phrasea\Authentication\Provider\ProviderInterface;
|
||||
use Alchemy\Phrasea\Authentication\Provider\Token\Identity;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class LinkedinTest extends ProviderTestCase
|
||||
{
|
||||
public function provideDataForFailingCallback()
|
||||
|
@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Authentication\Provider\Token;
|
||||
|
||||
use Alchemy\Phrasea\Authentication\Provider\Token\Identity;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class IdentityTest extends \PhraseanetTestCase
|
||||
{
|
||||
public function testThatOffsetAreSetOnConstruct()
|
||||
|
@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Authentication\Provider\Token;
|
||||
|
||||
use Alchemy\Phrasea\Authentication\Provider\Token\Token;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class TokenTest extends \PhraseanetTestCase
|
||||
{
|
||||
public function testGetIdAndProvider()
|
||||
|
@@ -6,6 +6,10 @@ use Alchemy\Phrasea\Authentication\Provider\Twitter;
|
||||
use Alchemy\Phrasea\Authentication\Provider\ProviderInterface;
|
||||
use Alchemy\Phrasea\Authentication\Provider\Token\Identity;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class TwitterTest extends ProviderTestCase
|
||||
{
|
||||
public function testGetSetGuzzleClient()
|
||||
|
@@ -6,6 +6,10 @@ use Alchemy\Phrasea\Authentication\Provider\Viadeo;
|
||||
use Alchemy\Phrasea\Authentication\Provider\ProviderInterface;
|
||||
use Alchemy\Phrasea\Authentication\Provider\Token\Identity;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class ViadeoTest extends ProviderTestCase
|
||||
{
|
||||
public function provideDataForFailingCallback()
|
||||
|
@@ -5,6 +5,10 @@ namespace Alchemy\Tests\Phrasea\Authentication;
|
||||
use Alchemy\Phrasea\Authentication\ProvidersCollection;
|
||||
use Alchemy\Phrasea\Exception\InvalidArgumentException;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class ProvidersCollectionTest extends \PhraseanetTestCase
|
||||
{
|
||||
/**
|
||||
|
@@ -5,6 +5,10 @@ namespace Alchemy\Tests\Phrasea\Authentication;
|
||||
use Alchemy\Phrasea\Authentication\Provider\Token\Identity;
|
||||
use Alchemy\Phrasea\Authentication\SuggestionFinder;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class SuggestionFinderTest extends \PhraseanetTestCase
|
||||
{
|
||||
public function testSuggestionIsFound()
|
||||
|
@@ -9,6 +9,10 @@ use PHPExiftool\Driver\Tag\IPTC\UniqueDocumentID;
|
||||
use PHPExiftool\Driver\Value\Mono;
|
||||
use PHPExiftool\Driver\Metadata\Metadata;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class FactoryTest extends \PhraseanetTestCase
|
||||
{
|
||||
|
||||
|
@@ -5,6 +5,10 @@ namespace Alchemy\Tests\Phrasea\Border\Attribute;
|
||||
use Alchemy\Phrasea\Border\Attribute\MetaField;
|
||||
use Alchemy\Phrasea\Border\Attribute\AttributeInterface;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class MetaFieldTest extends \PhraseanetTestCase
|
||||
{
|
||||
/**
|
||||
|
@@ -8,6 +8,10 @@ use PHPExiftool\Driver\Tag\IPTC\ObjectName;
|
||||
use PHPExiftool\Driver\Value\Mono;
|
||||
use PHPExiftool\Driver\Metadata\Metadata as ExiftoolMeta;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class MetadataTest extends \PhraseanetTestCase
|
||||
{
|
||||
/**
|
||||
|
@@ -5,6 +5,10 @@ namespace Alchemy\Tests\Phrasea\Border\Attribute;
|
||||
use Alchemy\Phrasea\Border\Attribute\Status;
|
||||
use Alchemy\Phrasea\Border\Attribute\AttributeInterface;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class StatusTest extends \PhraseanetTestCase
|
||||
{
|
||||
/**
|
||||
|
@@ -5,6 +5,10 @@ namespace Alchemy\Tests\Phrasea\Border\Attribute;
|
||||
use Alchemy\Phrasea\Border\Attribute\Story;
|
||||
use Alchemy\Phrasea\Border\Attribute\AttributeInterface;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class StoryTest extends \PhraseanetTestCase
|
||||
{
|
||||
/**
|
||||
|
@@ -7,6 +7,10 @@ use Alchemy\Phrasea\Border\File;
|
||||
use Doctrine\ORM\EntityManager;
|
||||
use Symfony\Component\Translation\TranslatorInterface;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class AbstractCheckerTest extends \PhraseanetTestCase
|
||||
{
|
||||
/**
|
||||
|
@@ -5,6 +5,10 @@ namespace Alchemy\Tests\Phrasea\Border\Checker;
|
||||
use Alchemy\Phrasea\Border\File;
|
||||
use Alchemy\Phrasea\Border\Checker\Colorspace;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class ColorspaceTest extends \PhraseanetTestCase
|
||||
{
|
||||
/**
|
||||
|
@@ -5,6 +5,10 @@ namespace Alchemy\Tests\Phrasea\Border\Checker;
|
||||
use Alchemy\Phrasea\Border\File;
|
||||
use Alchemy\Phrasea\Border\Checker\Dimension;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class DimensionTest extends \PhraseanetTestCase
|
||||
{
|
||||
/**
|
||||
|
@@ -5,6 +5,10 @@ namespace Alchemy\Tests\Phrasea\Border\Checker;
|
||||
use Alchemy\Phrasea\Border\File;
|
||||
use Alchemy\Phrasea\Border\Checker\Extension;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class ExtensionTest extends \PhraseanetTestCase
|
||||
{
|
||||
/**
|
||||
|
@@ -5,6 +5,10 @@ namespace Alchemy\Tests\Phrasea\Border\Checker;
|
||||
use Alchemy\Phrasea\Border\File;
|
||||
use Alchemy\Phrasea\Border\Checker\Filename;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class FilenameTest extends \PhraseanetTestCase
|
||||
{
|
||||
/**
|
||||
|
@@ -5,6 +5,10 @@ namespace Alchemy\Tests\Phrasea\Border\Checker;
|
||||
use Alchemy\Phrasea\Border\File;
|
||||
use Alchemy\Phrasea\Border\Checker\MediaType;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class MediaTypeTest extends \PhraseanetTestCase
|
||||
{
|
||||
/**
|
||||
|
@@ -6,6 +6,10 @@ use Alchemy\Phrasea\Border\Checker\CheckerInterface;
|
||||
use Alchemy\Phrasea\Border\Checker\Response;
|
||||
use Alchemy\Tests\Tools\TranslatorMockTrait;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class ResponseTest extends \PhraseanetTestCase
|
||||
{
|
||||
use TranslatorMockTrait;
|
||||
|
@@ -6,6 +6,10 @@ use Alchemy\Phrasea\Border\Manager;
|
||||
use Alchemy\Phrasea\Border\File;
|
||||
use Alchemy\Phrasea\Border\Checker\Sha256;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class Sha256Test extends \PhraseanetTestCase
|
||||
{
|
||||
/**
|
||||
|
@@ -5,6 +5,10 @@ namespace Alchemy\Tests\Phrasea\Border\Checker;
|
||||
use Alchemy\Phrasea\Border\File;
|
||||
use Alchemy\Phrasea\Border\Checker\UUID;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class UUIDTest extends \PhraseanetTestCase
|
||||
{
|
||||
/**
|
||||
|
@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Border;
|
||||
|
||||
use Alchemy\Phrasea\Border\CustomExtensionGuesser;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class CustomExtensionGuesserTest extends \PhraseanetTestCase
|
||||
{
|
||||
public function testGuess()
|
||||
|
@@ -17,6 +17,10 @@ use PHPExiftool\Driver\Metadata\Metadata as PHPExiftoolMetadata;
|
||||
use Alchemy\Phrasea\Border\Attribute\Metadata;
|
||||
use Rhumsaa\Uuid\Uuid;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class FileTest extends \PhraseanetTestCase
|
||||
{
|
||||
/**
|
||||
|
@@ -14,6 +14,12 @@ use Alchemy\Phrasea\Border\Attribute\Metadata;
|
||||
use Alchemy\Phrasea\Border\Attribute\Status;
|
||||
use Alchemy\Phrasea\Border\Attribute\Story;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
* @group authenticated
|
||||
* @group web
|
||||
*/
|
||||
class ManagerTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
/**
|
||||
|
@@ -5,6 +5,10 @@ namespace Alchemy\Tests\Phrasea\Border;
|
||||
use Alchemy\Phrasea\Border\Attribute\MetaField;
|
||||
use Alchemy\Phrasea\Border\MetaFieldsBag;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class MetaFieldsBagTest extends \PhraseanetTestCase
|
||||
{
|
||||
/**
|
||||
|
@@ -7,6 +7,10 @@ use PHPExiftool\Driver\Metadata\Metadata;
|
||||
use PHPExiftool\Driver\Value\Mono;
|
||||
use PHPExiftool\Driver\Value\Multi;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class MetadataBagTest extends \PhraseanetTestCase
|
||||
{
|
||||
/**
|
||||
|
@@ -6,6 +6,10 @@ use Alchemy\Phrasea\Border\Visa;
|
||||
use Alchemy\Phrasea\Border\Checker\Filename;
|
||||
use Alchemy\Phrasea\Border\Checker\Response;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class VisaTest extends \PhraseanetTestCase
|
||||
{
|
||||
|
||||
|
@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea;
|
||||
|
||||
use Alchemy\Phrasea\CLI;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class CLITest extends \PhraseanetTestCase
|
||||
{
|
||||
public function testsEmailWithoutQueue()
|
||||
|
@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Cache;
|
||||
|
||||
use Alchemy\Phrasea\Cache\ApcCache;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class ApcCacheTest extends \PhraseanetTestCase
|
||||
{
|
||||
/**
|
||||
|
@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Cache;
|
||||
|
||||
use Alchemy\Phrasea\Cache\ArrayCache;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class ArrayCacheTest extends \PhraseanetTestCase
|
||||
{
|
||||
/**
|
||||
|
@@ -5,6 +5,10 @@ namespace Alchemy\Tests\Phrasea\Cache;
|
||||
use Alchemy\Phrasea\Cache\ConnectionFactory;
|
||||
use Alchemy\Phrasea\Cache\Factory;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class ConnectionFactoryTest extends \PhraseanetTestCase
|
||||
{
|
||||
public function testGetRedisConnection()
|
||||
|
@@ -5,6 +5,10 @@ namespace Alchemy\Tests\Phrasea\Cache;
|
||||
use Alchemy\Phrasea\Cache\ConnectionFactory;
|
||||
use Alchemy\Phrasea\Cache\Factory;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class FactoryTest extends \PhraseanetTestCase
|
||||
{
|
||||
/**
|
||||
|
@@ -6,6 +6,10 @@ use Alchemy\Phrasea\Cache\Manager;
|
||||
use Alchemy\Phrasea\Core\Configuration\Compiler;
|
||||
use Alchemy\Phrasea\Exception\RuntimeException;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class ManagerTest extends \PhraseanetTestCase
|
||||
{
|
||||
private $file;
|
||||
|
@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Cache;
|
||||
|
||||
use Alchemy\Phrasea\Cache\MemcacheCache;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class MemcacheCacheTest extends \PhraseanetTestCase
|
||||
{
|
||||
/**
|
||||
|
@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Cache;
|
||||
|
||||
use Alchemy\Phrasea\Cache\MemcachedCache;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class MemcachedCacheTest extends \PhraseanetTestCase
|
||||
{
|
||||
/**
|
||||
|
@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Cache;
|
||||
|
||||
use \Alchemy\Phrasea\Cache\RedisCache;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class RedisCacheTest extends \PhraseanetTestCase
|
||||
{
|
||||
|
||||
|
@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Cache;
|
||||
|
||||
use Alchemy\Phrasea\Cache\XcacheCache;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class XcacheCacheTest extends \PhraseanetTestCase
|
||||
{
|
||||
/**
|
||||
|
@@ -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()
|
||||
|
@@ -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
|
||||
{
|
||||
/**
|
||||
|
@@ -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()
|
||||
|
@@ -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()
|
||||
|
@@ -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()
|
||||
|
@@ -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()
|
||||
|
@@ -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()
|
||||
|
@@ -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()
|
||||
|
@@ -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()
|
||||
|
@@ -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()
|
||||
|
@@ -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()
|
||||
|
@@ -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()
|
||||
|
@@ -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()
|
||||
|
@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Command\Plugin;
|
||||
|
||||
use Alchemy\Phrasea\Command\Plugin\DisablePlugin;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class DisablePluginTest extends PluginCommandTestCase
|
||||
{
|
||||
/**
|
||||
|
@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Command\Plugin;
|
||||
|
||||
use Alchemy\Phrasea\Command\Plugin\EnablePlugin;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class EnablePluginTest extends PluginCommandTestCase
|
||||
{
|
||||
/**
|
||||
|
@@ -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()
|
||||
|
@@ -2,6 +2,10 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Command\Plugin;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class PluginCommandTestCase extends \PhraseanetTestCase
|
||||
{
|
||||
protected function createTemporaryFilesystemMock()
|
||||
|
@@ -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()
|
||||
|
@@ -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()
|
||||
|
@@ -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()
|
||||
|
@@ -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()
|
||||
|
@@ -4,6 +4,10 @@ namespace Alchemy\Tests\Phrasea\Command\Setup;
|
||||
|
||||
use Alchemy\Phrasea\Command\Setup\XSendFileMappingGenerator;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
*/
|
||||
class XSendFileMappingGeneratorTest extends \PhraseanetTestCase
|
||||
{
|
||||
/**
|
||||
|
@@ -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()
|
||||
|
@@ -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()
|
||||
|
@@ -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()
|
||||
|
@@ -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()
|
||||
|
@@ -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()
|
||||
|
@@ -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()
|
||||
|
@@ -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()
|
||||
|
@@ -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()
|
||||
|
@@ -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()
|
||||
|
@@ -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
|
||||
{
|
||||
/**
|
||||
|
@@ -7,6 +7,12 @@ use Alchemy\Phrasea\Authentication\ACLProvider;
|
||||
use Alchemy\Phrasea\Border\File;
|
||||
use Rhumsaa\Uuid\Uuid;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
* @group authenticated
|
||||
* @group web
|
||||
*/
|
||||
class AdminCollectionTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
|
@@ -4,6 +4,12 @@ namespace Alchemy\Tests\Phrasea\Controller\Admin;
|
||||
|
||||
use Alchemy\Phrasea\Model\Entities\User;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
* @group authenticated
|
||||
* @group web
|
||||
*/
|
||||
class AdminDashboardTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
|
@@ -2,6 +2,12 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Controller\Admin;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
* @group authenticated
|
||||
* @group web
|
||||
*/
|
||||
class ConnectedUserTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
|
@@ -7,6 +7,12 @@ use Alchemy\Phrasea\Border\File;
|
||||
use Rhumsaa\Uuid\Uuid;
|
||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
* @group authenticated
|
||||
* @group web
|
||||
*/
|
||||
class DataboxTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
|
@@ -4,6 +4,12 @@ namespace Alchemy\Tests\Phrasea\Controller\Admin;
|
||||
|
||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
* @group authenticated
|
||||
* @group web
|
||||
*/
|
||||
class DataboxesTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
|
@@ -5,6 +5,12 @@ namespace Alchemy\Tests\Phrasea\Controller\Admin;
|
||||
use PHPExiftool\Driver\Tag\IPTC\ObjectName;
|
||||
use Alchemy\Phrasea\Vocabulary\Controller as VocabularyController;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
* @group authenticated
|
||||
* @group web
|
||||
*/
|
||||
class FieldsTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
public function testRoot()
|
||||
|
@@ -2,6 +2,12 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Controller\Admin;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
* @group authenticated
|
||||
* @group web
|
||||
*/
|
||||
class PublicationTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
public static $account = null;
|
||||
|
@@ -2,6 +2,12 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Controller\Admin;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
* @group authenticated
|
||||
* @group web
|
||||
*/
|
||||
class RootTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
|
@@ -4,6 +4,12 @@ namespace Alchemy\Tests\Phrasea\Controller\Admin;
|
||||
|
||||
use Symfony\Component\HttpKernel\Client;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
* @group authenticated
|
||||
* @group web
|
||||
*/
|
||||
class SetupTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
|
||||
|
@@ -4,6 +4,12 @@ namespace Alchemy\Tests\Phrasea\Controller\Admin;
|
||||
|
||||
use Alchemy\Phrasea\Media\Subdef\Image;
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
* @group legacy
|
||||
* @group authenticated
|
||||
* @group web
|
||||
*/
|
||||
class SubdefsTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user