Search for test

  1. Search 9.5.x for test
  2. Search 8.9.x for test
  3. Search 10.3.x for test
  4. Search 11.x for test
  5. Other projects
Title Object type File name Summary
FieldInstanceCrudTestCase::testCreateFieldInstance function modules/field/tests/field.test Test the creation of a field instance.
FieldInstanceCrudTestCase::testDeleteFieldInstance function modules/field/tests/field.test Test the deletion of a field instance.
FieldInstanceCrudTestCase::testReadFieldInstance function modules/field/tests/field.test Test reading back an instance definition.
FieldInstanceCrudTestCase::testUpdateFieldInstance function modules/field/tests/field.test Test the update of a field instance.
FieldSchemaAlterTestCase class modules/field/tests/field.test Tests that the field schema can be altered with hook_field_schema_alter().
FieldSchemaAlterTestCase::getInfo function modules/field/tests/field.test
FieldSchemaAlterTestCase::setUp function modules/field/tests/field.test Set the default field storage backend for fields created during tests.
FieldSchemaAlterTestCase::testImageFieldSchemaAlter function modules/field/tests/field.test Tests a hook_field_schema_alter() implementation.
FieldSqlStorageTestCase class modules/field/modules/field_sql_storage/field_sql_storage.test Tests field storage.
FieldSqlStorageTestCase::$field property modules/field/modules/field_sql_storage/field_sql_storage.test
FieldSqlStorageTestCase::$field_name property modules/field/modules/field_sql_storage/field_sql_storage.test
FieldSqlStorageTestCase::$instance property modules/field/modules/field_sql_storage/field_sql_storage.test
FieldSqlStorageTestCase::$revision_table property modules/field/modules/field_sql_storage/field_sql_storage.test
FieldSqlStorageTestCase::$table property modules/field/modules/field_sql_storage/field_sql_storage.test
FieldSqlStorageTestCase::getInfo function modules/field/modules/field_sql_storage/field_sql_storage.test
FieldSqlStorageTestCase::setUp function modules/field/modules/field_sql_storage/field_sql_storage.test Sets up a Drupal site for running functional and integration tests.
FieldSqlStorageTestCase::testFieldAttachInsertAndUpdate function modules/field/modules/field_sql_storage/field_sql_storage.test Reads mysql to verify correct data is
written when using insert and update.
FieldSqlStorageTestCase::testFieldAttachLoad function modules/field/modules/field_sql_storage/field_sql_storage.test Uses the mysql tables and records to verify
field_load_revision works correctly.
FieldSqlStorageTestCase::testFieldAttachSaveMissingData function modules/field/modules/field_sql_storage/field_sql_storage.test Tests insert and update with missing or NULL fields.
FieldSqlStorageTestCase::testFieldCompareDataModification function modules/field/modules/field_sql_storage/field_sql_storage.test Tests the expected return values of _field_sql_storage_write_compare().
FieldSqlStorageTestCase::testFieldSqlSchemaForEntityWithStringIdentifier function modules/field/modules/field_sql_storage/field_sql_storage.test Tests adding a field with an entity ID type of string.
FieldSqlStorageTestCase::testFieldSqlStorageForeignKeys function modules/field/modules/field_sql_storage/field_sql_storage.test Test foreign key support.
FieldSqlStorageTestCase::testFieldSqlStorageMultipleConditionsDifferentColumns function modules/field/modules/field_sql_storage/field_sql_storage.test Test handling multiple conditions on multiple columns of one field.
FieldSqlStorageTestCase::testFieldSqlStorageMultipleConditionsDifferentColumnsMultipleLanguages function modules/field/modules/field_sql_storage/field_sql_storage.test Test handling multiple conditions on multiple columns of one field for multiple languages.
FieldSqlStorageTestCase::testFieldSqlStorageMultipleConditionsSameColumn function modules/field/modules/field_sql_storage/field_sql_storage.test Test handling multiple conditions on one column of a field.
FieldSqlStorageTestCase::testFieldStorageDetails function modules/field/modules/field_sql_storage/field_sql_storage.test Test the storage details.
FieldSqlStorageTestCase::testFieldUpdateFailure function modules/field/modules/field_sql_storage/field_sql_storage.test Test that failure to create fields is handled gracefully.
FieldSqlStorageTestCase::testFieldUpdateIndexesWithData function modules/field/modules/field_sql_storage/field_sql_storage.test Test adding and removing indexes while data is present.
FieldSqlStorageTestCase::testUpdateFieldSchemaWithData function modules/field/modules/field_sql_storage/field_sql_storage.test Test trying to update a field with data.
FieldTestCase class modules/field/tests/field.test Parent class for Field API tests.
FieldTestCase::$default_storage property modules/field/tests/field.test
FieldTestCase::assertFieldValues function modules/field/tests/field.test Assert that a field has the expected values in an entity.
FieldTestCase::setUp function modules/field/tests/field.test Set the default field storage backend for fields created during tests.
FieldTestCase::_generateTestFieldValues function modules/field/tests/field.test Generate random values for a field_test field.
FieldTranslationsTestCase class modules/field/tests/field.test Unit test class for the multilanguage fields logic.
FieldTranslationsTestCase::$entity_type property modules/field/tests/field.test
FieldTranslationsTestCase::$field property modules/field/tests/field.test
FieldTranslationsTestCase::$field_name property modules/field/tests/field.test
FieldTranslationsTestCase::$instance property modules/field/tests/field.test
FieldTranslationsTestCase::checkTranslationRevisions function modules/field/tests/field.test Check if the field translation attached to the entity revision identified
by the passed arguments were correctly stored.
FieldTranslationsTestCase::getInfo function modules/field/tests/field.test
FieldTranslationsTestCase::setUp function modules/field/tests/field.test Set the default field storage backend for fields created during tests.
FieldTranslationsTestCase::testFieldAvailableLanguages function modules/field/tests/field.test Ensures that only valid values are returned by field_available_languages().
FieldTranslationsTestCase::testFieldDisplayLanguage function modules/field/tests/field.test Tests display language logic for translatable fields.
FieldTranslationsTestCase::testFieldFormTranslationRevisions function modules/field/tests/field.test Tests field translations when creating a new revision.
FieldTranslationsTestCase::testFieldInvoke function modules/field/tests/field.test Test the multilanguage logic of _field_invoke().
FieldTranslationsTestCase::testFieldInvokeMultiple function modules/field/tests/field.test Test the multilanguage logic of _field_invoke_multiple().
FieldTranslationsTestCase::testTranslatableFieldSaveLoad function modules/field/tests/field.test Test translatable fields storage/retrieval.
FieldUIAlterTestCase class modules/field_ui/field_ui.test Tests custom widget hooks and callbacks on the field administration pages.
FieldUIAlterTestCase::getInfo function modules/field_ui/field_ui.test

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