32 calls to ExpectDeprecationTrait::expectDeprecation()

BcEngineTest::testPage in core/modules/system/tests/src/Functional/Theme/BcEngineTest.php
Tests that .engine theme engines still work.
ExpectDeprecationTest::testExpectDeprecation in core/tests/Drupal/Tests/ExpectDeprecationTest.php
Tests expectDeprecation.
ExpectDeprecationTest::testExpectDeprecationInIsolation in core/tests/Drupal/Tests/ExpectDeprecationTest.php
Tests expectDeprecation in isolated test.
ExtensionMimeTypeGuesserDeprecationTest::testConstructorDeprecation in core/tests/Drupal/KernelTests/Core/File/ExtensionMimeTypeGuesserDeprecationTest.php
Tests that deprecations are raised for missing constructor arguments.
ExtensionMimeTypeGuesserLegacyTest::testFileMimeTypeDetectionCustomMapping in core/tests/Drupal/KernelTests/Core/File/MimeType/ExtensionMimeTypeGuesserLegacyTest.php
Tests mapping of mimetypes from filenames.
ExtensionMimeTypeGuesserLegacyTest::testGuessMimeType in core/tests/Drupal/KernelTests/Core/File/MimeType/ExtensionMimeTypeGuesserLegacyTest.php
Tests mapping of mimetypes from filenames.
ImageDeprecationTest::testImageFilterKeywordDeprecation in core/modules/image/tests/src/Unit/ImageDeprecationTest.php
Tests deprecation of image_filter_keyword.
LegacyFileSystemTest::testCopyWithDeprecatedFileExists in core/tests/Drupal/KernelTests/Core/File/LegacyFileSystemTest.php
Tests copy with deprecated file exists.
LegacyFileSystemTest::testCopyWithOutOfBoundsIntNegative in core/tests/Drupal/KernelTests/Core/File/LegacyFileSystemTest.php
Tests copy with out of bounds int negative.
LegacyFileSystemTest::testCopyWithOutOfBoundsIntPositive in core/tests/Drupal/KernelTests/Core/File/LegacyFileSystemTest.php
Tests copy with out of bounds int positive.
LegacyFileSystemTest::testMoveWithDeprecatedFileExists in core/tests/Drupal/KernelTests/Core/File/LegacyFileSystemTest.php
Tests move with deprecated file exists.
LegacyFileSystemTest::testSaveDataWithDeprecatedFileExists in core/tests/Drupal/KernelTests/Core/File/LegacyFileSystemTest.php
Tests save data with deprecated file exists.
LegacyMimeTypeTest::testHookFileMimetypeMappingAlter in core/tests/Drupal/KernelTests/Core/File/MimeType/LegacyMimeTypeTest.php
Tests deprecation of hook_file_mimetype_mapping_alter.
LegacyRequirementSeverityTest::testGetMaxSeverity in core/tests/Drupal/KernelTests/Core/Extension/LegacyRequirementSeverityTest.php
Tests get max severity.
LegacySessionTest::testLegacyDataPersistence in core/modules/system/tests/src/Functional/Session/LegacySessionTest.php
Tests data persistence via the session_test module callbacks.
LegacyStatusReportTest::testGetSeveritiesDeprecation in core/tests/Drupal/KernelTests/Core/Render/Element/LegacyStatusReportTest.php
Tests the getSeverities() method deprecation.
LocaleBulkDeprecationTest::testDeprecatedLocaleConfigBatchRefreshName in core/modules/locale/tests/src/Unit/LocaleBulkDeprecationTest.php
Tests the deprecation of locale_config_batch_refresh_name().
LocaleBulkDeprecationTest::testDeprecatedLocaleConfigBatchSetConfigLangcodes in core/modules/locale/tests/src/Unit/LocaleBulkDeprecationTest.php
Tests the deprecation of locale_config_batch_set_config_langcodes().
MigrateFileGetIdsTest::fileMigrationSetup in core/modules/file/tests/src/Kernel/Migrate/d7/MigrateFileGetIdsTest.php
Prepare the file migration for running.
NodeSyndicateBlockTest::testSyndicateBlock in core/modules/node/tests/src/Functional/NodeSyndicateBlockTest.php
Tests that the "Syndicate" block is shown when enabled.
PageCacheLegacyTest::testDeprecatedKernelArgument in core/modules/page_cache/tests/src/Unit/PageCacheLegacyTest.php
Tests that page cache is constructed with a http kernel argument.
PhpUnitBridgeTest::testDeprecatedClass in core/tests/Drupal/KernelTests/Core/Test/PhpUnitBridgeTest.php
Tests class deprecation.
PhpUnitBridgeTest::testDeprecatedFunction in core/tests/Drupal/KernelTests/Core/Test/PhpUnitBridgeTest.php
Tests function deprecation.
PhpUnitBridgeTest::testErrorOnSiteUnderTest in core/tests/Drupal/FunctionalTests/Core/Test/PhpUnitBridgeTest.php
Tests deprecation message from deprecated route.
PhpUnitBridgeTest::testSilencedError in core/tests/Drupal/FunctionalTests/Core/Test/PhpUnitBridgeTest.php
Tests deprecation message from deprecation_test_function().
RefinableCacheableDependencyTraitTest::testNonCacheableDependencyAddDeprecation in core/tests/Drupal/Tests/Core/Cache/RefinableCacheableDependencyTraitTest.php
Tests non cacheable dependency add deprecation.
SourceModuleTest::testSourceModuleInMigration in core/modules/migrate_drupal_ui/tests/src/Kernel/SourceModuleTest.php
Tests the source_module is set when not in source plugin annotation.
TarTest::testCreateArchive in core/tests/Drupal/KernelTests/Core/Archiver/TarTest.php
Tests that the Tar archive is created if it does not exist.
ThemeDeprecationTest::testTemplatePreprocessIncludes in core/modules/system/tests/src/Kernel/Theme/ThemeDeprecationTest.php
Tests deprecations around template_preprocess functions and include files.
ThemeEngineTest::testThemeEngineDeprecation in core/modules/system/tests/src/Kernel/Theme/ThemeEngineTest.php
Tests deprecated theme engine .engine files.
ZipTest::testCreateArchive in core/tests/Drupal/KernelTests/Core/Archiver/ZipTest.php
Tests that the Zip archive is created if it does not exist.
ZipTest::testOverwriteArchive in core/tests/Drupal/KernelTests/Core/Archiver/ZipTest.php
Tests that the Zip archiver is created and overwritten.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.