41 calls to DrupalTestCase::fail()
- BatchPercentagesUnitTestCase::testBatchPercentages in drupal-7.x/
modules/ simpletest/ tests/ batch.test - Test the _batch_api_percentage() function.
- BlockCacheTestCase::setCacheMode in drupal-7.x/
modules/ block/ block.test - Private helper method to set the test block's cache mode.
- DatabaseEmptyStatementTestCase::testEmptyIteration in drupal-7.x/
modules/ simpletest/ tests/ database_test.test - Test that the empty result set iterates safely.
- DatabaseInsertDefaultsTestCase::testDefaultEmptyInsert in drupal-7.x/
modules/ simpletest/ tests/ database_test.test - Test that no action will be preformed if no fields are specified.
- DatabaseInvalidDataTestCase::testInsertDuplicateData in drupal-7.x/
modules/ simpletest/ tests/ database_test.test - Traditional SQL database systems abort inserts when invalid data is encountered.
- DatabaseMergeTestCase::testInvalidMerge in drupal-7.x/
modules/ simpletest/ tests/ database_test.test - Test that an invalid merge query throws an exception like it is supposed to.
- DatabaseTemporaryQueryTestCase::testTemporaryQuery in drupal-7.x/
modules/ simpletest/ tests/ database_test.test - Confirm that temporary tables work and are limited to one request.
- DatabaseTransactionTestCase::testCommittedTransaction in drupal-7.x/
modules/ simpletest/ tests/ database_test.test - Test committed transaction.
- DatabaseTransactionTestCase::testTransactionRollBackNotSupported in drupal-7.x/
modules/ simpletest/ tests/ database_test.test - Test transaction rollback on a database that does not support transactions.
- DatabaseTransactionTestCase::testTransactionRollBackSupported in drupal-7.x/
modules/ simpletest/ tests/ database_test.test - Test transaction rollback on a database that supports transactions.
- DatabaseTransactionTestCase::testTransactionStacking in drupal-7.x/
modules/ simpletest/ tests/ database_test.test - Test transaction stacking and commit / rollback.
- DBLogTestCase::asText in drupal-7.x/
modules/ dblog/ dblog.test - Extracts the text contained by the XHTML element.
- DrupalTagsHandlingTestCase::assertTags in drupal-7.x/
modules/ simpletest/ tests/ common.test - Helper function: asserts that the ending array of tags is what we wanted.
- DrupalTestCase::run in drupal-7.x/
modules/ simpletest/ drupal_web_test_case.php - Run all tests in this class.
- DrupalWebTestCase::assertNoDuplicateIds in drupal-7.x/
modules/ simpletest/ drupal_web_test_case.php - Asserts that each HTML ID is used for just a single element.
- DrupalWebTestCase::checkPermissions in drupal-7.x/
modules/ simpletest/ drupal_web_test_case.php - Check to make sure that the array of permissions are valid.
- DrupalWebTestCase::drupalPost in drupal-7.x/
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-7.x/
modules/ simpletest/ drupal_web_test_case.php - Parse content returned from curlExec using DOM and SimpleXML.
- DrupalWebTestCase::tearDown in drupal-7.x/
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-7.x/
modules/ system/ system.test - Test that all core modules can be enabled, disabled and uninstalled.
- EntityFieldQueryTestCase::assertEntityFieldQuery in drupal-7.x/
modules/ simpletest/ tests/ entity_query.test - Fetches the results of an EntityFieldQuery and compares.
- FieldCrudTestCase::testCreateField in drupal-7.x/
modules/ field/ tests/ field.test - Test the creation of a field.
- FieldCrudTestCase::testUpdateFieldForbid in drupal-7.x/
modules/ field/ tests/ field.test - Test field type modules forbidding an update.
- FieldCrudTestCase::testUpdateFieldType in drupal-7.x/
modules/ field/ tests/ field.test - FieldCrudTestCase::testUpdateNonExistentField in drupal-7.x/
modules/ field/ tests/ field.test - FieldInstanceCrudTestCase::testCreateFieldInstance in drupal-7.x/
modules/ field/ tests/ field.test - Test the creation of a field instance.
- FieldSqlStorageTestCase::testFieldUpdateFailure in drupal-7.x/
modules/ field/ modules/ field_sql_storage/ field_sql_storage.test - Test that failure to create fields is handled gracefully.
- FieldSqlStorageTestCase::testUpdateFieldSchemaWithData in drupal-7.x/
modules/ field/ modules/ field_sql_storage/ field_sql_storage.test - Test trying to update a field with data.
- FormsTestCase::testRequiredCheckboxesRadio in drupal-7.x/
modules/ simpletest/ tests/ form.test - Tests validation for required checkbox, select, and radio elements.
- ImageStylesPathAndUrlTestCase::_testImageStyleUrlAndPath in drupal-7.x/
modules/ image/ image.test - Test image_style_url().
- ImageToolkitGdTestCase::testManipulations in drupal-7.x/
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.
- ListFieldTestCase::testUpdateAllowedValues in drupal-7.x/
modules/ field/ modules/ list/ tests/ list.test - Test that allowed values can be updated.
- NodeCreationTestCase::testFailedPageCreation in drupal-7.x/
modules/ node/ node.test - Verifies that a transaction rolls back the failed creation.
- NodeQueryAlter::testNodeQueryAlterLowLevelEditAccess in drupal-7.x/
modules/ node/ node.test - Tests 'node_access' query alter, for edit access.
- NodeQueryAlter::testNodeQueryAlterLowLevelNoAccess in drupal-7.x/
modules/ node/ node.test - Tests 'node_access' query alter, for user without access.
- NodeQueryAlter::testNodeQueryAlterLowLevelWithAccess in drupal-7.x/
modules/ node/ node.test - Tests 'node_access' query alter, for user with access.
- NodeQueryAlter::testNodeQueryAlterOverride in drupal-7.x/
modules/ node/ node.test - Tests 'node_access' query alter override.
- SimpleTestFunctionalTest::asText in drupal-7.x/
modules/ simpletest/ simpletest.test - Extract the text contained by the element.
- SimpleTestFunctionalTest::stubTest in drupal-7.x/
modules/ simpletest/ simpletest.test - Test to be run and the results confirmed.
- SimpleTestMissingDependentModuleUnitTest::testFail in drupal-7.x/
modules/ simpletest/ simpletest.test - Ensure that this test will not be loaded despite its dependency.
- TaxonomyTermFieldTestCase::testTaxonomyTermFieldValidation in drupal-7.x/
modules/ taxonomy/ taxonomy.test - Test term field validation.