Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 9.x
»
TestBase.php
»
TestBase
»
TestBase::randomString
Search Drupal 9.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 9.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
Deprecated
42 calls to TestBase::randomString()
AreaTest::testRenderArea
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Tests/
Handler/
AreaTest.php
Tests the rendering of an area.
AreaTextTest::testAreaText
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Tests/
Handler/
AreaTextTest.php
ArgumentNullTest::testAreaText
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Tests/
Handler/
ArgumentNullTest.php
ArgumentValidatorTest::testArgumentValidateNumeric
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Tests/
Plugin/
ArgumentValidatorTest.php
BlockLanguageTest::testLanguageBlockVisibility
in drupal/
core/
modules/
block/
lib/
Drupal/
block/
Tests/
BlockLanguageTest.php
Tests the visibility settings for the blocks based on language.
BlockLanguageTest::testLanguageBlockVisibilityBlockDelete
in drupal/
core/
modules/
block/
lib/
Drupal/
block/
Tests/
BlockLanguageTest.php
Tests if the visibility settings are removed if the block is deleted.
BlockLanguageTest::testLanguageBlockVisibilityLanguageDelete
in drupal/
core/
modules/
block/
lib/
Drupal/
block/
Tests/
BlockLanguageTest.php
Tests if the visibility settings are removed if the language is deleted.
CommentContentRebuildTest::testCommentRebuild
in drupal/
core/
modules/
comment/
lib/
Drupal/
comment/
Tests/
CommentContentRebuildTest.php
Tests the rebuilding of comment's content arrays on calling
comment_view
().
CommentTranslationUITest::getNewEntityValues
in drupal/
core/
modules/
comment/
lib/
Drupal/
comment/
Tests/
CommentTranslationUITest.php
Overrides
\Drupal\translation_entity\Tests\EntityTranslationUITest::getNewEntityValues
().
ConfigEntityTest::testCRUD
in drupal/
core/
modules/
config/
lib/
Drupal/
config/
Tests/
ConfigEntityTest.php
Tests CRUD operations.
ConfigImportUITest::testImport
in drupal/
core/
modules/
config/
lib/
Drupal/
config/
Tests/
ConfigImportUITest.php
Tests importing configuration.
ConfigImportUITest::testImportLock
in drupal/
core/
modules/
config/
lib/
Drupal/
config/
Tests/
ConfigImportUITest.php
Tests concurrent importing of configuration.
ContactSitewideTest::testAutoReply
in drupal/
core/
modules/
contact/
lib/
Drupal/
contact/
Tests/
ContactSitewideTest.php
Tests auto-reply on the site-wide contact form.
DisplayTest::testDisplayPlugin
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Tests/
Plugin/
DisplayTest.php
Tests the display test plugin.
EntityAccessTest::testEntityTranslationAccess
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Entity/
EntityAccessTest.php
Ensures entity access for entity translations is properly working.
EntityTranslationFormTest::setUp
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Entity/
EntityTranslationFormTest.php
Sets up a Drupal site for running functional and integration tests.
EntityTranslationTest::setUp
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Entity/
EntityTranslationTest.php
Sets up a Drupal site for running functional and integration tests.
EntityTranslationTest::testMultilingualProperties
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Entity/
EntityTranslationTest.php
Tests multilingual properties.
FilterDateTest::_testUiValidation
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Tests/
Handler/
FilterDateTest.php
Make sure the validation callbacks works.
FormTest::testRequiredCheckboxesRadio
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Form/
FormTest.php
Tests validation for required checkbox, select, and radio elements.
FormTest::testRequiredTextfieldNoTitle
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Form/
FormTest.php
Tests validation for required textfield element without title.
ForumBlockTest::testActiveForumTopicsBlock
in drupal/
core/
modules/
forum/
lib/
Drupal/
forum/
Tests/
ForumBlockTest.php
GlossaryTest::testGlossaryView
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Tests/
GlossaryTest.php
Tests the default glossary view.
ImageAdminStylesTest::testNumericStyleName
in drupal/
core/
modules/
image/
lib/
Drupal/
image/
Tests/
ImageAdminStylesTest.php
Test creating an image style with a numeric name and ensuring it can be applied to an image.
ImageAdminStylesTest::testStyle
in drupal/
core/
modules/
image/
lib/
Drupal/
image/
Tests/
ImageAdminStylesTest.php
General test to add a style, add/remove/edit effects to it, then delete it.
ImageAdminStylesTest::testStyleReplacement
in drupal/
core/
modules/
image/
lib/
Drupal/
image/
Tests/
ImageAdminStylesTest.php
Test deleting a style and choosing a replacement style.
ImageStylesPathAndUrlTest::setUp
in drupal/
core/
modules/
image/
lib/
Drupal/
image/
Tests/
ImageStylesPathAndUrlTest.php
Sets up a Drupal site for running functional and integration tests.
MailCaptureTest::testMailSend
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
Tests/
MailCaptureTest.php
Test to see if the wrapper function is executed correctly.
MenuNodeTest::testMenuNodeFormWidget
in drupal/
core/
modules/
menu/
lib/
Drupal/
menu/
Tests/
MenuNodeTest.php
Test creating, editing, deleting menu links via node form widget.
NodeBuildContentTest::testNodeRebuildContent
in drupal/
core/
modules/
node/
lib/
Drupal/
node/
Tests/
NodeBuildContentTest.php
Ensures that content array is rebuilt on every call to node_build_content().
PagerTest::setUp
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Pager/
PagerTest.php
Sets up a Drupal site for running functional and integration tests.
PollTestBase::pollCreate
in drupal/
core/
modules/
poll/
lib/
Drupal/
poll/
Tests/
PollTestBase.php
Creates a poll.
RESTTestBase::entityCreate
in drupal/
core/
modules/
rest/
lib/
Drupal/
rest/
Tests/
RESTTestBase.php
Creates entity objects based on their types.
TestBase::randomObject
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
TestBase.php
Generates a random PHP object.
TranslationTest::setUp
in drupal/
core/
modules/
field/
lib/
Drupal/
field/
Tests/
TranslationTest.php
Set the default field storage backend for fields created during tests.
TypedDataTest::testGetAndSet
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
TypedData/
TypedDataTest.php
Tests the basics around constructing and working with data wrappers.
UserAdminSettingsFormTest::setUpSystemConfigForm
in drupal/
core/
modules/
user/
lib/
Drupal/
user/
Tests/
UserAdminSettingsFormTest.php
UserCreateTest::testUserAdd
in drupal/
core/
modules/
user/
lib/
Drupal/
user/
Tests/
UserCreateTest.php
Create a user through the administration interface and ensure that it displays in the user list.
UserPictureTest::testPictureOnNodeComment
in drupal/
core/
modules/
user/
lib/
Drupal/
user/
Tests/
UserPictureTest.php
Tests embedded users on node pages.
UserRolesAssignmentTest::testCreateUserWithRole
in drupal/
core/
modules/
user/
lib/
Drupal/
user/
Tests/
UserRolesAssignmentTest.php
Tests that when creating a user the role can be assigned. And that it can be removed again.
ValidationTest::testCustomRequiredError
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Form/
ValidationTest.php
Tests #required with custom validation errors.
WebTestBase::drupalCreateRole
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
WebTestBase.php
Internal helper function; Create a role with specified permissions.