45 calls to DrupalTestCase::fail()

BatchPercentagesUnitTestCase::testBatchPercentages in drupal/modules/simpletest/tests/batch.test
Test the _batch_api_percentage() function.
BlockCacheTestCase::setCacheMode in drupal/modules/block/block.test
Private helper method to set the test block's cache mode.
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.
DatabaseTemporaryQueryTestCase::testTemporaryQuery in drupal/modules/simpletest/tests/database_test.test
Confirm that temporary tables work and are limited to one request.
DatabaseTransactionTestCase::testCommittedTransaction in drupal/modules/simpletest/tests/database_test.test
Test committed transaction.
DatabaseTransactionTestCase::testTransactionRollBackNotSupported in drupal/modules/simpletest/tests/database_test.test
Test transaction rollback on a database that does not support transactions.
DatabaseTransactionTestCase::testTransactionRollBackSupported in drupal/modules/simpletest/tests/database_test.test
Test transaction rollback on a database that supports transactions.
DatabaseTransactionTestCase::testTransactionStacking in drupal/modules/simpletest/tests/database_test.test
Test transaction stacking and commit / rollback.
DBLogTestCase::asText in drupal/modules/dblog/dblog.test
Extracts the text contained by the XHTML element.
DrupalTagsHandlingTestCase::assertTags in drupal/modules/simpletest/tests/common.test
Helper function: asserts that the ending array of tags is what we wanted.
DrupalTestCase::run in drupal/modules/simpletest/drupal_web_test_case.php
Run all tests in this class.
DrupalWebTestCase::assertNoDuplicateIds in drupal/modules/simpletest/drupal_web_test_case.php
Asserts that each HTML ID is used for just a single element.
DrupalWebTestCase::checkPermissions in drupal/modules/simpletest/drupal_web_test_case.php
Check to make sure that the array of permissions are valid.
DrupalWebTestCase::clickLink in drupal/modules/simpletest/drupal_web_test_case.php
Follows a link by name.
DrupalWebTestCase::drupalPost in drupal/modules/simpletest/drupal_web_test_case.php
Execute a POST request on a Drupal page. It will be done as usual POST request with SimpleBrowser.
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.
EnableDisableTestCase::testEnableDisable in drupal/modules/system/system.test
Test that all core modules can be enabled, disabled and uninstalled.
EntityFieldQueryTestCase::assertEntityFieldQuery in drupal/modules/simpletest/tests/entity_query.test
Fetches the results of an EntityFieldQuery and compares.
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.
FormsTestCase::testRequiredCheckboxesRadio in drupal/modules/simpletest/tests/form.test
Tests validation for required checkbox, select, and radio elements.
ImageStylesPathAndUrlTestCase::_testImageStyleUrlAndPath in drupal/modules/image/image.test
Test image_style_url().
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.
ImageToolkitGdTestCase::testTransparentColorOutOfRange in drupal/modules/simpletest/tests/image.test
Tests loading an image whose transparent color index is out of range.
ListFieldTestCase::testUpdateAllowedValues in drupal/modules/field/modules/list/tests/list.test
Test that allowed values can be updated.
NodeCreationTestCase::testFailedPageCreation in drupal/modules/node/node.test
Verifies that a transaction rolls back the failed creation.
NodeQueryAlter::testNodeQueryAlterLowLevelEditAccess in drupal/modules/node/node.test
Tests 'node_access' query alter, for edit access.
NodeQueryAlter::testNodeQueryAlterLowLevelNoAccess in drupal/modules/node/node.test
Tests 'node_access' query alter, for user without access.
NodeQueryAlter::testNodeQueryAlterLowLevelWithAccess in drupal/modules/node/node.test
Tests 'node_access' query alter, for user with access.
NodeQueryAlter::testNodeQueryAlterOverride in drupal/modules/node/node.test
Tests 'node_access' query alter override.
SimpleTestFunctionalTest::asText in drupal/modules/simpletest/simpletest.test
Extract the text contained by the element.
SimpleTestFunctionalTest::stubTest in drupal/modules/simpletest/simpletest.test
Test to be run and the results confirmed.
SimpleTestMissingDependentModuleUnitTest::testFail in drupal/modules/simpletest/simpletest.test
Ensure that this test will not be loaded despite its dependency.
TaxonomyTermFieldTestCase::testTaxonomyTermFieldValidation in drupal/modules/taxonomy/taxonomy.test
Test term field validation.
UpgradePathTestCase::performUpgrade in drupal/modules/simpletest/tests/upgrade/upgrade.test
Perform the upgrade.