58 calls to TestBase::assertTrue() in Drupal 8
- AggregatorTestBase::updateAndDelete in core/
modules/ aggregator/ src/ Tests/ AggregatorTestBase.php - Adds and deletes feed items and ensure that the count is zero.
- AjaxTestBase::assertCommand in core/
modules/ system/ src/ Tests/ Ajax/ AjaxTestBase.php - Asserts the array of Ajax commands contains the searched command.
- BrowserTest::testCookieDoesNotBleed in core/
modules/ simpletest/ src/ Tests/ BrowserTest.php - Tests that the cookies from a previous test do not bleed into a new test.
- BrowserTest::testCookies in core/
modules/ simpletest/ src/ Tests/ BrowserTest.php - Tests that cookies set during a request are available for testing.
- CacheTestBase::assertCacheExists in core/
modules/ system/ src/ Tests/ Cache/ CacheTestBase.php - Asserts that a cache entry exists.
- CommentTestBase::postComment in core/
modules/ comment/ src/ Tests/ CommentTestBase.php - Posts a comment.
- ContentTranslationUITestBase::doTestAuthoringInfo in core/
modules/ content_translation/ src/ Tests/ ContentTranslationUITestBase.php - Tests the translation authoring information.
- ContentTranslationUITestBase::doTestBasicTranslation in core/
modules/ content_translation/ src/ Tests/ ContentTranslationUITestBase.php - Tests the basic translation workflow.
- ContentTranslationUITestBase::doTestOutdatedStatus in core/
modules/ content_translation/ src/ Tests/ ContentTranslationUITestBase.php - Tests up-to-date status tracking.
- ContentTranslationUITestBase::doTestTranslationDeletion in core/
modules/ content_translation/ src/ Tests/ ContentTranslationUITestBase.php - Tests translation deletion.
- EntityCacheTagsTestBase::verifyRenderCache in core/
modules/ system/ src/ Tests/ Entity/ EntityCacheTagsTestBase.php - Verify that a given render cache entry exists, with the correct cache tags.
- FileFieldTestBase::assertFileExists in core/
modules/ file/ src/ Tests/ FileFieldTestBase.php - Asserts that a file exists physically on disk.
- FileFieldTestBase::assertFileIsPermanent in core/
modules/ file/ src/ Tests/ FileFieldTestBase.php - Asserts that a file's status is set to permanent in the database.
- FileManagedTestBase::assertFileHooksCalled in core/
modules/ file/ src/ Tests/ FileManagedTestBase.php - Assert that all of the specified hook_file_* hooks were called once, other values result in failure.
- FileManagedTestBase::createFile in core/
modules/ file/ src/ Tests/ FileManagedTestBase.php - Create a file and save it to the files table and assert that it occurs correctly.
- FileManagedTestBase::createUri in core/
modules/ file/ src/ Tests/ FileManagedTestBase.php - Creates a file and returns its URI.
- GenericCacheBackendUnitTestBase::testDeleteAll in core/
modules/ system/ src/ Tests/ Cache/ GenericCacheBackendUnitTestBase.php - Test Drupal\Core\Cache\CacheBackendInterface::deleteAll().
- GenericCacheBackendUnitTestBase::testGetMultiple in core/
modules/ system/ src/ Tests/ Cache/ GenericCacheBackendUnitTestBase.php - Tests Drupal\Core\Cache\CacheBackendInterface::getMultiple().
- GenericCacheBackendUnitTestBase::testInvalidateAll in core/
modules/ system/ src/ Tests/ Cache/ GenericCacheBackendUnitTestBase.php - Test Drupal\Core\Cache\CacheBackendInterface::invalidateAll().
- GenericCacheBackendUnitTestBase::testInvalidateTags in core/
modules/ system/ src/ Tests/ Cache/ GenericCacheBackendUnitTestBase.php - Tests Drupal\Core\Cache\CacheBackendInterface::invalidateTags().
- GenericCacheBackendUnitTestBase::testRemoveBin in core/
modules/ system/ src/ Tests/ Cache/ GenericCacheBackendUnitTestBase.php - Tests Drupal\Core\Cache\CacheBackendInterface::removeBin().
- 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().
- KernelTestBaseTest::run in core/
modules/ simpletest/ src/ Tests/ KernelTestBaseTest.php - Run all tests in this class.
- KernelTestBaseTest::testEnableModulesFixedList in core/
modules/ simpletest/ src/ Tests/ KernelTestBaseTest.php - Tests that the module list is retained after enabling/installing/disabling.
- KernelTestBaseTest::testEnableModulesInstall in core/
modules/ simpletest/ src/ Tests/ KernelTestBaseTest.php - Tests expected installation behavior of enableModules().
- KernelTestBaseTest::testEnableModulesLoad in core/
modules/ simpletest/ src/ Tests/ KernelTestBaseTest.php - Tests expected load behavior of enableModules().
- KernelTestBaseTest::testEnableModulesTheme in core/
modules/ simpletest/ src/ Tests/ KernelTestBaseTest.php - Tests that ThemeManager works right after loading a module.
- KernelTestBaseTest::testInstallConfig in core/
modules/ simpletest/ src/ Tests/ KernelTestBaseTest.php - Tests expected behavior of installConfig().
- KernelTestBaseTest::testInstallEntitySchema in core/
modules/ simpletest/ src/ Tests/ KernelTestBaseTest.php - Tests expected behavior of installEntitySchema().
- KernelTestBaseTest::testInstallSchema in core/
modules/ simpletest/ src/ Tests/ KernelTestBaseTest.php - Tests expected behavior of installSchema().
- KernelTestBaseTest::testSetUp in core/
modules/ simpletest/ src/ Tests/ KernelTestBaseTest.php - Tests expected behavior of setUp().
- MenuWebTestBase::assertMenuLink in core/
modules/ menu_ui/ src/ Tests/ MenuWebTestBase.php - Fetches the menu item from the database and compares it to expected item.
- ModuleTestBase::assertLogMessage in core/
modules/ system/ src/ Tests/ Module/ ModuleTestBase.php - Verify a log entry was entered for a module's status change.
- ModuleTestBase::assertModuleConfig in core/
modules/ system/ src/ Tests/ Module/ ModuleTestBase.php - Asserts that the default configuration of a module has been installed.
- ModuleTestBase::assertModuleTablesExist in core/
modules/ system/ src/ Tests/ Module/ ModuleTestBase.php - Assert that all tables defined in a module's hook_schema() exist.
- ModuleTestBase::assertTableCount in core/
modules/ system/ src/ Tests/ Module/ ModuleTestBase.php - Assert there are tables that begin with the specified base table name.
- SearchTestBase::submitGetForm in core/
modules/ search/ src/ Tests/ SearchTestBase.php - Simulates submission of a form using GET instead of POST.
- SimpleTestBrowserTest::testInternalBrowser in core/
modules/ simpletest/ src/ Tests/ SimpleTestBrowserTest.php - Test the internal browsers functionality.
- SimpleTestBrowserTest::testUserAgentValidation in core/
modules/ simpletest/ src/ Tests/ SimpleTestBrowserTest.php - Test validation of the User-Agent header we use to perform test requests.
- SimpleTestTest::assertAssertion in core/
modules/ simpletest/ src/ Tests/ SimpleTestTest.php - Asserts that an assertion with specified values is displayed in results.
- SimpleTestTest::confirmStubTestResults in core/
modules/ simpletest/ src/ Tests/ SimpleTestTest.php - Confirm that the stub test produced the desired results.
- SimpleTestTest::stubTest in core/
modules/ simpletest/ src/ Tests/ SimpleTestTest.php - Test to be run and the results confirmed.
- SimpleTestTest::testWebTestRunner in core/
modules/ simpletest/ src/ Tests/ SimpleTestTest.php - Ensures the tests selected through the web interface are run and displayed.
- SystemConfigFormTestBase::testConfigForm in core/
modules/ system/ src/ Tests/ System/ SystemConfigFormTestBase.php - Submit the system_config_form ensure the configuration has expected values.
- TestBase::assertErrorLogged in core/
modules/ simpletest/ src/ TestBase.php - Asserts that a specific error has been logged to the PHP error log.
- TestBase::assertIdenticalObject in core/
modules/ simpletest/ src/ TestBase.php - Checks to see if two objects are identical.
- ToolkitTestBase::assertToolkitOperationsCalled in core/
modules/ system/ src/ Tests/ Image/ ToolkitTestBase.php - Assert that all of the specified image toolkit operations were called exactly once once, other values result in failure.
- ToolkitTestBase::getImage in core/
modules/ system/ src/ Tests/ Image/ ToolkitTestBase.php - Sets up an image with the custom toolkit.
- 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.
- UITestBase::drupalGet in core/
modules/ views_ui/ src/ Tests/ UITestBase.php - Retrieves a Drupal path or an absolute path.
- WebTestBase::assertBlockAppears in core/
modules/ simpletest/ src/ WebTestBase.php - Checks to see whether a block appears on the page.
- WebTestBase::assertCacheTag in core/
modules/ simpletest/ src/ WebTestBase.php - Asserts whether an expected cache tag was present in the last response.
- WebTestBase::assertHeader in core/
modules/ simpletest/ src/ WebTestBase.php - Check if a HTTP response header exists and has the expected value.
- WebTestBase::assertResponse in core/
modules/ simpletest/ src/ WebTestBase.php - Asserts the page responds with the specified response code.
- WebTestBase::curlExec in core/
modules/ simpletest/ src/ WebTestBase.php - Initializes and executes a cURL request.
- WebTestBase::drupalPostForm in core/
modules/ simpletest/ src/ WebTestBase.php - Executes a form submission.
- WebTestBaseInstallTest::testInstall in core/
modules/ simpletest/ src/ Tests/ WebTestBaseInstallTest.php - Tests the Drupal install done in \Drupal\simpletest\WebTestBase::setUp().