Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 7.x
»
drupal_web_test_case.php
»
DrupalTestCase
»
DrupalTestCase::randomString
Search Drupal 7.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 7.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
18 calls to DrupalTestCase::randomString()
CommentContentRebuild::testCommentRebuild
in drupal/
modules/
comment/
comment.test
Test to ensure that the comment's content array is rebuilt for every call to
comment_view
().
ContactSitewideTestCase::testAutoReply
in drupal/
modules/
contact/
contact.test
Tests auto-reply on the site-wide contact form.
FieldTranslationsTestCase::setUp
in drupal/
modules/
field/
tests/
field.test
Set the default field storage backend for fields created during tests.
FormsTestCase::testRequiredCheckboxesRadio
in drupal/
modules/
simpletest/
tests/
form.test
Tests validation for required checkbox, select, and radio elements.
FormsTestCase::testRequiredTextfieldNoTitle
in drupal/
modules/
simpletest/
tests/
form.test
Tests validation for required textfield element without title.
ImageAdminStylesUnitTest::testNumericStyleName
in drupal/
modules/
image/
image.test
Test creating an image style with a numeric name and ensuring it can be applied to an image.
ImageAdminStylesUnitTest::testStyle
in drupal/
modules/
image/
image.test
General test to add a style, add/remove/edit effects to it, then delete it.
ImageAdminStylesUnitTest::testStyleReplacement
in drupal/
modules/
image/
image.test
Test deleting a style and choosing a replacement style.
ImageFieldTestCase::createRandomStyle
in drupal/
modules/
image/
image.test
Create a random style.
ImageStyleFlushTest::testFlush
in drupal/
modules/
image/
image.test
General test to flush a style.
ImageStylesPathAndUrlTestCase::setUp
in drupal/
modules/
image/
image.test
Sets up a Drupal site for running functional and integration tests.
MenuNodeTestCase::testMenuNodeFormWidget
in drupal/
modules/
menu/
menu.test
Test creating, editing, deleting menu links via node form widget.
NodeBuildContent::testNodeRebuildContent
in drupal/
modules/
node/
node.test
Ensures that content array is rebuilt on every call to
node_build_content
().
PagerFunctionalWebTestCase::setUp
in drupal/
modules/
simpletest/
tests/
pager.test
Sets up a Drupal site for running functional and integration tests.
PollTestCase::pollCreate
in drupal/
modules/
poll/
poll.test
Creates a poll.
SimpleTestMailCaptureTestCase::testMailSend
in drupal/
modules/
simpletest/
simpletest.test
Test to see if the wrapper function is executed correctly.
UserCreateTestCase::testUserAdd
in drupal/
modules/
user/
user.test
Create a user through the administration interface and ensure that it displays in the user list.
UserRolesAssignmentTestCase::testCreateUserWithRole
in drupal/
modules/
user/
user.test
Tests that when creating a user the role can be assigned. And that it can be removed again.