Issue #3413917 by quietone, smustgrave, catch, andypost: Deprecate the Statistics module
parent
1c66f7ecaf
commit
8474559cbd
|
@ -3,6 +3,8 @@ type: module
|
|||
description: 'Logs how many times content is viewed.'
|
||||
package: Core
|
||||
version: VERSION
|
||||
lifecycle: deprecated
|
||||
lifecycle_link: https://www.drupal.org/node/3223395#s-statistics
|
||||
configure: statistics.settings
|
||||
dependencies:
|
||||
- drupal:node
|
||||
|
|
|
@ -10,5 +10,6 @@ use Drupal\Tests\system\Functional\Module\GenericModuleTestBase;
|
|||
* Generic module test for statistics.
|
||||
*
|
||||
* @group statistics
|
||||
* @group legacy
|
||||
*/
|
||||
class GenericTest extends GenericModuleTestBase {}
|
||||
|
|
|
@ -14,6 +14,7 @@ use Drupal\Tests\Traits\Core\CronRunTrait;
|
|||
* Tests the statistics admin.
|
||||
*
|
||||
* @group statistics
|
||||
* @group legacy
|
||||
*/
|
||||
class StatisticsAdminTest extends BrowserTestBase {
|
||||
|
||||
|
|
|
@ -11,6 +11,7 @@ use Drupal\node\Entity\Node;
|
|||
* Tests if statistics.js is loaded when content is not printed.
|
||||
*
|
||||
* @group statistics
|
||||
* @group legacy
|
||||
*/
|
||||
class StatisticsAttachedTest extends BrowserTestBase {
|
||||
|
||||
|
|
|
@ -14,6 +14,7 @@ use Drupal\node\Entity\Node;
|
|||
* want to test requests from an anonymous user.
|
||||
*
|
||||
* @group statistics
|
||||
* @group legacy
|
||||
*/
|
||||
class StatisticsLoggingTest extends BrowserTestBase {
|
||||
|
||||
|
|
|
@ -12,6 +12,7 @@ use Drupal\Tests\system\Functional\Cache\AssertPageCacheContextsAndTagsTrait;
|
|||
* Tests display of statistics report blocks.
|
||||
*
|
||||
* @group statistics
|
||||
* @group legacy
|
||||
*/
|
||||
class StatisticsReportsTest extends StatisticsTestBase {
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@ namespace Drupal\Tests\statistics\Functional;
|
|||
* Tests statistics token replacement.
|
||||
*
|
||||
* @group statistics
|
||||
* @group legacy
|
||||
*/
|
||||
class StatisticsTokenReplaceTest extends StatisticsTestBase {
|
||||
|
||||
|
|
|
@ -11,6 +11,7 @@ use Drupal\user\Entity\User;
|
|||
* Tests basic integration of views data from the statistics module.
|
||||
*
|
||||
* @group statistics
|
||||
* @group legacy
|
||||
* @see
|
||||
*/
|
||||
class IntegrationTest extends ViewTestBase {
|
||||
|
|
|
@ -10,6 +10,7 @@ use Drupal\Tests\migrate_drupal_ui\Functional\NoMultilingualReviewPageTestBase;
|
|||
* Tests migrate upgrade review page.
|
||||
*
|
||||
* @group statistics
|
||||
* @group legacy
|
||||
*/
|
||||
class NoMultilingualReviewPageTest extends NoMultilingualReviewPageTestBase {
|
||||
|
||||
|
|
|
@ -12,6 +12,7 @@ use Drupal\Tests\migrate_drupal_ui\Functional\MigrateUpgradeExecuteTestBase;
|
|||
* The test method is provided by the MigrateUpgradeTestBase class.
|
||||
*
|
||||
* @group statistics
|
||||
* @group legacy
|
||||
*/
|
||||
class UpgradeTest extends MigrateUpgradeExecuteTestBase {
|
||||
|
||||
|
|
|
@ -12,6 +12,7 @@ use Drupal\Tests\migrate_drupal_ui\Functional\NoMultilingualReviewPageTestBase;
|
|||
* The test method is provided by the MigrateUpgradeTestBase class.
|
||||
*
|
||||
* @group statistics
|
||||
* @group legacy
|
||||
*/
|
||||
class NoMultilingualReviewPageTest extends NoMultilingualReviewPageTestBase {
|
||||
|
||||
|
|
|
@ -12,6 +12,7 @@ use Drupal\Tests\migrate_drupal_ui\Functional\MigrateUpgradeExecuteTestBase;
|
|||
* The test method is provided by the MigrateUpgradeTestBase class.
|
||||
*
|
||||
* @group statistics
|
||||
* @group legacy
|
||||
*/
|
||||
class UpgradeTest extends MigrateUpgradeExecuteTestBase {
|
||||
|
||||
|
|
|
@ -15,6 +15,7 @@ use Drupal\Tests\Traits\Core\CronRunTrait;
|
|||
* Indexes content and tests ranking factors.
|
||||
*
|
||||
* @group statistics
|
||||
* @group legacy
|
||||
*/
|
||||
class SearchRankingTest extends BrowserTestBase {
|
||||
|
||||
|
|
|
@ -12,7 +12,8 @@ use Drupal\user\Entity\Role;
|
|||
/**
|
||||
* Tests that statistics works.
|
||||
*
|
||||
* @group system
|
||||
* @group statistics
|
||||
* @group legacy
|
||||
*/
|
||||
class StatisticsLoggingTest extends WebDriverTestBase {
|
||||
|
||||
|
|
|
@ -10,6 +10,7 @@ use Drupal\Tests\migrate_drupal\Kernel\d6\MigrateDrupal6TestBase;
|
|||
* Tests the migration of node counter data to Drupal 8.
|
||||
*
|
||||
* @group statistics
|
||||
* @group legacy
|
||||
*/
|
||||
class MigrateNodeCounterTest extends MigrateDrupal6TestBase {
|
||||
|
||||
|
|
|
@ -10,7 +10,8 @@ use Drupal\Tests\migrate_drupal\Kernel\d6\MigrateDrupal6TestBase;
|
|||
/**
|
||||
* Upgrade variables to statistics.settings.yml.
|
||||
*
|
||||
* @group migrate_drupal_6
|
||||
* @group statistics
|
||||
* @group legacy
|
||||
*/
|
||||
class MigrateStatisticsConfigsTest extends MigrateDrupal6TestBase {
|
||||
|
||||
|
|
|
@ -10,6 +10,7 @@ use Drupal\Tests\migrate_drupal\Kernel\d7\MigrateDrupal7TestBase;
|
|||
* Tests the migration of node counter data to Drupal 8.
|
||||
*
|
||||
* @group statistics
|
||||
* @group legacy
|
||||
*/
|
||||
class MigrateNodeCounterTest extends MigrateDrupal7TestBase {
|
||||
|
||||
|
|
|
@ -10,7 +10,8 @@ use Drupal\Tests\migrate_drupal\Kernel\d7\MigrateDrupal7TestBase;
|
|||
/**
|
||||
* Upgrade variables to statistics.settings.yml.
|
||||
*
|
||||
* @group migrate_drupal_7
|
||||
* @group statistics
|
||||
* @group legacy
|
||||
*/
|
||||
class MigrateStatisticsConfigsTest extends MigrateDrupal7TestBase {
|
||||
|
||||
|
|
|
@ -14,6 +14,7 @@ use Drupal\Tests\migrate\Kernel\MigrateSqlSourceTestBase;
|
|||
* @covers \Drupal\statistics\Plugin\migrate\source\NodeCounter
|
||||
*
|
||||
* @group statistics
|
||||
* @group legacy
|
||||
*/
|
||||
class NodeCounterTest extends MigrateSqlSourceTestBase {
|
||||
|
||||
|
|
|
@ -10,6 +10,7 @@ use Drupal\Tests\UnitTestCase;
|
|||
/**
|
||||
* @coversDefaultClass \Drupal\statistics\StatisticsViewsResult
|
||||
* @group statistics
|
||||
* @group legacy
|
||||
*/
|
||||
class StatisticsViewsResultTest extends UnitTestCase {
|
||||
|
||||
|
|
Loading…
Reference in New Issue