Commit 8494b063 authored by alexpott's avatar alexpott

Issue #2262195 by sun: Various test classes are missing phpDoc.

parent 3d31d12b
......@@ -9,6 +9,9 @@
use Drupal\simpletest\WebTestBase;
/**
* Tests IP address banning.
*/
class IpAddressBlockingTest extends WebTestBase {
/**
......
......@@ -9,6 +9,9 @@
use Drupal\simpletest\WebTestBase;
/**
* Tests the block administration page for a non-default theme.
*/
class NonDefaultBlockAdminTest extends WebTestBase {
/**
......
......@@ -11,6 +11,9 @@
use Drupal\views\Views;
use Drupal\views\Tests\ViewTestBase;
/**
* Tests the Recent Comments default view.
*/
class DefaultViewRecentComments extends ViewTestBase {
/**
......
......@@ -10,6 +10,9 @@
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 {
/**
......
......@@ -10,6 +10,9 @@
use Drupal\Core\Entity\EntityStorageException;
use Drupal\field\FieldException;
/**
* Tests field CRUD operations.
*/
class CrudTest extends FieldUnitTestBase {
/**
......
......@@ -9,6 +9,9 @@
use Drupal\Core\Language\Language;
/**
* Tests the field display API.
*/
class DisplayApiTest extends FieldUnitTestBase {
/**
......
......@@ -9,6 +9,9 @@
use Drupal\Core\Language\Language;
/**
* Tests field information for fields, instances, and bundles.
*/
class FieldInfoTest extends FieldUnitTestBase {
public static function getInfo() {
......
......@@ -10,6 +10,9 @@
use Drupal\Core\Entity\EntityStorageException;
use Drupal\field\FieldException;
/**
* Tests field instance CRUD (attaching fields to entities).
*/
class FieldInstanceCrudTest extends FieldUnitTestBase {
/**
......
......@@ -9,6 +9,9 @@
use Drupal\Core\Field\FieldDefinitionInterface;
/**
* Tests field form handling.
*/
class FormTest extends FieldTestBase {
/**
......
......@@ -9,6 +9,9 @@
use Drupal\Core\Field\FieldDefinitionInterface;
/**
* Tests field elements in nested forms.
*/
class NestedFormTest extends FieldTestBase {
/**
......
......@@ -12,6 +12,9 @@
use Drupal\migrate\MigrateExecutable;
use Drupal\migrate_drupal\Tests\MigrateDrupalTestBase;
/**
* Tests migration of aggregator feed entities.
*/
class MigrateAggregatorFeedTest extends MigrateDrupalTestBase {
static $modules = array('aggregator');
......
......@@ -11,6 +11,9 @@
use Drupal\migrate\MigrateExecutable;
use Drupal\migrate_drupal\Tests\MigrateDrupalTestBase;
/**
* Tests migration of filesystem variables to configuration.
*/
class MigrateSystemFileTest extends MigrateDrupalTestBase {
/**
......
......@@ -11,6 +11,9 @@
use Drupal\migrate\MigrateExecutable;
use Drupal\migrate_drupal\Tests\MigrateDrupalTestBase;
/**
* Tests migration of image GD toolkit variables to configuration.
*/
class MigrateSystemImageGdTest extends MigrateDrupalTestBase {
/**
......
......@@ -11,6 +11,9 @@
use Drupal\migrate\MigrateExecutable;
use Drupal\migrate_drupal\Tests\MigrateDrupalTestBase;
/**
* Tests migration of image toolkit variables to configuration.
*/
class MigrateSystemImageTest extends MigrateDrupalTestBase {
/**
......
......@@ -11,6 +11,9 @@
use Drupal\migrate\MigrateExecutable;
use Drupal\migrate_drupal\Tests\MigrateDrupalTestBase;
/**
* Tests migration of system maintenance mode variables to configuration.
*/
class MigrateSystemMaintenanceTest extends MigrateDrupalTestBase {
/**
......
......@@ -11,6 +11,9 @@
use Drupal\migrate\MigrateExecutable;
use Drupal\migrate_drupal\Tests\MigrateDrupalTestBase;
/**
* Tests migration of system performance variables to configuration.
*/
class MigrateSystemPerformanceTest extends MigrateDrupalTestBase {
/**
......
......@@ -11,6 +11,9 @@
use Drupal\migrate\MigrateExecutable;
use Drupal\migrate_drupal\Tests\MigrateDrupalTestBase;
/**
* Tests migration of system RSS/feed variables to configuration.
*/
class MigrateSystemRssTest extends MigrateDrupalTestBase {
/**
......
......@@ -11,6 +11,9 @@
use Drupal\migrate\MigrateExecutable;
use Drupal\migrate_drupal\Tests\MigrateDrupalTestBase;
/**
* Tests migration of system site variables to configuration.
*/
class MigrateSystemSiteTest extends MigrateDrupalTestBase {
/**
......
......@@ -11,6 +11,9 @@
use Drupal\migrate\MigrateExecutable;
use Drupal\migrate_drupal\Tests\MigrateDrupalTestBase;
/**
* Tests migration of system theme variables to configuration.
*/
class MigrateSystemThemeTest extends MigrateDrupalTestBase {
/**
......
......@@ -7,6 +7,9 @@
namespace Drupal\node\Tests\Views;
/**
* Tests Node module's Views integration.
*/
class NodeIntegrationTest extends NodeTestBase {
/**
......
......@@ -6,6 +6,9 @@
namespace Drupal\serialization\Tests;
/**
* Tests the entity reference resolver.
*/
class EntityResolverTest extends NormalizerTestBase {
/**
......
......@@ -9,6 +9,9 @@
use Drupal\simpletest\WebTestBase;
/**
* Tests Simpletest email capturing (TestMailCollector) and assertion methods.
*/
class MailCaptureTest extends WebTestBase {
/**
* Implement getInfo().
......
......@@ -10,6 +10,9 @@
use Drupal\Core\Database\Driver\pgsql\Select;
use Drupal\simpletest\WebTestBase;
/**
* Tests the Simpletest UI test runner and internal browser.
*/
class SimpleTestTest extends WebTestBase {
/**
......
......@@ -10,6 +10,9 @@
use Drupal\simpletest\WebTestBase;
use Drupal\Core\Datetime\DrupalDateTime;
/**
* Tests DrupalDateTime functionality.
*/
class DrupalDateTimeTest extends WebTestBase {
/**
......
......@@ -12,6 +12,9 @@
use Drupal\Core\Render\Element;
use Drupal\simpletest\WebTestBase;
/**
* Tests form element validation.
*/
class FormTest extends WebTestBase {
/**
......
......@@ -9,6 +9,9 @@
use Drupal\simpletest\WebTestBase;
/**
* Tests session handling.
*/
class SessionTest extends WebTestBase {
/**
......
......@@ -9,6 +9,9 @@
use Drupal\simpletest\WebTestBase;
/**
* Tests the fingerprinting "Generator" HTML meta tag.
*/
class AdminMetaTagTest extends WebTestBase {
/**
* Implement getInfo().
......
......@@ -9,6 +9,9 @@
use Drupal\simpletest\WebTestBase;
/**
* Tests cron runs.
*/
class CronRunTest extends WebTestBase {
/**
......
......@@ -10,6 +10,9 @@
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(
......
......@@ -9,6 +9,9 @@
use Drupal\simpletest\WebTestBase;
/**
* Tests "404 Not found" pages and custom 404 pages.
*/
class PageNotFoundTest extends WebTestBase {
protected $admin_user;
......
......@@ -11,6 +11,9 @@
use Drupal\Core\Utility\Title;
use Drupal\simpletest\WebTestBase;
/**
* Tests HTML output escaping of page title, site name, and slogan.
*/
class PageTitleTest extends WebTestBase {
/**
......
......@@ -10,6 +10,9 @@
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() {
......
......@@ -9,6 +9,9 @@
use Drupal\simpletest\WebTestBase;
/**
* Tests the user administration UI.
*/
class UserAdminTest extends WebTestBase {
/**
......
......@@ -9,8 +9,8 @@
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 {
......
......@@ -10,6 +10,9 @@
use Drupal\simpletest\WebTestBase;
use Drupal\user\RoleStorage;
/**
* Tests the user role permission UI.
*/
class UserPermissionsTest extends WebTestBase {
protected $admin_user;
protected $rid;
......
......@@ -11,6 +11,9 @@
use Drupal\Core\Language\Language;
use Drupal\simpletest\WebTestBase;
/**
* Tests user registration.
*/
class UserRegistrationTest extends WebTestBase {
/**
......
......@@ -7,6 +7,9 @@
namespace Drupal\views\Tests\Plugin;
/**
* Tests the table style views plugin.
*/
class StyleTableTest extends PluginTestBase {
/**
......
......@@ -10,6 +10,9 @@
use Drupal\views\Tests\ViewTestBase;
use Drupal\views\Views;
/**
* Tests general rendering of a view.
*/
class ViewRenderTest extends ViewTestBase {
/**
......
......@@ -13,6 +13,9 @@
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 @@ protected function setUp() {
/**
* Tests the getView() method.
*
* @covers ::getView
*/
public function testGetView() {
$executable = Views::getView('test_view');
......
......@@ -14,6 +14,9 @@
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 @@ public static function getInfo() {
* 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')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment