Issue #3399370 by mstrelan: Remove @file annotation from test classes

merge-requests/4398/merge
xjm 2023-11-10 15:35:50 -06:00
parent b498f70ece
commit 066dc5c8c4
No known key found for this signature in database
GPG Key ID: 206B0B8743BDF4C2
83 changed files with 0 additions and 417 deletions

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\config_translation\Unit\ConfigNamesMapperTest.
*/
namespace Drupal\Tests\config_translation\Unit;
use Drupal\config_translation\ConfigNamesMapper;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\field\Unit\FieldConfigEntityUnitTest.
*/
namespace Drupal\Tests\field\Unit;
use Drupal\Core\Entity\EntityType;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\field\Unit\FieldStorageConfigEntityUnitTest.
*/
namespace Drupal\Tests\field\Unit;
use Drupal\Core\DependencyInjection\ContainerBuilder;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\migrate\Kernel\SqlBaseTest.
*/
namespace Drupal\Tests\migrate\Kernel;
use Drupal\Core\Database\Query\ConditionInterface;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\migrate\Unit\MigrateSourceTest.
*/
namespace Drupal\Tests\migrate\Unit;
use Drupal\Core\Cache\CacheBackendInterface;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\migrate\Unit\MigrationTest.
*/
namespace Drupal\Tests\migrate\Unit;
use Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\migrate\Unit\Plugin\migrate\destination\EntityContentBaseTest.
*/
namespace Drupal\Tests\migrate\Unit\Plugin\migrate\destination;
use Drupal\Core\Entity\ContentEntityInterface;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\migrate\Unit\Plugin\migrate\destination\EntityTestBase.
*/
namespace Drupal\Tests\migrate\Unit\Plugin\migrate\destination;
use Drupal\Core\Entity\EntityFieldManagerInterface;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\migrate\Unit\SqlBaseTest.
*/
namespace Drupal\Tests\migrate\Unit;
use Drupal\migrate\Plugin\MigrationInterface;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\migrate\Unit\destination\EntityRevisionTest.
*/
namespace Drupal\Tests\migrate\Unit\destination;
use Drupal\Core\Entity\ContentEntityInterface;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\migrate\Unit\destination\PerComponentEntityDisplayTest.
*/
namespace Drupal\Tests\migrate\Unit\destination;
use Drupal\migrate\Plugin\migrate\destination\ComponentEntityDisplayBase;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\migrate\Unit\destination\PerComponentEntityFormDisplayTest.
*/
namespace Drupal\Tests\migrate\Unit\destination;
use Drupal\migrate\Plugin\migrate\destination\PerComponentEntityFormDisplay;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\migrate\Unit\process\ConcatTest.
*/
namespace Drupal\Tests\migrate\Unit\process;
use Drupal\migrate\MigrateException;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\migrate_drupal\Unit\source\d6\Drupal6SqlBaseTest.
*/
namespace Drupal\Tests\migrate_drupal\Unit\source\d6;
use Drupal\Tests\migrate\Unit\MigrateTestCase;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\search\Unit\SearchPageRepositoryTest.
*/
namespace Drupal\Tests\search\Unit;
use Drupal\Core\Entity\EntityTypeInterface;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\serialization\Unit\Normalizer\ComplexDataNormalizerTest.
*/
namespace Drupal\Tests\serialization\Unit\Normalizer;
use Drupal\Core\TypedData\ComplexDataInterface;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\serialization\Unit\Normalizer\NormalizerBaseTest.
*/
namespace Drupal\Tests\serialization\Unit\Normalizer;
use Drupal\Tests\UnitTestCase;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\system\Kernel\Scripts\DbCommandBaseTest.
*/
namespace Drupal\Tests\system\Kernel\Scripts;
use Drupal\Core\Command\DbCommandBase;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\system\Unit\Breadcrumbs\PathBasedBreadcrumbBuilderTest.
*/
namespace Drupal\Tests\system\Unit\Breadcrumbs;
use Drupal\Core\Access\AccessResult;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\user\Unit\PermissionHandlerTest.
*/
namespace Drupal\Tests\user\Unit;
use Drupal\Core\Extension\Extension;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\views\Tests\Plugin\PluginBaseTest.
*/
namespace Drupal\Tests\views\Kernel\Plugin;
use Drupal\Core\Render\RenderContext;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\views\Unit\EventSubscriber\RouteSubscriberTest.
*/
namespace Drupal\Tests\views\Unit\EventSubscriber;
use Drupal\Core\Entity\EntityTypeManagerInterface;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\views\Unit\Plugin\Derivative\ViewsLocalTaskTest.
*/
namespace Drupal\Tests\views\Unit\Plugin\Derivative;
use Drupal\Tests\UnitTestCase;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\views\Unit\Plugin\HandlerBaseTest.
*/
namespace Drupal\Tests\views\Unit\Plugin;
use Drupal\Tests\UnitTestCase;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\views\Unit\Plugin\display\PathPluginBaseTest.
*/
namespace Drupal\Tests\views\Unit\Plugin\display;
use Drupal\Core\DependencyInjection\ContainerBuilder;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\views\Unit\Plugin\field\FieldPluginBaseTest.
*/
namespace Drupal\Tests\views\Unit\Plugin\field;
use Drupal\Core\GeneratedUrl;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\views\Unit\Plugin\field\FieldTest.
*/
namespace Drupal\Tests\views\Unit\Plugin\field;
use Drupal\Core\Entity\EntityFieldManagerInterface;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\views\Unit\Plugin\pager\PagerPluginBaseTest.
*/
namespace Drupal\Tests\views\Unit\Plugin\pager;
use Drupal\Tests\UnitTestCase;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\views_ui\Unit\ViewListBuilderTest.
*/
namespace Drupal\Tests\views_ui\Unit;
use Drupal\Core\DependencyInjection\ContainerBuilder;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\KernelTests\Core\Routing\RouteProviderTest.
*/
namespace Drupal\KernelTests\Core\Routing;
use ColinODell\PsrTestLogger\TestLogger;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\KernelTests\Core\Theme\ThemeRenderAndAutoescapeTest.
*/
namespace Drupal\KernelTests\Core\Theme;
use Drupal\Component\Utility\Html;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\KernelTests\Core\Theme\TwigMarkupInterfaceTest.
*/
namespace Drupal\KernelTests\Core\Theme;
use Drupal\Component\Render\FormattableMarkup;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Component\Assertion\InspectorTest.
*/
namespace Drupal\Tests\Component\Assertion;
use PHPUnit\Framework\TestCase;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Component\DependencyInjection\ContainerTest.
*/
namespace Drupal\Tests\Component\DependencyInjection;
use Drupal\Component\Utility\Crypt;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Component\DependencyInjection\Dumper\OptimizedPhpArrayDumperTest.
*/
namespace Drupal\Tests\Component\DependencyInjection\Dumper {
use Drupal\Component\Utility\Crypt;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Component\HttpFoundation\SecuredRedirectResponseTest.
*/
namespace Drupal\Tests\Component\HttpFoundation;
use Drupal\Component\HttpFoundation\SecuredRedirectResponse;

View File

@ -1,12 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Component\Plugin\Factory\ReflectionFactoryTest.
*
* Also contains Argument* classes used as data for testing.
*/
namespace Drupal\Tests\Component\Plugin\Factory;
use Drupal\Component\Plugin\Factory\ReflectionFactory;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Component\ProxyBuilder\ProxyBuilderTest.
*/
namespace Drupal\Tests\Component\ProxyBuilder;
use Drupal\Component\ProxyBuilder\ProxyBuilder;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Component\Utility\ArgumentsResolverTest.
*/
namespace Drupal\Tests\Component\Utility;
use Drupal\Component\Utility\ArgumentsResolver;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Component\Utility\VariableTest.
*/
namespace Drupal\Tests\Component\Utility;
use Drupal\Component\Utility\Variable;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Core\Access\AccessManagerTest.
*/
namespace Drupal\Tests\Core\Access;
use Drupal\Core\Access\AccessCheckInterface;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Core\Access\AccessResultTest.
*/
namespace Drupal\Tests\Core\Access;
use Drupal\Core\Access\AccessResult;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Core\Access\CustomAccessCheckTest.
*/
namespace Drupal\Tests\Core\Access;
use Drupal\Core\Access\AccessResult;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Core\Asset\AssetResolverTest.
*/
namespace Drupal\Tests\Core\Asset;
use Drupal\Core\Asset\AssetResolver;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Core\Asset\LibraryDiscoveryParserTest.
*/
namespace Drupal\Tests\Core\Asset;
use Drupal\Core\Asset\Exception\IncompleteLibraryDefinitionException;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Core\Authentication\AuthenticationCollectorTest.
*/
namespace Drupal\Tests\Core\Authentication;
use Drupal\Core\Authentication\AuthenticationCollector;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Core\Authentication\AuthenticationManagerTest.
*/
namespace Drupal\Tests\Core\Authentication;
use Drupal\Core\Authentication\AuthenticationCollector;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Core\Cache\Context\CacheContextsManagerTest.
*/
namespace Drupal\Tests\Core\Cache\Context;
use Drupal\Core\Cache\CacheableMetadata;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Core\Condition\ConditionAccessResolverTraitTest.
*/
namespace Drupal\Tests\Core\Condition;
use Drupal\Component\Plugin\Exception\ContextException;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Core\Config\Entity\ConfigEntityBaseUnitTest.
*/
namespace Drupal\Tests\Core\Config\Entity;
use Drupal\Component\Plugin\PluginManagerInterface;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Core\Controller\ControllerResolverTest.
*/
namespace Drupal\Tests\Core\Controller;
use Drupal\Core\Controller\ControllerResolver;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Core\Controller\TitleResolverTest.
*/
namespace Drupal\Tests\Core\Controller;
use Drupal\Core\Controller\TitleResolver;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Core\DependencyInjection\Compiler\BackendCompilerPassTest.
*/
namespace Drupal\Tests\Core\DependencyInjection\Compiler;
use Drupal\Core\DependencyInjection\Compiler\BackendCompilerPass;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Core\DependencyInjection\Compiler\TaggedHandlersPassTest.
*/
namespace Drupal\Tests\Core\DependencyInjection\Compiler;
use Drupal\Core\DependencyInjection\Compiler\TaggedHandlersPass;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Core\DependencyInjection\DependencySerializationTest.
*/
namespace Drupal\Tests\Core\DependencyInjection;
use Drupal\Component\DependencyInjection\ReverseContainer;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Core\Entity\EntityFieldManagerTest.
*/
namespace Drupal\Tests\Core\Entity;
use Drupal\Component\Plugin\Exception\PluginNotFoundException;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Core\Entity\EntityListBuilderTest.
*/
namespace Drupal\Tests\Core\Entity;
use Drupal\Core\Access\AccessResult;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Core\Entity\EntityResolverManagerTest.
*/
namespace Drupal\Tests\Core\Entity;
use Drupal\Core\Entity\EntityBase;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Core\Entity\EntityTypeManagerTest.
*/
namespace Drupal\Tests\Core\Entity;
use Drupal\Component\Plugin\Discovery\DiscoveryInterface;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Core\Entity\Routing\DefaultHtmlRouteProviderTest.
*/
namespace Drupal\Tests\Core\Entity\Routing;
use Drupal\Core\Config\Entity\ConfigEntityTypeInterface;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Core\Entity\Sql\SqlContentEntityStorageTest.
*/
namespace Drupal\Tests\Core\Entity\Sql;
use Drupal\Core\Cache\MemoryCache\MemoryCache;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Core\Extension\ThemeHandlerTest.
*/
namespace Drupal\Tests\Core\Extension;
use Composer\Autoload\ClassLoader;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Core\Field\PluginSettingsBaseTest.
*/
namespace Drupal\Tests\Core\Field;
use Drupal\Core\Field\PluginSettingsBase;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Core\Form\FormBuilderTest.
*/
namespace Drupal\Tests\Core\Form;
use Drupal\Component\Utility\Html;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Core\Form\FormStateTest.
*/
namespace Drupal\Tests\Core\Form;
use Drupal\Core\Form\FormInterface;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Core\Logger\LoggerChannelTest.
*/
namespace Drupal\Tests\Core\Logger;
use Drupal\Core\Logger\LoggerChannel;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Core\Mail\MailManagerTest.
*/
namespace Drupal\Tests\Core\Mail;
use Drupal\Core\DependencyInjection\ContainerBuilder;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Core\Menu\LocalActionManagerTest.
*/
namespace Drupal\Tests\Core\Menu;
use Drupal\Component\Plugin\Discovery\DiscoveryInterface;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Core\Menu\LocalTaskDefaultTest.
*/
namespace Drupal\Tests\Core\Menu;
use Drupal\Core\Menu\LocalTaskDefault;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Core\Plugin\CategorizingPluginManagerTraitTest.
*/
namespace Drupal\Tests\Core\Plugin;
use Drupal\Component\Plugin\CategorizingPluginManagerInterface;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Core\Plugin\Context\ContextTest.
*/
namespace Drupal\Tests\Core\Plugin\Context;
use Drupal\Core\Cache\CacheableDependencyInterface;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Core\Plugin\ContextHandlerTest.
*/
namespace Drupal\Tests\Core\Plugin;
use Drupal\Component\Plugin\ConfigurableInterface;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Core\ProxyBuilder\ProxyBuilderTest.
*/
namespace Drupal\Tests\Core\ProxyBuilder;
use Drupal\Core\ProxyBuilder\ProxyBuilder;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Core\Render\ElementInfoManagerTest.
*/
namespace Drupal\Tests\Core\Render;
use Drupal\Core\Extension\ThemeHandlerInterface;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Core\Render\RendererBubblingTest.
*/
namespace Drupal\Tests\Core\Render;
use Drupal\Core\Cache\CacheableMetadata;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Core\Render\RendererPlaceholdersTest.
*/
namespace Drupal\Tests\Core\Render;
use Drupal\Component\Utility\Crypt;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Core\Render\RendererTest.
*/
namespace Drupal\Tests\Core\Render;
use Drupal\Component\Render\MarkupInterface;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Core\Render\RendererTestBase.
*/
namespace Drupal\Tests\Core\Render;
use Drupal\Core\Cache\Cache;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Core\Routing\RouteBuilderTest.
*/
namespace Drupal\Tests\Core\Routing;
use Drupal\Core\DependencyInjection\ContainerBuilder;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Core\StackMiddleware\NegotiationMiddlewareTest.
*/
namespace Drupal\Tests\Core\StackMiddleware;
use Drupal\Core\StackMiddleware\NegotiationMiddleware;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Core\StringTranslation\TranslationManagerTest.
*/
namespace Drupal\Tests\Core\StringTranslation;
use Drupal\Component\Render\MarkupInterface;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Core\Template\TwigSandboxTest.
*/
namespace Drupal\Tests\Core\Template;
use Drupal\Core\Template\Attribute;

View File

@ -1,10 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Core\UrlTest.
*/
namespace Drupal\Tests\Core;
use Drupal\Component\Utility\UrlHelper;