Search for assert
- Search 7.x for assert
- Search 9.5.x for assert
- Search 10.3.x for assert
- Search 11.x for assert
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
ConfigEntityImportTest::assertConfigUpdateImport | function | core/ |
Asserts that config entities are updated during import. |
ConfigEntityQueryTest::assertResults | function | core/ |
Asserts the results as expected regardless of order. |
ConfigTest::assertConfigDataEquals | function | core/ |
Asserts all config data equals $data provided. |
ConfigTest::assertOriginalConfigDataEquals | function | core/ |
Asserts all original config data equals $data provided. |
ConfigTest::assertOverriddenKeys | function | core/ |
Asserts that the correct keys are overridden. |
ConfigTranslationUiTest::assertDisabledTextarea | function | core/ |
Asserts that a textarea with a given ID has been disabled from editing. |
ConfirmFormTest::assertCancelLinkUrl | function | core/ |
Asserts that a cancel link is present pointing to the provided URL. |
ConnectionUnitTest::assertConnection | function | core/ |
Asserts that a connection ID exists. |
ConnectionUnitTest::assertNoConnection | function | core/ |
Asserts that a connection ID does not exist. |
ContactLinkTest::assertContactLinks | function | core/ |
Asserts whether certain users contact links appear on the page. |
ContentEntityTest::assertIds | function | core/ |
Helper to assert IDs structure. |
ContentModerationStateStorageSchemaTest::assertStorageException | function | core/ |
Assert if a storage exception is triggered when saving a given entity. |
ContentModerationStateTest::assertDefaultRevision | function | core/ |
Checks the default revision ID and publishing status for an entity. |
ContentModerationTest::assertAllMedia | function | core/ |
Asserts all media items are visible. |
ContentModerationTest::assertOnlyPublishedMedia | function | core/ |
Asserts only published media items are visible. |
ContentPreviewToggleTest::assertContextualLinks | function | core/ |
Checks if contextual links are working properly. |
ContentPreviewToggleTest::assertOrderInPage | function | core/ |
Asserts that blocks in a given order in the page. |
ContentTranslationFieldSyncRevisionTest::assertLatestRevisionFieldValues | function | core/ |
Asserts that the latest revision has the expected field values. |
ContentTranslationFieldSyncRevisionTest::assertViolations | function | core/ |
Asserts that the expected violations were found. |
ContentTranslationOutdatedRevisionTranslationTest::assertFlagWidget | function | core/ |
Checks whether the flag widget is displayed. |
ContentTranslationSettingsTest::assertSettings | function | core/ |
Asserts that translatability has the expected value for the given bundle. |
ContentTranslationWorkflowsTest::assertNoSharedElements | function | core/ |
Assert that the current page does not contain shared form elements. |
ContextualDynamicContextTest::assertContextualLinkPlaceHolder | function | core/ |
Asserts that a contextual link placeholder with the given id exists. |
ContextualDynamicContextTest::assertNoContextualLinkPlaceHolder | function | core/ |
Asserts that a contextual link placeholder with the given id does not exist. |
ContextualLinksTest::assertCorrectContextualLinksInNode | function | core/ |
Asserts the contextual links are correct on the canonical entity route. |
ContextualLinksTest::assertCorrectContextualLinksInUi | function | core/ |
Asserts the contextual links are correct in Layout Builder UI. |
ControllerResolverTest::assertCallableController | function | core/ |
Asserts that the controller is callable and produces the correct output. |
CookieResourceTestTrait::assertAuthenticationEdgeCases | function | core/ |
|
CookieResourceTestTrait::assertResponseWhenMissingAuthentication | function | core/ |
|
DateTimePlusTest::assertDateTimestamp | function | core/ |
Assertion helper for testTimestamp and testDateTimestamp since they need different dataProviders. |
DbLogResourceTest::assertNormalizationEdgeCases | function | core/ |
Asserts normalization-specific edge cases. |
DbLogTest::assertLogMessage | function | core/ |
Confirms that a log message appears on the database log overview screen. |
DefaultContentModerationStateRevisionUpdateTest::assertCompositeEntityMatchesDefaultRevisionId | function | core/ |
Assert for the given entity, the default revision ID matches. |
DefaultRevisionStateTest::assertModerationState | function | core/ |
Verifies the expected moderation state revision exists. |
DemoUmamiProfileTest::assertDefaultConfig | function | core/ |
Asserts that the default configuration matches active configuration. |
DeprecatedClassesTest::assertDeprecatedConstructorParameter | function | core/ |
Test that deprecation for the \Drupal\Core\Path\AliasManagerInterface. |
DeprecatedServicesTest::assertServiceClass | function | core/ |
Asserts that the specified service is implemented by the expected class. |
DeprecatedServicesTest::assertSharedProperty | function | core/ |
Asserts that a shared property has the expected value. |
DestinationCategoryTest::assertCategories | function | core/ |
Asserts that all migrations are tagged as either Configuration or Content. |
DiffEngine::USE_ASSERTS | constant | core/ |
|
DiscoveryTestBase::assertDefinitionIdentical | function | core/ |
Asserts a definition against an expected definition. |
DisplayPageWebTest::assertPagePath | function | core/ |
Tests that we can successfully change a view page display path. |
DrupalComponentTest::assertNoCoreUsage | function | core/ |
Asserts that the given class is not using any class from Core namespace. |
DrupalComponentTest::providerAssertNoCoreUseage | function | core/ |
Data provider for testAssertNoCoreUseage(). |
DrupalComponentTest::testAssertNoCoreUseage | function | core/ |
@covers \Drupal\Tests\Component\DrupalComponentTest::assertNoCoreUsage @dataProvider providerAssertNoCoreUseage |
EditModeTest::assertAnnounceEditMode | function | core/ |
Asserts that the correct message was announced when entering edit mode. |
EditModeTest::assertAnnounceLeaveEditMode | function | core/ |
Assert that the correct message was announced when leaving edit mode. |
EditorUploadImageScaleTest::assertSavedMaxDimensions | function | core/ |
Asserts whether the saved maximum dimensions equal the ones provided. |
EntityAccessControlHandlerTest::assertEntityAccess | function | core/ |
Asserts entity access correctly grants or denies access. |
EntityApiTest::assertCRUD | function | core/ |
Executes a test set for a defined entity type and user. |
Pagination
- Previous page
- Page 7
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.