18 calls to TestBase::fail()
- ConfigAfterInstallerTestBase::assertInstalledConfig in core/
modules/ system/ src/ Tests/ Installer/ ConfigAfterInstallerTestBase.php - Ensures that all the installed config looks like the exported one.
- GenericCacheBackendUnitTestBase::testSetGet in core/
modules/ system/ src/ Tests/ Cache/ GenericCacheBackendUnitTestBase.php - Tests the get and set methods of Drupal\Core\Cache\CacheBackendInterface.
- GenericCacheBackendUnitTestBase::testSetMultiple in core/
modules/ system/ src/ Tests/ Cache/ GenericCacheBackendUnitTestBase.php - Tests \Drupal\Core\Cache\CacheBackendInterface::setMultiple().
- KernelTestBase::installEntitySchema in core/
modules/ simpletest/ src/ KernelTestBase.php - Installs the storage schema for a specific entity type.
- KernelTestBase::setUp in core/
modules/ simpletest/ src/ KernelTestBase.php - Performs setup tasks before each individual test method is run.
- KernelTestBaseTest::testInstallConfig in core/
modules/ simpletest/ src/ Tests/ KernelTestBaseTest.php - Tests expected behavior of installConfig().
- KernelTestBaseTest::testInstallSchema in core/
modules/ simpletest/ src/ Tests/ KernelTestBaseTest.php - Tests expected behavior of installSchema().
- MissingCheckedRequirementsTest::testCheckRequirements in core/
modules/ simpletest/ src/ Tests/ MissingCheckedRequirementsTest.php - Ensures test will not run when requirements are missing.
- SearchTestBase::submitGetForm in core/
modules/ search/ src/ Tests/ SearchTestBase.php - Simulates submission of a form using GET instead of POST.
- SimpleTestTest::asText in core/
modules/ simpletest/ src/ Tests/ SimpleTestTest.php - Extract the text contained by the element.
- SimpleTestTest::stubTest in core/
modules/ simpletest/ src/ Tests/ SimpleTestTest.php - Test to be run and the results confirmed.
- SkipRequiredModulesTest::testModuleNotFound in core/
modules/ simpletest/ src/ Tests/ SkipRequiredModulesTest.php - TestBase::checkTestHierarchyMismatch in core/
modules/ simpletest/ src/ TestBase.php - Fail the test if it belongs to a PHPUnit-based framework.
- TourTestBase::assertTourTips in core/
modules/ tour/ src/ Tests/ TourTestBase.php - Assert function to determine if tips rendered to the page have a corresponding page element.
- UpdatePathTestBase::runDbTasks in core/
modules/ system/ src/ Tests/ Update/ UpdatePathTestBase.php - Runs the install database tasks for the driver used by the test runner.
- UpdatePathTestBase::runUpdates in core/
modules/ system/ src/ Tests/ Update/ UpdatePathTestBase.php - Helper function to run pending database updates.
- WebTestBase::clickLinkHelper in core/
modules/ simpletest/ src/ WebTestBase.php - Provides a helper for ::clickLink() and ::clickLinkPartialName().
- WebTestBase::drupalPostForm in core/
modules/ simpletest/ src/ WebTestBase.php - Executes a form submission.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.