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