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::pass
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
39 calls to DrupalTestCase::pass()
BatchPercentagesUnitTestCase::testBatchPercentages
in drupal/
modules/
simpletest/
tests/
batch.test
Test the
_batch_api_percentage
() function.
BookTestCase::checkBookNode
in drupal/
modules/
book/
book.test
Checks the outline of sub-pages; previous, up, and next.
CommentHelperCase::setCommentSettings
in drupal/
modules/
comment/
comment.test
Set comment setting for article content type.
ConnectionUnitTest::setUp
in drupal/
modules/
simpletest/
tests/
database_test.test
Sets up unit test environment.
DatabaseEmptyStatementTestCase::testEmptyIteration
in drupal/
modules/
simpletest/
tests/
database_test.test
Test that the empty result set iterates safely.
DatabaseInsertDefaultsTestCase::testDefaultEmptyInsert
in drupal/
modules/
simpletest/
tests/
database_test.test
Test that no action will be preformed if no fields are specified.
DatabaseInvalidDataTestCase::testInsertDuplicateData
in drupal/
modules/
simpletest/
tests/
database_test.test
Traditional SQL database systems abort inserts when invalid data is encountered.
DatabaseMergeTestCase::testInvalidMerge
in drupal/
modules/
simpletest/
tests/
database_test.test
Test that an invalid merge query throws an exception like it is supposed to.
DatabaseQueryTestCase::testArrayArgumentsSQLInjection
in drupal/
modules/
simpletest/
tests/
database_test.test
Test SQL injection via database query array arguments.
DatabaseTransactionTestCase::testTransactionStacking
in drupal/
modules/
simpletest/
tests/
database_test.test
Test transaction stacking and commit / rollback.
DatabaseTransactionTestCase::testTransactionWithDdlStatement
in drupal/
modules/
simpletest/
tests/
database_test.test
Test the compatibility of transactions with DDL statements.
DrupalHtmlToTextTestCase::assertHtmlToText
in drupal/
modules/
simpletest/
tests/
mail.test
Helper function for testing
drupal_html_to_text
().
DrupalSystemListingCompatibleTestCase::testDrupalSystemListing
in drupal/
profiles/
testing/
modules/
drupal_system_listing_compatible_test/
drupal_system_listing_compatible_test.test
Non-empty test* method required to executed the test case class.
DrupalWebTestCase::clickLink
in drupal/
modules/
simpletest/
drupal_web_test_case.php
Follows a link by name.
DrupalWebTestCase::parse
in drupal/
modules/
simpletest/
drupal_web_test_case.php
Parse content returned from curlExec using DOM and SimpleXML.
DrupalWebTestCase::tearDown
in drupal/
modules/
simpletest/
drupal_web_test_case.php
Delete created files and temporary files directory, delete the tables created by setUp(), and reset the database prefix.
FieldCrudTestCase::testCreateField
in drupal/
modules/
field/
tests/
field.test
Test the creation of a field.
FieldCrudTestCase::testUpdateFieldForbid
in drupal/
modules/
field/
tests/
field.test
Test field type modules forbidding an update.
FieldCrudTestCase::testUpdateFieldType
in drupal/
modules/
field/
tests/
field.test
FieldCrudTestCase::testUpdateNonExistentField
in drupal/
modules/
field/
tests/
field.test
FieldInstanceCrudTestCase::testCreateFieldInstance
in drupal/
modules/
field/
tests/
field.test
Test the creation of a field instance.
FieldSqlStorageTestCase::testFieldUpdateFailure
in drupal/
modules/
field/
modules/
field_sql_storage/
field_sql_storage.test
Test that failure to create fields is handled gracefully.
FieldSqlStorageTestCase::testUpdateFieldSchemaWithData
in drupal/
modules/
field/
modules/
field_sql_storage/
field_sql_storage.test
Test trying to update a field with data.
ImageToolkitGdTestCase::testManipulations
in drupal/
modules/
simpletest/
tests/
image.test
Since PHP can't visually check that our images have been manipulated properly, build a list of expected color values for each of the corners and the expected height and widths for the final images.
ListDynamicValuesValidationTestCase::testDynamicAllowedValues
in drupal/
modules/
field/
modules/
list/
tests/
list.test
Test that allowed values function gets the entity.
ListFieldTestCase::testUpdateAllowedValues
in drupal/
modules/
field/
modules/
list/
tests/
list.test
Test that allowed values can be updated.
MenuRouterTestCase::testMenuGetNames
in drupal/
modules/
simpletest/
tests/
menu.test
Test
menu_get_names
().
NodeCreationTestCase::testFailedPageCreation
in drupal/
modules/
node/
node.test
Verifies that a transaction rolls back the failed creation.
SchemaTestCase::assertFieldAdditionRemoval
in drupal/
modules/
simpletest/
tests/
schema.test
Assert that a given field can be added and removed from a table.
SimpleTestBrokenSetUp::setUp
in drupal/
modules/
simpletest/
simpletest.test
Sets up a Drupal site for running functional and integration tests.
SimpleTestBrokenSetUp::tearDown
in drupal/
modules/
simpletest/
simpletest.test
Delete created files and temporary files directory, delete the tables created by setUp(), and reset the database prefix.
SimpleTestBrokenSetUp::testBreakSetUp
in drupal/
modules/
simpletest/
simpletest.test
Runs this test case from within the simpletest child site.
SimpleTestFunctionalTest::assertNothing
in drupal/
modules/
simpletest/
simpletest.test
Assert nothing.
SimpleTestFunctionalTest::stubTest
in drupal/
modules/
simpletest/
simpletest.test
Test to be run and the results confirmed.
TaxonomyTermFieldTestCase::testTaxonomyTermFieldValidation
in drupal/
modules/
taxonomy/
taxonomy.test
Test term field validation.
UnicodeUnitTest::testEmulatedUnicode
in drupal/
modules/
simpletest/
tests/
unicode.test
Test emulated unicode features.
UnicodeUnitTest::testMbStringUnicode
in drupal/
modules/
simpletest/
tests/
unicode.test
Test full unicode features implemented using the mbstring extension.
UpgradePathTestCase::performUpgrade
in drupal/
modules/
simpletest/
tests/
upgrade/
upgrade.test
Perform the upgrade.
UpgradePathTestCase::setUp
in drupal/
modules/
simpletest/
tests/
upgrade/
upgrade.test
Overrides
DrupalWebTestCase::setUp
() for upgrade testing.