Search for assert

  1. Search 7.x for assert
  2. Search 9.5.x for assert
  3. Search 8.9.x for assert
  4. Search 10.3.x for assert
  5. Other projects
Title Object type File name Summary
FieldableEntityDefinitionUpdateTest::assertEntityData function core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php Asserts test entity data after a fieldable entity type update.
FieldableEntityDefinitionUpdateTest::assertEntityTypeSchema function core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php Asserts revisionable and/or translatable characteristics of an entity type.
FieldableEntityDefinitionUpdateTest::assertNonRevisionableAndNonTranslatable function core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php Asserts that an entity type is neither revisionable nor translatable.
FieldableEntityDefinitionUpdateTest::assertRevisionable function core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php Asserts the revisionable characteristics of an entity type.
FieldableEntityDefinitionUpdateTest::assertRevisionableAndTranslatable function core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php Asserts the revisionable / translatable characteristics of an entity type.
FieldableEntityDefinitionUpdateTest::assertTranslatable function core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php Asserts the translatable characteristics of an entity type.
FieldDateTest::assertRenderedDatesEqual function core/modules/views/tests/src/Kernel/Handler/FieldDateTest.php Asserts properly formatted display against 'created' field in view.
FieldDateTest::assertRenderedFutureDatesEqual function core/modules/views/tests/src/Kernel/Handler/FieldDateTest.php Asserts properly formatted display against 'destroyed' field in view.
FieldDiscoveryTestTrait::assertFieldProcess function core/modules/migrate_drupal/tests/src/Traits/FieldDiscoveryTestTrait.php Asserts the field discovery returns the expected processes.
FieldDiscoveryTestTrait::assertFieldProcessKeys function core/modules/migrate_drupal/tests/src/Traits/FieldDiscoveryTestTrait.php Asserts the field discovery returns the expected processes.
FieldDiscoveryTestTrait::assertSourcePlugin function core/modules/migrate_drupal/tests/src/Traits/FieldDiscoveryTestTrait.php Asserts a migrate source plugin.
FieldEntityTranslationTest::assertRows function core/modules/views/tests/src/Functional/Entity/FieldEntityTranslationTest.php Ensures that the rendered results are working as expected.
FieldFieldAccessTestBase::assertFieldAccess function core/modules/views/tests/src/Kernel/Handler/FieldFieldAccessTestBase.php Checks views field access for a given entity type and field name.
FieldItemTest::assertSavedFieldItemValue function core/tests/Drupal/KernelTests/Core/Field/FieldItemTest.php Checks that the saved field item value matches the expected one.
FieldKernelTest::assertNotSubString function core/modules/views/tests/src/Kernel/Handler/FieldKernelTest.php Asserts that a string is not part of another string.
FieldKernelTest::assertSubString function core/modules/views/tests/src/Kernel/Handler/FieldKernelTest.php Asserts that a string is part of another string.
FieldKernelTestBase::assertFieldValues function core/modules/field/tests/src/Kernel/FieldKernelTestBase.php Assert that a field has the expected values in an entity.
FieldLayoutEntityDisplayTest::assertEntityValues function core/modules/field_layout/tests/src/Kernel/FieldLayoutEntityDisplayTest.php Asserts than an entity has the correct values.
FieldLayoutTest::assertFieldInRegion function core/modules/field_layout/tests/src/FunctionalJavascript/FieldLayoutTest.php Asserts that a field exists in a given region.
FieldRenderedEntityTest::assertCacheabilityMetadata function core/modules/views/tests/src/Kernel/Handler/FieldRenderedEntityTest.php Ensures that the expected cacheability metadata is applied.
FieldRenderedEntityTest::assertConfigDependencies function core/modules/views/tests/src/Kernel/Handler/FieldRenderedEntityTest.php Ensures that the config dependencies are calculated the right way.
FieldRenderedEntityTranslationTest::assertRows function core/modules/views/tests/src/Functional/Entity/FieldRenderedEntityTranslationTest.php Ensures that the rendered results are working as expected.
FieldStorageConfigAccessControlHandlerTest::assertAllowOperations function core/modules/field/tests/src/Unit/FieldStorageConfigAccessControlHandlerTest.php Assert method to verify the access by operations.
FieldTestBase::assertFieldValues function core/modules/field/tests/src/Functional/FieldTestBase.php Assert that a field has the expected values in an entity.
FieldTranslationSqlStorageTest::assertFieldStorageLangcode function core/tests/Drupal/KernelTests/Core/Entity/FieldTranslationSqlStorageTest.php Checks whether field languages are correctly stored for the given entity.
FieldUIRouteTest::assertLocalTasks function core/modules/field_ui/tests/src/Functional/FieldUIRouteTest.php Asserts that local tasks exists.
FieldUiTestTrait::assertFieldDoesNotExist function core/modules/field_ui/tests/src/Traits/FieldUiTestTrait.php Asserts that the field doesn't exist in the overview form.
FieldUiTestTrait::assertFieldDoesNotExistOnOverview function core/modules/field_ui/tests/src/Traits/FieldUiTestTrait.php Asserts that the field does not appear on the overview form.
FieldUiTestTrait::assertFieldExistsOnOverview function core/modules/field_ui/tests/src/Traits/FieldUiTestTrait.php Asserts that the field appears on the overview form.
FieldUiTestTrait::assertTableHeaderExistsByLabel function core/modules/field_ui/tests/src/Traits/FieldUiTestTrait.php Asserts that a header cell appears on a table.
FieldWebTest::assertNotSubString function core/modules/views/tests/src/Functional/Handler/FieldWebTest.php Assertion helper which checks whether a string is not part of another string.
FieldWebTest::assertSubString function core/modules/views/tests/src/Functional/Handler/FieldWebTest.php Assertion helper which checks whether a string is part of another string.
FileCopyTest::assertPlugin function core/modules/migrate/tests/src/Unit/process/FileCopyTest.php Creates a TestFileCopy process plugin.
FileFieldPathTest::assertPathMatch function core/modules/file/tests/src/Functional/FileFieldPathTest.php Asserts that a file is uploaded to the right location.
FileFieldTestBase::assertFileEntryExists function core/modules/file/tests/src/Functional/FileFieldTestBase.php Asserts that a file exists in the database.
FileFieldTestBase::assertFileEntryNotExists function core/modules/file/tests/src/Functional/FileFieldTestBase.php Asserts that a file does not exist in the database.
FileFieldTestBase::assertFileIsPermanent function core/modules/file/tests/src/Functional/FileFieldTestBase.php Asserts that a file's status is set to permanent in the database.
FileManagedTestBase::assertDifferentFile function core/modules/file/tests/src/Functional/FileManagedTestBase.php Asserts that two files are not the same by comparing the fid and filepath.
FileManagedTestBase::assertFileHookCalled function core/modules/file/tests/src/Functional/FileManagedTestBase.php Assert that a hook_file_* hook was called a certain number of times.
FileManagedTestBase::assertFileHooksCalled function core/modules/file/tests/src/Functional/FileManagedTestBase.php Asserts that the specified file hooks were called only once.
FileManagedTestBase::assertFileUnchanged function core/modules/file/tests/src/Functional/FileManagedTestBase.php Asserts that two files have the same values (except timestamp).
FileManagedTestBase::assertSameFile function core/modules/file/tests/src/Functional/FileManagedTestBase.php Asserts that two files are the same by comparing the fid and filepath.
FileManagedUnitTestBase::assertDifferentFile function core/modules/file/tests/src/Kernel/FileManagedUnitTestBase.php Asserts that two files are not the same by comparing the fid and filepath.
FileManagedUnitTestBase::assertFileHookCalled function core/modules/file/tests/src/Kernel/FileManagedUnitTestBase.php Assert that a hook_file_* hook was called a certain number of times.
FileManagedUnitTestBase::assertFileHooksCalled function core/modules/file/tests/src/Kernel/FileManagedUnitTestBase.php Asserts that the specified file hooks were called only once.
FileManagedUnitTestBase::assertFileUnchanged function core/modules/file/tests/src/Kernel/FileManagedUnitTestBase.php Asserts that two files have the same values (except timestamp).
FileManagedUnitTestBase::assertSameFile function core/modules/file/tests/src/Kernel/FileManagedUnitTestBase.php Asserts that two files are the same by comparing the fid and filepath.
FileMigrationSetupTrait::assertEntity function core/modules/file/tests/src/Kernel/Migrate/d7/FileMigrationSetupTrait.php Tests a single file entity.
FileSystemTest::assertFilePermissions function core/tests/Drupal/Tests/Core/File/FileSystemTest.php Asserts that the file permissions of a given URI matches.
FileTestBase::assertDirectoryPermissions function core/tests/Drupal/KernelTests/Core/File/FileTestBase.php Helper function to test the permissions of a directory.

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