Search for test

  1. Search 7.x for test
  2. Search 9.5.x for test
  3. Search 8.9.x for test
  4. Search 11.x for test
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Test class core/modules/media/tests/modules/media_test_source/src/Plugin/media/Source/Test.php Provides test media source.
Test class core/modules/system/tests/modules/test_page_test/src/Controller/Test.php Defines a test controller for page titles.

All search results

Title Object type File name Summary
EntityNormalizerTest::testDenormalizeWithNoEntityType function core/modules/serialization/tests/src/Unit/Normalizer/EntityNormalizerTest.php Tests the denormalize() method with no entity type provided in context.
EntityNormalizerTest::testDenormalizeWithNoFieldableEntityType function core/modules/serialization/tests/src/Unit/Normalizer/EntityNormalizerTest.php Tests the denormalize method with no bundle defined.
EntityNormalizerTest::testDenormalizeWithValidBundle function core/modules/serialization/tests/src/Unit/Normalizer/EntityNormalizerTest.php Tests the denormalize method with a bundle property.
EntityNormalizerTest::testNormalize function core/modules/serialization/tests/src/Unit/Normalizer/EntityNormalizerTest.php Tests the normalize() method.
EntityOperationsTest class core/modules/content_moderation/tests/src/Kernel/EntityOperationsTest.php @coversDefaultClass \Drupal\content_moderation\EntityOperations[[api-linebreak]]
EntityOperationsTest class core/modules/system/tests/src/Functional/Entity/EntityOperationsTest.php Tests that operations can be injected from the hook.
EntityOperationsTest.php file core/modules/system/tests/src/Functional/Entity/EntityOperationsTest.php
EntityOperationsTest.php file core/modules/content_moderation/tests/src/Kernel/EntityOperationsTest.php
EntityOperationsTest::$defaultTheme property core/modules/system/tests/src/Functional/Entity/EntityOperationsTest.php The theme to install as the default for testing.
EntityOperationsTest::$modules property core/modules/system/tests/src/Functional/Entity/EntityOperationsTest.php Modules to install.
EntityOperationsTest::$modules property core/modules/content_moderation/tests/src/Kernel/EntityOperationsTest.php Modules to install.
EntityOperationsTest::createNodeType function core/modules/content_moderation/tests/src/Kernel/EntityOperationsTest.php Creates a page node type to test with, ensuring that it's moderated.
EntityOperationsTest::createRole function core/modules/system/tests/src/Functional/Entity/EntityOperationsTest.php
EntityOperationsTest::setUp function core/modules/system/tests/src/Functional/Entity/EntityOperationsTest.php
EntityOperationsTest::setUp function core/modules/content_moderation/tests/src/Kernel/EntityOperationsTest.php
EntityOperationsTest::testArchive function core/modules/content_moderation/tests/src/Kernel/EntityOperationsTest.php Verifies that an unpublished state may be made the default revision.
EntityOperationsTest::testEntityOperationAlter function core/modules/system/tests/src/Functional/Entity/EntityOperationsTest.php Checks that hook_entity_operation_alter() can add an operation.
EntityOperationsTest::testPendingRevisions function core/modules/content_moderation/tests/src/Kernel/EntityOperationsTest.php Verifies that the process of saving pending revisions works as expected.
EntityOperationsTest::testPublishedCreation function core/modules/content_moderation/tests/src/Kernel/EntityOperationsTest.php Verifies that a newly-created node can go straight to published.
EntityOperationsUnitTest class core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php @coversDefaultClass \Drupal\views\Plugin\views\field\EntityOperations[[api-linebreak]]
@group Views
EntityOperationsUnitTest.php file core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php
EntityOperationsUnitTest::$entityRepository property core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php The entity repository.
EntityOperationsUnitTest::$entityTypeManager property core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php The entity type manager.
EntityOperationsUnitTest::$languageManager property core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php The language manager.
EntityOperationsUnitTest::$plugin property core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php The plugin under test.
EntityOperationsUnitTest::setUp function core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php @covers ::__construct[[api-linebreak]]
EntityOperationsUnitTest::testDefineOptions function core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php @covers ::defineOptions[[api-linebreak]]
EntityOperationsUnitTest::testRenderWithDestination function core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php @covers ::render[[api-linebreak]]
EntityOperationsUnitTest::testRenderWithoutDestination function core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php @covers ::render[[api-linebreak]]
EntityOperationsUnitTest::testRenderWithoutEntity function core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php @covers ::render[[api-linebreak]]
EntityOperationsUnitTest::testUsesGroupBy function core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php @covers ::usesGroupBy[[api-linebreak]]
EntityPermissionsFormTest class core/modules/user/tests/src/Unit/Form/EntityPermissionsFormTest.php Tests the permissions administration form for a bundle.
EntityPermissionsFormTest.php file core/modules/user/tests/src/Unit/Form/EntityPermissionsFormTest.php
EntityPermissionsFormTest::providerTestPermissionsByProvider function core/modules/user/tests/src/Unit/Form/EntityPermissionsFormTest.php Provides data for the testPermissionsByProvider method.
EntityPermissionsFormTest::testPermissionsByProvider function core/modules/user/tests/src/Unit/Form/EntityPermissionsFormTest.php Tests generating the permissions list.
EntityQueryAccessTest class core/modules/views/tests/src/Functional/Entity/EntityQueryAccessTest.php Tests that Views respects 'ENTITY_TYPE_access' query tags.
EntityQueryAccessTest.php file core/modules/views/tests/src/Functional/Entity/EntityQueryAccessTest.php
EntityQueryAccessTest::$defaultTheme property core/modules/views/tests/src/Functional/Entity/EntityQueryAccessTest.php The theme to install as the default for testing.
EntityQueryAccessTest::$modules property core/modules/views/tests/src/Functional/Entity/EntityQueryAccessTest.php Modules to install.
EntityQueryAccessTest::testBlockContentEntityQueryAccess function core/modules/views/tests/src/Functional/Entity/EntityQueryAccessTest.php Tests that the 'block_content_access' query tag is respected by Views.
EntityQueryAccessTest::testMediaEntityQueryAccess function core/modules/views/tests/src/Functional/Entity/EntityQueryAccessTest.php Tests that the 'media_access' query tag is respected by Views.
EntityQueryAggregateTest class core/tests/Drupal/KernelTests/Core/Entity/EntityQueryAggregateTest.php Tests the Entity Query Aggregation API.
EntityQueryAggregateTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityQueryAggregateTest.php
EntityQueryAggregateTest::$entityStorage property core/tests/Drupal/KernelTests/Core/Entity/EntityQueryAggregateTest.php The entity_test storage to create the test entities.
EntityQueryAggregateTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/EntityQueryAggregateTest.php
EntityQueryAggregateTest::$queryResult property core/tests/Drupal/KernelTests/Core/Entity/EntityQueryAggregateTest.php The actual query result, to compare later.
EntityQueryAggregateTest::assertResults function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryAggregateTest.php Asserts the results as expected regardless of order between and in rows.
EntityQueryAggregateTest::assertSortedResults function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryAggregateTest.php Asserts the results as expected regardless of order in rows.
EntityQueryAggregateTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryAggregateTest.php
EntityQueryAggregateTest::testAggregation function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryAggregateTest.php Tests aggregation support.

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