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