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
AssetOptimizationTestUmami class core/tests/Drupal/FunctionalTests/Asset/AssetOptimizationTestUmami.php Tests asset aggregation with the Umami install profile.
AssetOptimizationTestUmami.php file core/tests/Drupal/FunctionalTests/Asset/AssetOptimizationTestUmami.php
AssetOptimizationTestUmami::$profile property core/tests/Drupal/FunctionalTests/Asset/AssetOptimizationTestUmami.php The profile to install as a basis for testing.
AssetOptimizationTestUmami::requestPage function core/tests/Drupal/FunctionalTests/Asset/AssetOptimizationTestUmami.php Creates a user and requests a page.
AssetQueryStringTest class core/tests/Drupal/KernelTests/Core/Asset/AssetQueryStringTest.php Tests the asset query string functionality.
AssetQueryStringTest.php file core/tests/Drupal/KernelTests/Core/Asset/AssetQueryStringTest.php
AssetQueryStringTest::testResetGet function core/tests/Drupal/KernelTests/Core/Asset/AssetQueryStringTest.php @covers ::get
@covers ::reset
AssetResolverTest class core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php @coversDefaultClass \Drupal\Core\Asset\AssetResolver
@group Asset
AssetResolverTest.php file core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php
AssetResolverTest::$assetResolver property core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php The tested asset resolver service.
AssetResolverTest::$cache property core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php The cache backend to use.
AssetResolverTest::$english property core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php A mocked English language object.
AssetResolverTest::$japanese property core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php A mocked Japanese language object.
AssetResolverTest::$languageManager property core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php The mocked language manager.
AssetResolverTest::$libraries property core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php An array of library definitions.
AssetResolverTest::$libraryDependencyResolver property core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php The mocked library dependency resolver.
AssetResolverTest::$libraryDiscovery property core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php The mocked library discovery service.
AssetResolverTest::$moduleHandler property core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php The mocked module handler.
AssetResolverTest::$themeManager property core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php The mocked theme manager.
AssetResolverTest::providerAttachedCssAssets function core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php
AssetResolverTest::providerAttachedJsAssets function core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php
AssetResolverTest::setUp function core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php
AssetResolverTest::testGetCssAssets function core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php @covers ::getCssAssets
@dataProvider providerAttachedCssAssets
AssetResolverTest::testGetJsAssets function core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php @covers ::getJsAssets
@dataProvider providerAttachedJsAssets
AssignOwnerNodeTest class core/modules/node/tests/src/Unit/Action/AssignOwnerNodeTest.php @group node
@group legacy
AssignOwnerNodeTest.php file core/modules/node/tests/src/Unit/Action/AssignOwnerNodeTest.php
AssignOwnerNodeTest::testAssignOwnerNode function core/modules/node/tests/src/Unit/Action/AssignOwnerNodeTest.php Tests deprecation of \Drupal\node\Plugin\Action\AssignOwnerNodeTest.
AttachedAssetsTest class core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests #attached assets: attached asset libraries and JavaScript settings.
AttachedAssetsTest.php file core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php
AttachedAssetsTest::$assetResolver property core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php The asset resolver service.
AttachedAssetsTest::$fileUrlGenerator property core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php The file URL generator.
AttachedAssetsTest::$modules property core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Modules to install.
AttachedAssetsTest::$renderer property core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php The renderer service.
AttachedAssetsTest::setUp function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php
AttachedAssetsTest::testAddExternalFiles function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests adding external CSS and JavaScript files.
AttachedAssetsTest::testAddFiles function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests adding a CSS and a JavaScript file.
AttachedAssetsTest::testAddJsFileWithQueryString function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests JavaScript files that have query strings attached get added right.
AttachedAssetsTest::testAddJsSettings function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests adding JavaScript settings.
AttachedAssetsTest::testAggregatedAttributes function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests that attributes are maintained when JS aggregation is enabled.
AttachedAssetsTest::testAggregation function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Integration test for CSS/JS aggregation.
AttachedAssetsTest::testAlter function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests altering a JavaScript's weight via hook_js_alter().
AttachedAssetsTest::testAttributes function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests adding JavaScript files with additional attributes.
AttachedAssetsTest::testDefault function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests that default CSS and JavaScript is empty.
AttachedAssetsTest::testDynamicLibrary function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Dynamically defines an asset library and alters it.
AttachedAssetsTest::testHeaderHTML function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests JS assets depending on the 'core/<head>' virtual library.
AttachedAssetsTest::testLibraryAlter function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Adds a JavaScript library to the page and alters it.
AttachedAssetsTest::testLibraryNameConflicts function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests that multiple modules can implement libraries with the same name.
AttachedAssetsTest::testLibraryUnknown function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests non-existing libraries.
AttachedAssetsTest::testNoCache function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests that for assets with cache = FALSE, Drupal sets preprocess = FALSE.
AttachedAssetsTest::testRenderDifferentWeight function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests rendering the JavaScript with a file's weight above jQuery's.

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