diff --git a/core/modules/ban/lib/Drupal/ban/Tests/IpAddressBlockingTest.php b/core/modules/ban/lib/Drupal/ban/Tests/IpAddressBlockingTest.php index 0e5cacfae7ab..87d6463931e4 100644 --- a/core/modules/ban/lib/Drupal/ban/Tests/IpAddressBlockingTest.php +++ b/core/modules/ban/lib/Drupal/ban/Tests/IpAddressBlockingTest.php @@ -9,6 +9,9 @@ namespace Drupal\ban\Tests; use Drupal\simpletest\WebTestBase; +/** + * Tests IP address banning. + */ class IpAddressBlockingTest extends WebTestBase { /** diff --git a/core/modules/block/lib/Drupal/block/Tests/NonDefaultBlockAdminTest.php b/core/modules/block/lib/Drupal/block/Tests/NonDefaultBlockAdminTest.php index 72f3d1d116cb..0048ed21b051 100644 --- a/core/modules/block/lib/Drupal/block/Tests/NonDefaultBlockAdminTest.php +++ b/core/modules/block/lib/Drupal/block/Tests/NonDefaultBlockAdminTest.php @@ -9,6 +9,9 @@ namespace Drupal\block\Tests; use Drupal\simpletest\WebTestBase; +/** + * Tests the block administration page for a non-default theme. + */ class NonDefaultBlockAdminTest extends WebTestBase { /** diff --git a/core/modules/comment/lib/Drupal/comment/Tests/Views/DefaultViewRecentComments.php b/core/modules/comment/lib/Drupal/comment/Tests/Views/DefaultViewRecentComments.php index fad5f36d8dc5..9bf8e5bbb9f2 100644 --- a/core/modules/comment/lib/Drupal/comment/Tests/Views/DefaultViewRecentComments.php +++ b/core/modules/comment/lib/Drupal/comment/Tests/Views/DefaultViewRecentComments.php @@ -11,6 +11,9 @@ use Drupal\comment\CommentInterface; use Drupal\views\Views; use Drupal\views\Tests\ViewTestBase; +/** + * Tests the Recent Comments default view. + */ class DefaultViewRecentComments extends ViewTestBase { /** diff --git a/core/modules/config/lib/Drupal/config/Tests/ConfigImportAllTest.php b/core/modules/config/lib/Drupal/config/Tests/ConfigImportAllTest.php index 2d08077bf9cd..6f7f67cbb58f 100644 --- a/core/modules/config/lib/Drupal/config/Tests/ConfigImportAllTest.php +++ b/core/modules/config/lib/Drupal/config/Tests/ConfigImportAllTest.php @@ -10,6 +10,9 @@ namespace Drupal\config\Tests; use Drupal\Core\Config\StorageComparer; use Drupal\system\Tests\Module\ModuleTestBase; +/** + * Tests importing all configuration from Standard profile and all core modules. + */ class ConfigImportAllTest extends ModuleTestBase { /** diff --git a/core/modules/field/lib/Drupal/field/Tests/CrudTest.php b/core/modules/field/lib/Drupal/field/Tests/CrudTest.php index 36a2770dbeb7..53212220eafd 100644 --- a/core/modules/field/lib/Drupal/field/Tests/CrudTest.php +++ b/core/modules/field/lib/Drupal/field/Tests/CrudTest.php @@ -10,6 +10,9 @@ namespace Drupal\field\Tests; use Drupal\Core\Entity\EntityStorageException; use Drupal\field\FieldException; +/** + * Tests field CRUD operations. + */ class CrudTest extends FieldUnitTestBase { /** diff --git a/core/modules/field/lib/Drupal/field/Tests/DisplayApiTest.php b/core/modules/field/lib/Drupal/field/Tests/DisplayApiTest.php index 88001f02c488..3a31e001aec3 100644 --- a/core/modules/field/lib/Drupal/field/Tests/DisplayApiTest.php +++ b/core/modules/field/lib/Drupal/field/Tests/DisplayApiTest.php @@ -9,6 +9,9 @@ namespace Drupal\field\Tests; use Drupal\Core\Language\Language; +/** + * Tests the field display API. + */ class DisplayApiTest extends FieldUnitTestBase { /** diff --git a/core/modules/field/lib/Drupal/field/Tests/FieldInfoTest.php b/core/modules/field/lib/Drupal/field/Tests/FieldInfoTest.php index 4999a836eba2..c97a48104281 100644 --- a/core/modules/field/lib/Drupal/field/Tests/FieldInfoTest.php +++ b/core/modules/field/lib/Drupal/field/Tests/FieldInfoTest.php @@ -9,6 +9,9 @@ namespace Drupal\field\Tests; use Drupal\Core\Language\Language; +/** + * Tests field information for fields, instances, and bundles. + */ class FieldInfoTest extends FieldUnitTestBase { public static function getInfo() { diff --git a/core/modules/field/lib/Drupal/field/Tests/FieldInstanceCrudTest.php b/core/modules/field/lib/Drupal/field/Tests/FieldInstanceCrudTest.php index f8a02ab415cd..6d7844b5c85e 100644 --- a/core/modules/field/lib/Drupal/field/Tests/FieldInstanceCrudTest.php +++ b/core/modules/field/lib/Drupal/field/Tests/FieldInstanceCrudTest.php @@ -10,6 +10,9 @@ namespace Drupal\field\Tests; use Drupal\Core\Entity\EntityStorageException; use Drupal\field\FieldException; +/** + * Tests field instance CRUD (attaching fields to entities). + */ class FieldInstanceCrudTest extends FieldUnitTestBase { /** diff --git a/core/modules/field/lib/Drupal/field/Tests/FormTest.php b/core/modules/field/lib/Drupal/field/Tests/FormTest.php index bbfccb710338..ba4ebd3c0348 100644 --- a/core/modules/field/lib/Drupal/field/Tests/FormTest.php +++ b/core/modules/field/lib/Drupal/field/Tests/FormTest.php @@ -9,6 +9,9 @@ namespace Drupal\field\Tests; use Drupal\Core\Field\FieldDefinitionInterface; +/** + * Tests field form handling. + */ class FormTest extends FieldTestBase { /** diff --git a/core/modules/field/lib/Drupal/field/Tests/NestedFormTest.php b/core/modules/field/lib/Drupal/field/Tests/NestedFormTest.php index d120b95dc9b4..14b14cf15378 100644 --- a/core/modules/field/lib/Drupal/field/Tests/NestedFormTest.php +++ b/core/modules/field/lib/Drupal/field/Tests/NestedFormTest.php @@ -9,6 +9,9 @@ namespace Drupal\field\Tests; use Drupal\Core\Field\FieldDefinitionInterface; +/** + * Tests field elements in nested forms. + */ class NestedFormTest extends FieldTestBase { /** diff --git a/core/modules/migrate_drupal/lib/Drupal/migrate_drupal/Tests/d6/MigrateAggregatorFeedTest.php b/core/modules/migrate_drupal/lib/Drupal/migrate_drupal/Tests/d6/MigrateAggregatorFeedTest.php index 191bc38688c6..1110f7232dca 100644 --- a/core/modules/migrate_drupal/lib/Drupal/migrate_drupal/Tests/d6/MigrateAggregatorFeedTest.php +++ b/core/modules/migrate_drupal/lib/Drupal/migrate_drupal/Tests/d6/MigrateAggregatorFeedTest.php @@ -12,6 +12,9 @@ use Drupal\Core\Language\Language; use Drupal\migrate\MigrateExecutable; use Drupal\migrate_drupal\Tests\MigrateDrupalTestBase; +/** + * Tests migration of aggregator feed entities. + */ class MigrateAggregatorFeedTest extends MigrateDrupalTestBase { static $modules = array('aggregator'); diff --git a/core/modules/migrate_drupal/lib/Drupal/migrate_drupal/Tests/d6/MigrateSystemFileTest.php b/core/modules/migrate_drupal/lib/Drupal/migrate_drupal/Tests/d6/MigrateSystemFileTest.php index 6e9b6f8569a2..d5c216ab77a0 100644 --- a/core/modules/migrate_drupal/lib/Drupal/migrate_drupal/Tests/d6/MigrateSystemFileTest.php +++ b/core/modules/migrate_drupal/lib/Drupal/migrate_drupal/Tests/d6/MigrateSystemFileTest.php @@ -11,6 +11,9 @@ use Drupal\migrate\MigrateMessage; use Drupal\migrate\MigrateExecutable; use Drupal\migrate_drupal\Tests\MigrateDrupalTestBase; +/** + * Tests migration of filesystem variables to configuration. + */ class MigrateSystemFileTest extends MigrateDrupalTestBase { /** diff --git a/core/modules/migrate_drupal/lib/Drupal/migrate_drupal/Tests/d6/MigrateSystemImageGdTest.php b/core/modules/migrate_drupal/lib/Drupal/migrate_drupal/Tests/d6/MigrateSystemImageGdTest.php index 919d79470296..6e688e5521e6 100644 --- a/core/modules/migrate_drupal/lib/Drupal/migrate_drupal/Tests/d6/MigrateSystemImageGdTest.php +++ b/core/modules/migrate_drupal/lib/Drupal/migrate_drupal/Tests/d6/MigrateSystemImageGdTest.php @@ -11,6 +11,9 @@ use Drupal\migrate\MigrateMessage; use Drupal\migrate\MigrateExecutable; use Drupal\migrate_drupal\Tests\MigrateDrupalTestBase; +/** + * Tests migration of image GD toolkit variables to configuration. + */ class MigrateSystemImageGdTest extends MigrateDrupalTestBase { /** diff --git a/core/modules/migrate_drupal/lib/Drupal/migrate_drupal/Tests/d6/MigrateSystemImageTest.php b/core/modules/migrate_drupal/lib/Drupal/migrate_drupal/Tests/d6/MigrateSystemImageTest.php index 4f1dbaccf929..5b9c18da7292 100644 --- a/core/modules/migrate_drupal/lib/Drupal/migrate_drupal/Tests/d6/MigrateSystemImageTest.php +++ b/core/modules/migrate_drupal/lib/Drupal/migrate_drupal/Tests/d6/MigrateSystemImageTest.php @@ -11,6 +11,9 @@ use Drupal\migrate\MigrateMessage; use Drupal\migrate\MigrateExecutable; use Drupal\migrate_drupal\Tests\MigrateDrupalTestBase; +/** + * Tests migration of image toolkit variables to configuration. + */ class MigrateSystemImageTest extends MigrateDrupalTestBase { /** diff --git a/core/modules/migrate_drupal/lib/Drupal/migrate_drupal/Tests/d6/MigrateSystemMaintenanceTest.php b/core/modules/migrate_drupal/lib/Drupal/migrate_drupal/Tests/d6/MigrateSystemMaintenanceTest.php index 70b78d3aa92c..660172f006d7 100644 --- a/core/modules/migrate_drupal/lib/Drupal/migrate_drupal/Tests/d6/MigrateSystemMaintenanceTest.php +++ b/core/modules/migrate_drupal/lib/Drupal/migrate_drupal/Tests/d6/MigrateSystemMaintenanceTest.php @@ -11,6 +11,9 @@ use Drupal\migrate\MigrateMessage; use Drupal\migrate\MigrateExecutable; use Drupal\migrate_drupal\Tests\MigrateDrupalTestBase; +/** + * Tests migration of system maintenance mode variables to configuration. + */ class MigrateSystemMaintenanceTest extends MigrateDrupalTestBase { /** diff --git a/core/modules/migrate_drupal/lib/Drupal/migrate_drupal/Tests/d6/MigrateSystemPerformanceTest.php b/core/modules/migrate_drupal/lib/Drupal/migrate_drupal/Tests/d6/MigrateSystemPerformanceTest.php index ec98b7e66883..0eaca21a6066 100644 --- a/core/modules/migrate_drupal/lib/Drupal/migrate_drupal/Tests/d6/MigrateSystemPerformanceTest.php +++ b/core/modules/migrate_drupal/lib/Drupal/migrate_drupal/Tests/d6/MigrateSystemPerformanceTest.php @@ -11,6 +11,9 @@ use Drupal\migrate\MigrateMessage; use Drupal\migrate\MigrateExecutable; use Drupal\migrate_drupal\Tests\MigrateDrupalTestBase; +/** + * Tests migration of system performance variables to configuration. + */ class MigrateSystemPerformanceTest extends MigrateDrupalTestBase { /** diff --git a/core/modules/migrate_drupal/lib/Drupal/migrate_drupal/Tests/d6/MigrateSystemRssTest.php b/core/modules/migrate_drupal/lib/Drupal/migrate_drupal/Tests/d6/MigrateSystemRssTest.php index 1584910d0b5a..1bb05c103605 100644 --- a/core/modules/migrate_drupal/lib/Drupal/migrate_drupal/Tests/d6/MigrateSystemRssTest.php +++ b/core/modules/migrate_drupal/lib/Drupal/migrate_drupal/Tests/d6/MigrateSystemRssTest.php @@ -11,6 +11,9 @@ use Drupal\migrate\MigrateMessage; use Drupal\migrate\MigrateExecutable; use Drupal\migrate_drupal\Tests\MigrateDrupalTestBase; +/** + * Tests migration of system RSS/feed variables to configuration. + */ class MigrateSystemRssTest extends MigrateDrupalTestBase { /** diff --git a/core/modules/migrate_drupal/lib/Drupal/migrate_drupal/Tests/d6/MigrateSystemSiteTest.php b/core/modules/migrate_drupal/lib/Drupal/migrate_drupal/Tests/d6/MigrateSystemSiteTest.php index f4df9cff3d5e..197f11140920 100644 --- a/core/modules/migrate_drupal/lib/Drupal/migrate_drupal/Tests/d6/MigrateSystemSiteTest.php +++ b/core/modules/migrate_drupal/lib/Drupal/migrate_drupal/Tests/d6/MigrateSystemSiteTest.php @@ -11,6 +11,9 @@ use Drupal\migrate\MigrateMessage; use Drupal\migrate\MigrateExecutable; use Drupal\migrate_drupal\Tests\MigrateDrupalTestBase; +/** + * Tests migration of system site variables to configuration. + */ class MigrateSystemSiteTest extends MigrateDrupalTestBase { /** diff --git a/core/modules/migrate_drupal/lib/Drupal/migrate_drupal/Tests/d6/MigrateSystemThemeTest.php b/core/modules/migrate_drupal/lib/Drupal/migrate_drupal/Tests/d6/MigrateSystemThemeTest.php index b5c0ff513d36..4669c122047e 100644 --- a/core/modules/migrate_drupal/lib/Drupal/migrate_drupal/Tests/d6/MigrateSystemThemeTest.php +++ b/core/modules/migrate_drupal/lib/Drupal/migrate_drupal/Tests/d6/MigrateSystemThemeTest.php @@ -11,6 +11,9 @@ use Drupal\migrate\MigrateMessage; use Drupal\migrate\MigrateExecutable; use Drupal\migrate_drupal\Tests\MigrateDrupalTestBase; +/** + * Tests migration of system theme variables to configuration. + */ class MigrateSystemThemeTest extends MigrateDrupalTestBase { /** diff --git a/core/modules/node/lib/Drupal/node/Tests/Views/NodeIntegrationTest.php b/core/modules/node/lib/Drupal/node/Tests/Views/NodeIntegrationTest.php index 1e57b5e094e2..9995c9923f33 100644 --- a/core/modules/node/lib/Drupal/node/Tests/Views/NodeIntegrationTest.php +++ b/core/modules/node/lib/Drupal/node/Tests/Views/NodeIntegrationTest.php @@ -7,6 +7,9 @@ namespace Drupal\node\Tests\Views; +/** + * Tests Node module's Views integration. + */ class NodeIntegrationTest extends NodeTestBase { /** diff --git a/core/modules/serialization/lib/Drupal/serialization/Tests/EntityResolverTest.php b/core/modules/serialization/lib/Drupal/serialization/Tests/EntityResolverTest.php index e11fa5ba6ccf..3f4d0dd222bc 100644 --- a/core/modules/serialization/lib/Drupal/serialization/Tests/EntityResolverTest.php +++ b/core/modules/serialization/lib/Drupal/serialization/Tests/EntityResolverTest.php @@ -6,6 +6,9 @@ namespace Drupal\serialization\Tests; +/** + * Tests the entity reference resolver. + */ class EntityResolverTest extends NormalizerTestBase { /** diff --git a/core/modules/simpletest/lib/Drupal/simpletest/Tests/MailCaptureTest.php b/core/modules/simpletest/lib/Drupal/simpletest/Tests/MailCaptureTest.php index 8cce82389e61..a05e12fa2fe4 100644 --- a/core/modules/simpletest/lib/Drupal/simpletest/Tests/MailCaptureTest.php +++ b/core/modules/simpletest/lib/Drupal/simpletest/Tests/MailCaptureTest.php @@ -9,6 +9,9 @@ namespace Drupal\simpletest\Tests; use Drupal\simpletest\WebTestBase; +/** + * Tests Simpletest email capturing (TestMailCollector) and assertion methods. + */ class MailCaptureTest extends WebTestBase { /** * Implement getInfo(). diff --git a/core/modules/simpletest/lib/Drupal/simpletest/Tests/SimpleTestTest.php b/core/modules/simpletest/lib/Drupal/simpletest/Tests/SimpleTestTest.php index 83f104814067..e46051da7ae2 100755 --- a/core/modules/simpletest/lib/Drupal/simpletest/Tests/SimpleTestTest.php +++ b/core/modules/simpletest/lib/Drupal/simpletest/Tests/SimpleTestTest.php @@ -10,6 +10,9 @@ namespace Drupal\simpletest\Tests; use Drupal\Core\Database\Driver\pgsql\Select; use Drupal\simpletest\WebTestBase; +/** + * Tests the Simpletest UI test runner and internal browser. + */ class SimpleTestTest extends WebTestBase { /** diff --git a/core/modules/system/lib/Drupal/system/Tests/Datetime/DrupalDateTimeTest.php b/core/modules/system/lib/Drupal/system/Tests/Datetime/DrupalDateTimeTest.php index 8484a82c3faa..781d6b06ff40 100644 --- a/core/modules/system/lib/Drupal/system/Tests/Datetime/DrupalDateTimeTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/Datetime/DrupalDateTimeTest.php @@ -10,6 +10,9 @@ namespace Drupal\system\Tests\Datetime; use Drupal\simpletest\WebTestBase; use Drupal\Core\Datetime\DrupalDateTime; +/** + * Tests DrupalDateTime functionality. + */ class DrupalDateTimeTest extends WebTestBase { /** diff --git a/core/modules/system/lib/Drupal/system/Tests/Form/FormTest.php b/core/modules/system/lib/Drupal/system/Tests/Form/FormTest.php index b4eebff9c107..e45defca4b71 100644 --- a/core/modules/system/lib/Drupal/system/Tests/Form/FormTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/Form/FormTest.php @@ -12,6 +12,9 @@ use Drupal\Component\Utility\String; use Drupal\Core\Render\Element; use Drupal\simpletest\WebTestBase; +/** + * Tests form element validation. + */ class FormTest extends WebTestBase { /** diff --git a/core/modules/system/lib/Drupal/system/Tests/Session/SessionTest.php b/core/modules/system/lib/Drupal/system/Tests/Session/SessionTest.php index 634ae1d13218..720f16fcfc8d 100644 --- a/core/modules/system/lib/Drupal/system/Tests/Session/SessionTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/Session/SessionTest.php @@ -9,6 +9,9 @@ namespace Drupal\system\Tests\Session; use Drupal\simpletest\WebTestBase; +/** + * Tests session handling. + */ class SessionTest extends WebTestBase { /** diff --git a/core/modules/system/lib/Drupal/system/Tests/System/AdminMetaTagTest.php b/core/modules/system/lib/Drupal/system/Tests/System/AdminMetaTagTest.php index 508ac2d04c28..928b1f6860b4 100644 --- a/core/modules/system/lib/Drupal/system/Tests/System/AdminMetaTagTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/System/AdminMetaTagTest.php @@ -9,6 +9,9 @@ namespace Drupal\system\Tests\System; use Drupal\simpletest\WebTestBase; +/** + * Tests the fingerprinting "Generator" HTML meta tag. + */ class AdminMetaTagTest extends WebTestBase { /** * Implement getInfo(). diff --git a/core/modules/system/lib/Drupal/system/Tests/System/CronRunTest.php b/core/modules/system/lib/Drupal/system/Tests/System/CronRunTest.php index 6fe28f2278d1..8aa4069f4ee0 100644 --- a/core/modules/system/lib/Drupal/system/Tests/System/CronRunTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/System/CronRunTest.php @@ -9,6 +9,9 @@ namespace Drupal\system\Tests\System; use Drupal\simpletest\WebTestBase; +/** + * Tests cron runs. + */ class CronRunTest extends WebTestBase { /** diff --git a/core/modules/system/lib/Drupal/system/Tests/System/DefaultMobileMetaTagsTest.php b/core/modules/system/lib/Drupal/system/Tests/System/DefaultMobileMetaTagsTest.php index ba0889f3a174..b235aed92b67 100644 --- a/core/modules/system/lib/Drupal/system/Tests/System/DefaultMobileMetaTagsTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/System/DefaultMobileMetaTagsTest.php @@ -10,6 +10,9 @@ namespace Drupal\system\Tests\System; use Drupal\Component\Utility\String; use Drupal\simpletest\WebTestBase; +/** + * Tests default mobile meta tags on HTML pages. + */ class DefaultMobileMetaTagsTest extends WebTestBase { public static function getInfo() { return array( diff --git a/core/modules/system/lib/Drupal/system/Tests/System/PageNotFoundTest.php b/core/modules/system/lib/Drupal/system/Tests/System/PageNotFoundTest.php index b248ff747499..b7a7c0a9c05d 100644 --- a/core/modules/system/lib/Drupal/system/Tests/System/PageNotFoundTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/System/PageNotFoundTest.php @@ -9,6 +9,9 @@ namespace Drupal\system\Tests\System; use Drupal\simpletest\WebTestBase; +/** + * Tests "404 Not found" pages and custom 404 pages. + */ class PageNotFoundTest extends WebTestBase { protected $admin_user; diff --git a/core/modules/system/lib/Drupal/system/Tests/System/PageTitleTest.php b/core/modules/system/lib/Drupal/system/Tests/System/PageTitleTest.php index a944f2f0d76e..87c4edb3d859 100644 --- a/core/modules/system/lib/Drupal/system/Tests/System/PageTitleTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/System/PageTitleTest.php @@ -11,6 +11,9 @@ use Drupal\Component\Utility\Xss; use Drupal\Core\Utility\Title; use Drupal\simpletest\WebTestBase; +/** + * Tests HTML output escaping of page title, site name, and slogan. + */ class PageTitleTest extends WebTestBase { /** diff --git a/core/modules/user/lib/Drupal/user/Tests/UserAdminSettingsFormTest.php b/core/modules/user/lib/Drupal/user/Tests/UserAdminSettingsFormTest.php index a34035365008..94fd2d2f4b5d 100644 --- a/core/modules/user/lib/Drupal/user/Tests/UserAdminSettingsFormTest.php +++ b/core/modules/user/lib/Drupal/user/Tests/UserAdminSettingsFormTest.php @@ -10,6 +10,9 @@ namespace Drupal\user\Tests; use Drupal\system\Tests\System\SystemConfigFormTestBase; use Drupal\user\AccountSettingsForm; +/** + * Tests the administrative user settings configuration form. + */ class UserAdminSettingsFormTest extends SystemConfigFormTestBase { public static function getInfo() { diff --git a/core/modules/user/lib/Drupal/user/Tests/UserAdminTest.php b/core/modules/user/lib/Drupal/user/Tests/UserAdminTest.php index fb58bc13fd7a..d8d384d9be47 100644 --- a/core/modules/user/lib/Drupal/user/Tests/UserAdminTest.php +++ b/core/modules/user/lib/Drupal/user/Tests/UserAdminTest.php @@ -9,6 +9,9 @@ namespace Drupal\user\Tests; use Drupal\simpletest\WebTestBase; +/** + * Tests the user administration UI. + */ class UserAdminTest extends WebTestBase { /** diff --git a/core/modules/user/lib/Drupal/user/Tests/UserEditedOwnAccountTest.php b/core/modules/user/lib/Drupal/user/Tests/UserEditedOwnAccountTest.php index 151ba88ef3ee..2437aec3de50 100644 --- a/core/modules/user/lib/Drupal/user/Tests/UserEditedOwnAccountTest.php +++ b/core/modules/user/lib/Drupal/user/Tests/UserEditedOwnAccountTest.php @@ -9,8 +9,8 @@ namespace Drupal\user\Tests; use Drupal\simpletest\WebTestBase; -/* - * Test that a user, having editing their own account, can still log in. +/** + * Tests user login after editing own user account. */ class UserEditedOwnAccountTest extends WebTestBase { diff --git a/core/modules/user/lib/Drupal/user/Tests/UserPermissionsTest.php b/core/modules/user/lib/Drupal/user/Tests/UserPermissionsTest.php index 9ac9de113350..03ad191b99d5 100644 --- a/core/modules/user/lib/Drupal/user/Tests/UserPermissionsTest.php +++ b/core/modules/user/lib/Drupal/user/Tests/UserPermissionsTest.php @@ -10,6 +10,9 @@ namespace Drupal\user\Tests; use Drupal\simpletest\WebTestBase; use Drupal\user\RoleStorage; +/** + * Tests the user role permission UI. + */ class UserPermissionsTest extends WebTestBase { protected $admin_user; protected $rid; diff --git a/core/modules/user/lib/Drupal/user/Tests/UserRegistrationTest.php b/core/modules/user/lib/Drupal/user/Tests/UserRegistrationTest.php index 15e75bf6e260..a0b205c3fb6c 100644 --- a/core/modules/user/lib/Drupal/user/Tests/UserRegistrationTest.php +++ b/core/modules/user/lib/Drupal/user/Tests/UserRegistrationTest.php @@ -11,6 +11,9 @@ use Drupal\Core\Field\FieldDefinitionInterface; use Drupal\Core\Language\Language; use Drupal\simpletest\WebTestBase; +/** + * Tests user registration. + */ class UserRegistrationTest extends WebTestBase { /** diff --git a/core/modules/views/lib/Drupal/views/Tests/Plugin/StyleTableTest.php b/core/modules/views/lib/Drupal/views/Tests/Plugin/StyleTableTest.php index 5bcca668620f..62a784b3f73a 100644 --- a/core/modules/views/lib/Drupal/views/Tests/Plugin/StyleTableTest.php +++ b/core/modules/views/lib/Drupal/views/Tests/Plugin/StyleTableTest.php @@ -7,6 +7,9 @@ namespace Drupal\views\Tests\Plugin; +/** + * Tests the table style views plugin. + */ class StyleTableTest extends PluginTestBase { /** diff --git a/core/modules/views/lib/Drupal/views/Tests/ViewRenderTest.php b/core/modules/views/lib/Drupal/views/Tests/ViewRenderTest.php index aee849b083a2..db066b2b6dc5 100644 --- a/core/modules/views/lib/Drupal/views/Tests/ViewRenderTest.php +++ b/core/modules/views/lib/Drupal/views/Tests/ViewRenderTest.php @@ -10,6 +10,9 @@ namespace Drupal\views\Tests; use Drupal\views\Tests\ViewTestBase; use Drupal\views\Views; +/** + * Tests general rendering of a view. + */ class ViewRenderTest extends ViewTestBase { /** diff --git a/core/modules/views/tests/Drupal/views/Tests/ViewsTest.php b/core/modules/views/tests/Drupal/views/Tests/ViewsTest.php index 61c3850b8444..1d95ff62f272 100644 --- a/core/modules/views/tests/Drupal/views/Tests/ViewsTest.php +++ b/core/modules/views/tests/Drupal/views/Tests/ViewsTest.php @@ -13,6 +13,9 @@ use Drupal\views\Entity\View; use Drupal\views\ViewExecutableFactory; use Drupal\Core\DependencyInjection\ContainerBuilder; +/** + * @coversDefaultClass \Drupal\views\Views + */ class ViewsTest extends UnitTestCase { public static function getInfo() { @@ -55,6 +58,8 @@ class ViewsTest extends UnitTestCase { /** * Tests the getView() method. + * + * @covers ::getView */ public function testGetView() { $executable = Views::getView('test_view'); diff --git a/core/modules/views_ui/tests/Drupal/views_ui/Tests/ViewListBuilderTest.php b/core/modules/views_ui/tests/Drupal/views_ui/Tests/ViewListBuilderTest.php index 9674f0e49288..3ead6d9fec6d 100644 --- a/core/modules/views_ui/tests/Drupal/views_ui/Tests/ViewListBuilderTest.php +++ b/core/modules/views_ui/tests/Drupal/views_ui/Tests/ViewListBuilderTest.php @@ -14,6 +14,9 @@ use Drupal\views\Entity\View; use Drupal\views\ViewExecutableFactory; use Drupal\views_ui\ViewListBuilder; +/** + * @coversDefaultClass \Drupal\views_ui\ViewListBuilder + */ class ViewListBuilderTest extends UnitTestCase { public static function getInfo() { @@ -28,6 +31,7 @@ class ViewListBuilderTest extends UnitTestCase { * Tests the listing of displays on a views list builder. * * @see \Drupal\views_ui\ViewListBuilder::getDisplaysList() + * @covers ::buildRow */ public function testBuildRowEntityList() { $storage = $this->getMockBuilder('Drupal\Core\Config\Entity\ConfigEntityStorage')