47 calls to TestBase::assert()
- AggregatorRenderingTest::testBlockLinks in drupal/core/modules/aggregator/lib/Drupal/aggregator/Tests/AggregatorRenderingTest.php
- Add a feed block to the page and checks its links.
- AlterTest::testExecutionOrder in drupal/core/modules/system/lib/Drupal/system/Tests/Form/AlterTest.php
- Tests execution order of hook_form_alter() and hook_form_FORM_ID_alter().
- BackendChainImplementationUnitTest::testGetMultiple in drupal/core/modules/system/lib/Drupal/system/Tests/Cache/BackendChainImplementationUnitTest.php
- Test the get multiple feature.
- BackendChainImplementationUnitTest::testNotEmptyIfOneBackendHasTheKey in drupal/core/modules/system/lib/Drupal/system/Tests/Cache/BackendChainImplementationUnitTest.php
- Test that the chain is not empty when at least one backend has data.
- CascadingStylesheetsTest::testAlter in drupal/core/modules/system/lib/Drupal/system/Tests/Common/CascadingStylesheetsTest.php
- Tests Locale module's CSS Alter to include RTL overrides.
- CascadingStylesheetsTest::testRenderOverride in drupal/core/modules/system/lib/Drupal/system/Tests/Common/CascadingStylesheetsTest.php
- Tests CSS override.
- CommentActionsTest::assertWatchdogMessage in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentActionsTest.php
- Verifies that a watchdog message has been entered.
- CommentLinksTest::setEnvironment in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentLinksTest.php
- Re-configures the environment, module settings, and user permissions.
- DefaultViewsTest::testDefaultViews in drupal/core/modules/views/lib/Drupal/views/Tests/DefaultViewsTest.php
- Test that all Default views work as expected.
- DependencyTest::testIncompatibleCoreVersionDependency in drupal/core/modules/system/lib/Drupal/system/Tests/Module/DependencyTest.php
- Tests enabling a module that depends on a module with an incompatible core version.
- DependencyTest::testIncompatibleModuleVersionDependency in drupal/core/modules/system/lib/Drupal/system/Tests/Module/DependencyTest.php
- Tests enabling a module that depends on an incompatible version of a module.
- DependencyTest::testMissingModules in drupal/core/modules/system/lib/Drupal/system/Tests/Module/DependencyTest.php
- Attempts to enable a module with a missing dependency.
- DependencyTest::testUninstallDependents in drupal/core/modules/system/lib/Drupal/system/Tests/Module/DependencyTest.php
- Tests attempting to uninstall a module that has installed dependents.
- FieldAttachStorageTest::testFieldAttachLoadMultiple in drupal/core/modules/field/lib/Drupal/field/Tests/FieldAttachStorageTest.php
- Test the 'multiple' load feature.
- GenericCacheBackendUnitTestBase::testDelete in drupal/core/modules/system/lib/Drupal/system/Tests/Cache/GenericCacheBackendUnitTestBase.php
- Tests Drupal\Core\Cache\CacheBackendInterface::delete().
- GenericCacheBackendUnitTestBase::testGetMultiple in drupal/core/modules/system/lib/Drupal/system/Tests/Cache/GenericCacheBackendUnitTestBase.php
- Tests Drupal\Core\Cache\CacheBackendInterface::getMultiple().
- GenericCacheBackendUnitTestBase::testSetGet in drupal/core/modules/system/lib/Drupal/system/Tests/Cache/GenericCacheBackendUnitTestBase.php
- Tests the get and set methods of Drupal\Core\Cache\CacheBackendInterface.
- GenericCacheBackendUnitTestBase::testValueTypeIsKept in drupal/core/modules/system/lib/Drupal/system/Tests/Cache/GenericCacheBackendUnitTestBase.php
- Tests data type preservation.
- HandlerTest::assertEqualValue in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/HandlerTest.php
- Check to see if a value is the same as the value on a certain handler.
- LocaleImportFunctionalTest::testStandalonePoFile in drupal/core/modules/locale/lib/Drupal/locale/Tests/LocaleImportFunctionalTest.php
- Test import of standalone .po files.
- MultiFormTest::testMultiForm in drupal/core/modules/system/lib/Drupal/system/Tests/Ajax/MultiFormTest.php
- Tests that pages with the 'page_node_form' included twice work correctly.
- NodeTypeInitialLanguageTest::testNodeTypeInitialLanguageDefaults in drupal/core/modules/node/lib/Drupal/node/Tests/NodeTypeInitialLanguageTest.php
- Tests the node type initial language defaults, and modifies them.
- RebuildTest::testPreserveFormActionAfterAJAX in drupal/core/modules/system/lib/Drupal/system/Tests/Form/RebuildTest.php
- Tests that a form's action is retained after an Ajax submission.
- TestBase::assertEqual in drupal/core/modules/simpletest/lib/Drupal/simpletest/TestBase.php
- Check to see if two values are equal.
- TestBase::assertFalse in drupal/core/modules/simpletest/lib/Drupal/simpletest/TestBase.php
- Check to see if a value is false (an empty string, 0, NULL, or FALSE).
- TestBase::assertIdentical in drupal/core/modules/simpletest/lib/Drupal/simpletest/TestBase.php
- Check to see if two values are identical.
- TestBase::assertNotEqual in drupal/core/modules/simpletest/lib/Drupal/simpletest/TestBase.php
- Check to see if two values are not equal.
- TestBase::assertNotIdentical in drupal/core/modules/simpletest/lib/Drupal/simpletest/TestBase.php
- Check to see if two values are not identical.
- TestBase::assertNotNull in drupal/core/modules/simpletest/lib/Drupal/simpletest/TestBase.php
- Check to see if a value is not NULL.
- TestBase::assertNull in drupal/core/modules/simpletest/lib/Drupal/simpletest/TestBase.php
- Check to see if a value is NULL.
- TestBase::assertTrue in drupal/core/modules/simpletest/lib/Drupal/simpletest/TestBase.php
- Check to see if a value is not false (not an empty string, 0, NULL, or FALSE).
- TestBase::error in drupal/core/modules/simpletest/lib/Drupal/simpletest/TestBase.php
- Fire an error assertion.
- TestBase::fail in drupal/core/modules/simpletest/lib/Drupal/simpletest/TestBase.php
- Fire an assertion that is always negative.
- TestBase::pass in drupal/core/modules/simpletest/lib/Drupal/simpletest/TestBase.php
- Fire an assertion that is always positive.
- TreeDataUnitTest::assertSameLink in drupal/core/modules/system/lib/Drupal/system/Tests/Menu/TreeDataUnitTest.php
- Check that two menu links are the same by comparing the mlid.
- WebTestBase::assertLink in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
- Pass if a link with the specified label is found, and optional with the
specified index.
- WebTestBase::assertLinkByHref in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
- Pass if a link containing a given href (part) is found.
- WebTestBase::assertNoDuplicateIds in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
- Asserts that each HTML ID is used for just a single element.
- WebTestBase::assertNoLink in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
- Pass if a link with the specified label is not found.
- WebTestBase::assertNoLinkByHref in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
- Pass if a link containing a given href (part) is not found.
- WebTestBase::assertNoPattern in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
- Will trigger a pass if the perl regex pattern is not present in raw content.
- WebTestBase::assertNoRaw in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
- Pass if the raw text is NOT found on the loaded page, fail otherwise. Raw text
refers to the raw HTML that the page generated.
- WebTestBase::assertPattern in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
- Will trigger a pass if the Perl regex pattern is found in the raw content.
- WebTestBase::assertRaw in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
- Pass if the raw text IS found on the loaded page, fail otherwise. Raw text
refers to the raw HTML that the page generated.
- WebTestBase::assertTextHelper in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
- Helper for assertText and assertNoText.
- WebTestBase::assertUniqueTextHelper in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
- Helper for assertUniqueText and assertNoUniqueText.
- XmlRpcBasicTest::testMethodSignature in drupal/core/modules/xmlrpc/lib/Drupal/xmlrpc/Tests/XmlRpcBasicTest.php
- Ensure that system.methodSignature returns an array of signatures.