Search for test

  1. Search 7.x for test
  2. Search 8.9.x for test
  3. Search 10.3.x for test
  4. Search 11.x for test
  5. Search main for test
  6. 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
UniqueFieldConstraintTest.php file core/tests/Drupal/KernelTests/Core/Validation/UniqueFieldConstraintTest.php
UniqueFieldConstraintTest::$modules property core/tests/Drupal/KernelTests/Core/Validation/UniqueFieldConstraintTest.php Modules to enable.
UniqueFieldConstraintTest::providerTestEntityWithStringIdWithViolation function core/tests/Drupal/KernelTests/Core/Validation/UniqueFieldConstraintTest.php Data provider for ::testEntityWithStringIdWithViolation().
UniqueFieldConstraintTest::testEntityWithStringId function core/tests/Drupal/KernelTests/Core/Validation/UniqueFieldConstraintTest.php Tests cases where the validation passes for entities with string IDs.
UniqueFieldConstraintTest::testEntityWithStringIdWithViolation function core/tests/Drupal/KernelTests/Core/Validation/UniqueFieldConstraintTest.php Tests cases when validation raises violations for entities with string IDs.
unique_field_constraint_test.info.yml file core/modules/system/tests/modules/unique_field_constraint_test/unique_field_constraint_test.info.yml core/modules/system/tests/modules/unique_field_constraint_test/unique_field_constraint_test.info.yml
unique_field_constraint_test.module file core/modules/system/tests/modules/unique_field_constraint_test/unique_field_constraint_test.module Contains unique_field_constraint_test.module.
unique_field_constraint_test_entity_base_field_info_alter function core/modules/system/tests/modules/unique_field_constraint_test/unique_field_constraint_test.module Implements hook_entity_base_field_info_alter().
UnitTestCase class core/tests/Drupal/Tests/UnitTestCase.php Provides a base class and helpers for Drupal unit tests.
UnitTestCase.php file core/tests/Drupal/Tests/UnitTestCase.php
UnitTestCase::$randomGenerator property core/tests/Drupal/Tests/UnitTestCase.php The random generator.
UnitTestCase::$root property core/tests/Drupal/Tests/UnitTestCase.php The app root.
UnitTestCase::assertArrayEquals function core/tests/Drupal/Tests/UnitTestCase.php Asserts if two arrays are equal by sorting them first.
UnitTestCase::getClassResolverStub function core/tests/Drupal/Tests/UnitTestCase.php Returns a stub class resolver.
UnitTestCase::getConfigFactoryStub function core/tests/Drupal/Tests/UnitTestCase.php Returns a stub config factory that behaves according to the passed array.
UnitTestCase::getConfigStorageStub function core/tests/Drupal/Tests/UnitTestCase.php Returns a stub config storage that returns the supplied configuration.
UnitTestCase::getContainerWithCacheTagsInvalidator function core/tests/Drupal/Tests/UnitTestCase.php Sets up a container with a cache tags invalidator.
UnitTestCase::getRandomGenerator function core/tests/Drupal/Tests/UnitTestCase.php Gets the random generator for the utility methods.
UnitTestCase::getStringTranslationStub function core/tests/Drupal/Tests/UnitTestCase.php Returns a stub translation manager that just returns the passed string.
UnitTestCase::randomMachineName function core/tests/Drupal/Tests/UnitTestCase.php Generates a unique random string containing letters and numbers.
UnitTestCase::setUp function core/tests/Drupal/Tests/UnitTestCase.php
UnitTestCase::setUpBeforeClass function core/tests/Drupal/Tests/UnitTestCase.php
UnitTestCaseTest class core/tests/Drupal/Tests/UnitTestCaseTest.php Tests for the UnitTestCase class.
UnitTestCaseTest.php file core/tests/Drupal/Tests/UnitTestCaseTest.php
UnitTestCaseTest::testAssertArrayEquals function core/tests/Drupal/Tests/UnitTestCaseTest.php Tests deprecation of the ::assertArrayEquals method.
UnitTestCaseTest::testVarDumpSameProcess function core/tests/Drupal/Tests/UnitTestCaseTest.php Tests the dump() function in a test run in the same process.
UnitTestCaseTest::testVarDumpSeparateProcess function core/tests/Drupal/Tests/UnitTestCaseTest.php Tests the dump() function in a test run in a separate process.
UnitTestSuite class core/tests/TestSuites/UnitTestSuite.php Discovers tests for the unit test suite.
UnitTestSuite.php file core/tests/TestSuites/UnitTestSuite.php
UnitTestSuite::suite function core/tests/TestSuites/UnitTestSuite.php Factory method which loads up a suite with all unit tests.
UnpublishByKeywordActionTest class core/modules/node/tests/src/Kernel/Action/UnpublishByKeywordActionTest.php @group node
UnpublishByKeywordActionTest.php file core/modules/node/tests/src/Kernel/Action/UnpublishByKeywordActionTest.php
UnpublishByKeywordActionTest::$modules property core/modules/node/tests/src/Kernel/Action/UnpublishByKeywordActionTest.php Modules to enable.
UnpublishByKeywordActionTest::setUp function core/modules/node/tests/src/Kernel/Action/UnpublishByKeywordActionTest.php
UnpublishByKeywordActionTest::testUnpublishByKeywordAction function core/modules/node/tests/src/Kernel/Action/UnpublishByKeywordActionTest.php Tests creating an action using the node_unpublish_by_keyword_action plugin.
UnpublishedBlockTest class core/modules/block_content/tests/src/Functional/UnpublishedBlockTest.php Tests unpublishing of block_content entities.
UnpublishedBlockTest.php file core/modules/block_content/tests/src/Functional/UnpublishedBlockTest.php
UnpublishedBlockTest::$defaultTheme property core/modules/block_content/tests/src/Functional/UnpublishedBlockTest.php The theme to install as the default for testing.
UnpublishedBlockTest::$modules property core/modules/block_content/tests/src/Functional/UnpublishedBlockTest.php Modules to enable.
UnpublishedBlockTest::testViewShowsCorrectStates function core/modules/block_content/tests/src/Functional/UnpublishedBlockTest.php Tests unpublishing of block_content entities.
UnroutedUrlAssemblerTest class core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php @coversDefaultClass \Drupal\Core\Utility\UnroutedUrlAssembler[[api-linebreak]]
@group Utility
UnroutedUrlAssemblerTest.php file core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php
UnroutedUrlAssemblerTest::$configFactory property core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php The mocked config factory.
UnroutedUrlAssemblerTest::$pathProcessor property core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php The mocked outbound path processor.
UnroutedUrlAssemblerTest::$requestStack property core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php The request stack.
UnroutedUrlAssemblerTest::$unroutedUrlAssembler property core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php The tested unrouted URL assembler.
UnroutedUrlAssemblerTest::providerTestAssembleWithExternalUrl function core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php Provides test data for testAssembleWithExternalUrl.
UnroutedUrlAssemblerTest::providerTestAssembleWithLocalUri function core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php
UnroutedUrlAssemblerTest::setUp function core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php
UnroutedUrlAssemblerTest::setupRequestStack function core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php Setups the request stack for a given subdir.

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