You are here

39 calls to TestBase::assertEqual() in Drupal 8

AggregatorTestBase::updateFeedItems in core/modules/aggregator/src/Tests/AggregatorTestBase.php
Updates the feed items.
BlockContentTestBase::createBlockContent in core/modules/block_content/src/Tests/Views/BlockContentTestBase.php
Creates a custom block.
BlockContentTestBase::createBlockContentType in core/modules/block_content/src/Tests/Views/BlockContentTestBase.php
Creates a custom block type (bundle).
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.
BrowserTest::testGetAbsoluteUrl in core/modules/simpletest/src/Tests/BrowserTest.php
Test \Drupal\simpletest\WebTestBase::getAbsoluteUrl().
BrowserTest::testXPathEscaping in core/modules/simpletest/src/Tests/BrowserTest.php
Tests XPath escaping.
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::doTestChangedTimeAfterSaveWithoutChanges in core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php
Test the changed time after API and FORM save without changes.
ContentTranslationUITestBase::doTestTranslationChanged in core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php
Tests the basic translation workflow.
ContentTranslationUITestBase::doTestTranslationOverview in core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php
Tests that the translation overview shows the correct values.
EntityCacheTagsTestBase::testReferencedEntity in core/modules/system/src/Tests/Entity/EntityCacheTagsTestBase.php
Tests cache tags presence and invalidation of the entity when referenced.
FieldTestBase::assertFieldValues in core/modules/field/src/Tests/FieldTestBase.php
Assert that a field has the expected values in an entity.
FileFieldTestBase::assertFileEntryExists in core/modules/file/src/Tests/FileFieldTestBase.php
Asserts that a file exists in the database.
FileManagedTestBase::assertFileHookCalled in core/modules/file/src/Tests/FileManagedTestBase.php
Assert that a hook_file_* hook was called a certain number of times.
FileManagedTestBase::assertFileUnchanged in core/modules/file/src/Tests/FileManagedTestBase.php
Asserts that two files have the same values (except timestamp).
FileManagedTestBase::assertSameFile in core/modules/file/src/Tests/FileManagedTestBase.php
Asserts that two files are the same by comparing the fid and filepath.
GenericCacheBackendUnitTestBase::testGetMultiple in core/modules/system/src/Tests/Cache/GenericCacheBackendUnitTestBase.php
Tests Drupal\Core\Cache\CacheBackendInterface::getMultiple().
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::testEnableModulesFixedList in core/modules/simpletest/src/Tests/KernelTestBaseTest.php
Tests that the module list is retained after enabling/installing/disabling.
KernelTestBaseTest::testNoThemeByDefault in core/modules/simpletest/src/Tests/KernelTestBaseTest.php
Tests that there is no theme by default.
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::assertModules in core/modules/system/src/Tests/Module/ModuleTestBase.php
Assert the list of modules are enabled or disabled.
NodeTestBase::assertNodeAccess in core/modules/node/src/Tests/NodeTestBase.php
Asserts that node access correctly grants or denies access.
NodeTestBase::assertNodeCreateAccess in core/modules/node/src/Tests/NodeTestBase.php
Asserts that node create access correctly grants or denies access.
PageCacheTagsTestBase::verifyPageCache in core/modules/system/src/Tests/Cache/PageCacheTagsTestBase.php
Verify that when loading a given page, it's a page cache hit or miss.
RESTTestBase::assertResponse in core/modules/rest/src/Tests/RESTTestBase.php
Asserts the page responds with the specified response code.
SimpleTestBrowserTest::testInternalBrowser in core/modules/simpletest/src/Tests/SimpleTestBrowserTest.php
Test the internal browsers functionality.
SimpleTestErrorCollectorTest::assertError in core/modules/simpletest/src/Tests/SimpleTestErrorCollectorTest.php
Asserts that a collected error matches what we are expecting.
SimpleTestErrorCollectorTest::testErrorCollect in core/modules/simpletest/src/Tests/SimpleTestErrorCollectorTest.php
Tests that simpletest collects errors from the tested site.
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.
SystemConfigFormTestBase::testConfigForm in core/modules/system/src/Tests/System/SystemConfigFormTestBase.php
Submit the system_config_form ensure the configuration has expected values.
TimeZoneTest::testAccountTimeZones in core/modules/simpletest/src/Tests/TimeZoneTest.php
Tests that user accounts have the default time zone set.
UiPhpUnitOutputTest::testOutput in core/modules/simpletest/src/Tests/UiPhpUnitOutputTest.php
Tests that PHPUnit output in the Simpletest UI looks good.
WebTestBase::assertUrl in core/modules/simpletest/src/WebTestBase.php
Passes if the internal browser's URL matches the given path.