Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 8.x
»
TestBase.php
»
TestBase
»
TestBase::randomString
Search Drupal 8.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 8.x
Topics
Classes
Functions
Files
Namespaces
Services
Constants
Globals
Deprecated
60 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
BlockLanguageCacheTest::setUp
in drupal/
core/
modules/
block/
lib/
Drupal/
block/
Tests/
BlockLanguageCacheTest.php
Sets up a Drupal site for running functional and integration tests.
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
().
ConfigEntityTest::testCRUD
in drupal/
core/
modules/
config/
lib/
Drupal/
config/
Tests/
ConfigEntityTest.php
Tests CRUD operations.
ConfigEntityUnitTest::testStorageControllerMethods
in drupal/
core/
modules/
config/
lib/
Drupal/
config/
Tests/
ConfigEntityUnitTest.php
Tests storage controller methods.
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.
CustomBlockBuildContentTest::testCustomBlockRebuildContent
in drupal/
core/
modules/
block/
custom_block/
lib/
Drupal/
custom_block/
Tests/
CustomBlockBuildContentTest.php
Ensures that content is rebuilt in calls to custom_block_build_content().
DisplayPath::testMenuOptions
in drupal/
core/
modules/
views_ui/
lib/
Drupal/
views_ui/
Tests/
DisplayPath.php
Tests the menu and tab option 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.
EntityDisplayTest::testFieldComponent
in drupal/
core/
modules/
entity/
lib/
Drupal/
entity/
Tests/
EntityDisplayTest.php
Tests the behavior of a field component within an EntityDisplay object.
EntityFormDisplayTest::testFieldComponent
in drupal/
core/
modules/
entity/
lib/
Drupal/
entity/
Tests/
EntityFormDisplayTest.php
Tests the behavior of a field component within an EntityFormDisplay object.
EntityQueryTest::setUp
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Entity/
EntityQueryTest.php
Sets up Drupal unit test environment.
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::assertMultilingualProperties
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Entity/
EntityTranslationTest.php
Executes the multilingual property tests for the given entity type.
EntityTranslationTest::setUp
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Entity/
EntityTranslationTest.php
Sets up Drupal unit test environment.
EntityValidationTest::checkValidation
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Entity/
EntityValidationTest.php
Executes the validation test set for a defined entity type.
FeedLanguageTest::setUp
in drupal/
core/
modules/
aggregator/
lib/
Drupal/
aggregator/
Tests/
FeedLanguageTest.php
Sets up a Drupal site for running functional and integration tests.
FilterDateTest::_testUiValidation
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Tests/
Handler/
FilterDateTest.php
Make sure the validation callbacks works.
FormObjectTest::setUp
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Form/
FormObjectTest.php
Sets up a Drupal site for running functional and integration tests.
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
Tests the "Active forum topics" block.
GlossaryTest::testGlossaryView
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Tests/
GlossaryTest.php
Tests the default glossary view.
ImageAdminStylesTest::testConfigImport
in drupal/
core/
modules/
image/
lib/
Drupal/
image/
Tests/
ImageAdminStylesTest.php
Tests image style configuration import that does a delete.
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.
ImageStyleFlushTest::testFlush
in drupal/
core/
modules/
image/
lib/
Drupal/
image/
Tests/
ImageStyleFlushTest.php
General test to flush a 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.
ModuleTest::testViewsFetchPluginNames
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Tests/
ModuleTest.php
Tests the
views_fetch_plugin_names
() function.
MultiStepNodeFormBasicOptionsTest::testMultiStepNodeFormBasicOptions
in drupal/
core/
modules/
node/
lib/
Drupal/
node/
Tests/
MultiStepNodeFormBasicOptionsTest.php
Tests changing the default values of basic options to ensure they persist.
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().
NodeFormButtonsTest::testNodeFormButtons
in drupal/
core/
modules/
node/
lib/
Drupal/
node/
Tests/
NodeFormButtonsTest.php
Tests that the right buttons are displayed for saving nodes.
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.
RESTTestBase::entityValues
in drupal/
core/
modules/
rest/
lib/
Drupal/
rest/
Tests/
RESTTestBase.php
Provides an array of suitable property values for an entity type.
ShortcutSetsTest::testShortcutSetSwitchCreate
in drupal/
core/
modules/
shortcut/
lib/
Drupal/
shortcut/
Tests/
ShortcutSetsTest.php
Tests switching a user's shortcut set and creating one at the same time.
ShortcutTestBase::generateShortcutSet
in drupal/
core/
modules/
shortcut/
lib/
Drupal/
shortcut/
Tests/
ShortcutTestBase.php
Creates a generic shortcut set.
TestBase::randomObject
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
TestBase.php
Generates a random PHP object.
TextPlainUnitTest::testPlainText
in drupal/
core/
modules/
text/
lib/
Drupal/
text/
Tests/
Formatter/
TextPlainUnitTest.php
Tests text_plain formatter output.
TranslationTest::setUp
in drupal/
core/
modules/
field/
lib/
Drupal/
field/
Tests/
TranslationTest.php
Set the default field storage backend for fields created during tests.
TranslationWebTest::setUp
in drupal/
core/
modules/
field/
lib/
Drupal/
field/
Tests/
TranslationWebTest.php
Sets up a Drupal site for running functional and integration tests.
TypedDataTest::testGetAndSet
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
TypedData/
TypedDataTest.php
Tests the basics around constructing and working with typed data objects.
UpdateTest::testPatchUpdate
in drupal/
core/
modules/
rest/
lib/
Drupal/
rest/
Tests/
UpdateTest.php
Tests several valid and invalid partial update requests on test entities.
UserAdminSettingsFormTest::setUp
in drupal/
core/
modules/
user/
lib/
Drupal/
user/
Tests/
UserAdminSettingsFormTest.php
Sets up a Drupal site for running functional and integration tests.
UserAutocompleteTest::testUserAutocomplete
in drupal/
core/
modules/
user/
lib/
Drupal/
user/
Tests/
UserAutocompleteTest.php
Tests access to user autocompletion and verify the correct results.
UserCreateFailMailTest::testUserAdd
in drupal/
core/
modules/
user/
lib/
Drupal/
user/
Tests/
UserCreateFailMailTest.php
Tests the create user administration page.
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.
ViewExecutableTest::testPropertyMethods
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Tests/
ViewExecutableTest.php
Tests the setting/getting of properties.
WebTestBase::drupalCreateRole
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
WebTestBase.php
Internal helper function; Create a role with specified permissions.