Search for Unit
- Search 7.x for Unit
- Search 9.5.x for Unit
- Search 8.9.x for Unit
- Search 11.x for Unit
- Search main for Unit
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| FieldConfigEntityUnitTest | class | core/ |
@coversDefaultClass \Drupal\field\Entity\FieldConfig[[api-linebreak]] @group field |
| FieldConfigEntityUnitTest.php | file | core/ |
|
| FieldConfigEntityUnitTest::$entityFieldManager | property | core/ |
The entity field manager used for testing. |
| FieldConfigEntityUnitTest::$entityType | property | core/ |
The entity type used for testing. |
| FieldConfigEntityUnitTest::$entityTypeId | property | core/ |
The ID of the type of the entity under test. |
| FieldConfigEntityUnitTest::$entityTypeManager | property | core/ |
The entity type manager used for testing. |
| FieldConfigEntityUnitTest::$fieldStorage | property | core/ |
The mock field storage. |
| FieldConfigEntityUnitTest::$fieldTypePluginManager | property | core/ |
The mock field type plugin manager. |
| FieldConfigEntityUnitTest::$uuid | property | core/ |
The UUID generator used for testing. |
| FieldConfigEntityUnitTest::setUp | function | core/ |
|
| FieldConfigEntityUnitTest::testCalculateDependencies | function | core/ |
@covers ::calculateDependencies[[api-linebreak]] |
| FieldConfigEntityUnitTest::testCalculateDependenciesIncorrectBundle | function | core/ |
Tests that invalid bundles are handled. |
| FieldConfigEntityUnitTest::testGetType | function | core/ |
@covers ::getType[[api-linebreak]] |
| FieldConfigEntityUnitTest::testOnDependencyRemoval | function | core/ |
@covers ::onDependencyRemoval[[api-linebreak]] |
| FieldConfigEntityUnitTest::testToArray | function | core/ |
@covers ::toArray[[api-linebreak]] |
| FieldInstanceSettings::convertSizeUnit | function | core/ |
Convert file size strings into their D8 format. |
| FieldStorageConfigEntityUnitTest | class | core/ |
@coversDefaultClass \Drupal\field\Entity\FieldStorageConfig[[api-linebreak]] |
| FieldStorageConfigEntityUnitTest.php | file | core/ |
|
| FieldStorageConfigEntityUnitTest::$entityTypeId | property | core/ |
The ID of the type of the entity under test. |
| FieldStorageConfigEntityUnitTest::$entityTypeManager | property | core/ |
The entity type manager used for testing. |
| FieldStorageConfigEntityUnitTest::$fieldTypeManager | property | core/ |
The field type manager. |
| FieldStorageConfigEntityUnitTest::$uuid | property | core/ |
The UUID generator used for testing. |
| FieldStorageConfigEntityUnitTest::providerInvalidEnforcedCardinality | function | core/ |
Data provider for ::testInvalidEnforcedCardinality() |
| FieldStorageConfigEntityUnitTest::setUp | function | core/ |
|
| FieldStorageConfigEntityUnitTest::testCalculateDependencies | function | core/ |
@covers ::calculateDependencies[[api-linebreak]] |
| FieldStorageConfigEntityUnitTest::testEnforcedCardinality | function | core/ |
Tests enforced cardinality. |
| FieldStorageConfigEntityUnitTest::testInvalidEnforcedCardinality | function | core/ |
Tests invalid enforced cardinality. |
| FieldStorageConfigEntityUnitTest::testStoredCardinality | function | core/ |
Tests stored cardinality. |
| FileManagedUnitTestBase | class | core/ |
Provides a base class for testing file uploads and hook invocations. |
| FileManagedUnitTestBase.php | file | core/ |
|
| FileManagedUnitTestBase::$modules | property | core/ |
Modules to install. |
| FileManagedUnitTestBase::assertDifferentFile | function | core/ |
Asserts that two files are not the same by comparing the fid and filepath. |
| FileManagedUnitTestBase::assertFileHookCalled | function | core/ |
Assert that a hook_file_* hook was called a certain number of times. |
| FileManagedUnitTestBase::assertFileHooksCalled | function | core/ |
Asserts that the specified file hooks were called only once. |
| FileManagedUnitTestBase::assertFileUnchanged | function | core/ |
Asserts that two files have the same values (except timestamp). |
| FileManagedUnitTestBase::assertSameFile | function | core/ |
Asserts that two files are the same by comparing the fid and filepath. |
| FileManagedUnitTestBase::createFile | function | core/ |
Creates and saves a file, asserting that it was saved. |
| FileManagedUnitTestBase::createUri | function | core/ |
Creates a file and returns its URI. |
| FileManagedUnitTestBase::setUp | function | core/ |
|
| GenericCacheBackendUnitTestBase | class | core/ |
Tests any cache backend. |
| GenericCacheBackendUnitTestBase.php | file | core/ |
|
| GenericCacheBackendUnitTestBase::$cacheBackends | property | core/ |
Array of objects implementing Drupal\Core\Cache\CacheBackendInterface. |
| GenericCacheBackendUnitTestBase::$defaultValue | property | core/ |
Random value to use in tests. |
| GenericCacheBackendUnitTestBase::$testBin | property | core/ |
Cache bin to use for testing. |
| GenericCacheBackendUnitTestBase::createCacheBackend | function | core/ |
Creates a cache backend to test. |
| GenericCacheBackendUnitTestBase::getCacheBackend | function | core/ |
Gets a backend to test; this will get a shared instance set in the object. |
| GenericCacheBackendUnitTestBase::getTestBin | function | core/ |
Gets the testing bin. |
| GenericCacheBackendUnitTestBase::setUp | function | core/ |
|
| GenericCacheBackendUnitTestBase::setUpCacheBackend | function | core/ |
Allows specific implementation to change the environment before a test run. |
| GenericCacheBackendUnitTestBase::tearDown | function | core/ |
Pagination
- Previous page
- Page 8
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.