126 calls to BackdropTestCase::fail()
- BackdropTestCase::run in core/modules/simpletest/backdrop_web_test_case.php
- Run all tests in this class.
- BackdropTestCase::run in core/modules/simpletest/backdrop_web_test_case.php
- Run all tests in this class.
- BackdropWebTestCase::assertNoDuplicateIds in core/modules/simpletest/backdrop_web_test_case.php
- Asserts that each HTML ID is used for just a single element.
- BackdropWebTestCase::assertNoDuplicateIds in core/modules/simpletest/backdrop_web_test_case.php
- Asserts that each HTML ID is used for just a single element.
- BackdropWebTestCase::backdropPost in core/modules/simpletest/backdrop_web_test_case.php
- Execute a POST request on a Backdrop page.
It will be done as usual POST request with SimpleBrowser.
- BackdropWebTestCase::backdropPost in core/modules/simpletest/backdrop_web_test_case.php
- Execute a POST request on a Backdrop page.
It will be done as usual POST request with SimpleBrowser.
- BackdropWebTestCase::checkPermissions in core/modules/simpletest/backdrop_web_test_case.php
- Check to make sure that the array of permissions are valid.
- BackdropWebTestCase::checkPermissions in core/modules/simpletest/backdrop_web_test_case.php
- Check to make sure that the array of permissions are valid.
- BackdropWebTestCase::clickLink in core/modules/simpletest/backdrop_web_test_case.php
- Follows a link by name.
- BackdropWebTestCase::clickLink in core/modules/simpletest/backdrop_web_test_case.php
- Follows a link by name.
- BackdropWebTestCase::parse in core/modules/simpletest/backdrop_web_test_case.php
- Parse content returned from curlExec using DOM and SimpleXML.
- BackdropWebTestCase::parse in core/modules/simpletest/backdrop_web_test_case.php
- Parse content returned from curlExec using DOM and SimpleXML.
- BackdropWebTestCase::tearDown in core/modules/simpletest/backdrop_web_test_case.php
- Delete created files and temporary files directory, delete the tables
created by setUp(), and reset the database prefix.
- BackdropWebTestCase::tearDown in core/modules/simpletest/backdrop_web_test_case.php
- Delete created files and temporary files directory, delete the tables
created by setUp(), and reset the database prefix.
- BatchPercentagesUnitTestCase::testBatchPercentages in core/modules/simpletest/tests/batch.test
- Test the _batch_api_percentage() function.
- BatchPercentagesUnitTestCase::testBatchPercentages in core/modules/simpletest/tests/batch.test
- Test the _batch_api_percentage() function.
- ColorTest::testHexToRgb in core/modules/simpletest/tests/color.test
- Tests Color::hexToRgb().
- ColorTest::testHexToRgb in core/modules/simpletest/tests/color.test
- Tests Color::hexToRgb().
- CommonAutocompleteTagsTestCase::assertTags in core/modules/simpletest/tests/common.test
- Helper function: asserts that the ending array of tags is what we wanted.
- CommonAutocompleteTagsTestCase::assertTags in core/modules/simpletest/tests/common.test
- Helper function: asserts that the ending array of tags is what we wanted.
- ConfigurationHooksTest::testHooks in core/modules/config/tests/config.test
- Tests checking the validation hooks.
- ConfigurationHooksTest::testHooks in core/modules/config/tests/config.test
- Tests checking the validation hooks.
- ConfigurationTest::testExistingConfig in core/modules/config/tests/config.test
- Tests reading existing config files provided by a module.
- ConfigurationTest::testExistingConfig in core/modules/config/tests/config.test
- Tests reading existing config files provided by a module.
- ConfigurationUITest::testFullImportValidation in core/modules/config/tests/config.test
- Test full import validation.
- ConfigurationUITest::testFullImportValidation in core/modules/config/tests/config.test
- Test full import validation.
- DatabaseEmptyStatementTestCase::testEmptyIteration in core/modules/simpletest/tests/database_test.test
- Test that the empty result set iterates safely.
- DatabaseEmptyStatementTestCase::testEmptyIteration in core/modules/simpletest/tests/database_test.test
- Test that the empty result set iterates safely.
- DatabaseExtraTypesTestCase::testDateField in core/modules/simpletest/tests/database_test.test
- Test the date data type.
- DatabaseExtraTypesTestCase::testDateField in core/modules/simpletest/tests/database_test.test
- Test the date data type.
- DatabaseExtraTypesTestCase::testTimeField in core/modules/simpletest/tests/database_test.test
- Test the time data type.
- DatabaseExtraTypesTestCase::testTimeField in core/modules/simpletest/tests/database_test.test
- Test the time data type.
- DatabaseInsertDefaultsTestCase::testDefaultEmptyInsert in core/modules/simpletest/tests/database_test.test
- Test that no action will be preformed if no fields are specified.
- DatabaseInsertDefaultsTestCase::testDefaultEmptyInsert in core/modules/simpletest/tests/database_test.test
- Test that no action will be preformed if no fields are specified.
- DatabaseInvalidDataTestCase::testInsertDuplicateData in core/modules/simpletest/tests/database_test.test
- Traditional SQL database systems abort inserts when invalid data is encountered.
- DatabaseInvalidDataTestCase::testInsertDuplicateData in core/modules/simpletest/tests/database_test.test
- Traditional SQL database systems abort inserts when invalid data is encountered.
- DatabaseMergeTestCase::testInvalidMerge in core/modules/simpletest/tests/database_test.test
- Test that an invalid merge query throws an exception like it is supposed to.
- DatabaseMergeTestCase::testInvalidMerge in core/modules/simpletest/tests/database_test.test
- Test that an invalid merge query throws an exception like it is supposed to.
- DatabaseQueryTestCase::testArrayArgumentsSQLInjection in core/modules/simpletest/tests/database_test.test
- Test SQL injection via database query array arguments.
- DatabaseQueryTestCase::testArrayArgumentsSQLInjection in core/modules/simpletest/tests/database_test.test
- Test SQL injection via database query array arguments.
- DatabaseTemporaryQueryTestCase::testTemporaryQuery in core/modules/simpletest/tests/database_test.test
- Confirm that temporary tables work and are limited to one request.
- DatabaseTemporaryQueryTestCase::testTemporaryQuery in core/modules/simpletest/tests/database_test.test
- Confirm that temporary tables work and are limited to one request.
- DatabaseTransactionTestCase::testCommittedTransaction in core/modules/simpletest/tests/database_test.test
- Test committed transaction.
- DatabaseTransactionTestCase::testCommittedTransaction in core/modules/simpletest/tests/database_test.test
- Test committed transaction.
- DatabaseTransactionTestCase::testTransactionRollBackNotSupported in core/modules/simpletest/tests/database_test.test
- Test transaction rollback on a database that does not support transactions.
- DatabaseTransactionTestCase::testTransactionRollBackNotSupported in core/modules/simpletest/tests/database_test.test
- Test transaction rollback on a database that does not support transactions.
- DatabaseTransactionTestCase::testTransactionRollBackSupported in core/modules/simpletest/tests/database_test.test
- Test transaction rollback on a database that supports transactions.
- DatabaseTransactionTestCase::testTransactionRollBackSupported in core/modules/simpletest/tests/database_test.test
- Test transaction rollback on a database that supports transactions.
- DatabaseTransactionTestCase::testTransactionStacking in core/modules/simpletest/tests/database_test.test
- Test transaction stacking and commit / rollback.
- DatabaseTransactionTestCase::testTransactionStacking in core/modules/simpletest/tests/database_test.test
- Test transaction stacking and commit / rollback.
- DatabaseTransactionTestCase::testTransactionWithDdlStatement in core/modules/simpletest/tests/database_test.test
- Test the compatibility of transactions with DDL statements.
- DatabaseTransactionTestCase::testTransactionWithDdlStatement in core/modules/simpletest/tests/database_test.test
- Test the compatibility of transactions with DDL statements.
- DBLogTestCase::asText in core/modules/dblog/tests/dblog.test
- Extracts the text contained by the XHTML element.
- DBLogTestCase::asText in core/modules/dblog/tests/dblog.test
- Extracts the text contained by the XHTML element.
- EnableDisableTestCase::testEnableDisable in core/modules/system/tests/system.test
- Test that all core modules can be enabled, disabled and uninstalled.
- EnableDisableTestCase::testEnableDisable in core/modules/system/tests/system.test
- Test that all core modules can be enabled, disabled and uninstalled.
- EntityFieldQueryTestCase::assertEntityFieldQuery in core/modules/entity/tests/entity_query.test
- Fetches the results of an EntityFieldQuery and compares.
- EntityFieldQueryTestCase::assertEntityFieldQuery in core/modules/entity/tests/entity_query.test
- Fetches the results of an EntityFieldQuery and compares.
- EntityReferenceAdminTestCase::assertFieldSelectOptions in core/modules/entityreference/tests/entityreference.admin.test
- EntityReferenceAdminTestCase::assertFieldSelectOptions in core/modules/entityreference/tests/entityreference.admin.test
- FieldCrudTestCase::testCreateField in core/modules/field/tests/field.test
- Test the creation of a field.
- FieldCrudTestCase::testCreateField in core/modules/field/tests/field.test
- Test the creation of a field.
- FieldCrudTestCase::testUpdateFieldForbid in core/modules/field/tests/field.test
- Test field type modules forbidding an update.
- FieldCrudTestCase::testUpdateFieldForbid in core/modules/field/tests/field.test
- Test field type modules forbidding an update.
- FieldCrudTestCase::testUpdateFieldType in core/modules/field/tests/field.test
- FieldCrudTestCase::testUpdateFieldType in core/modules/field/tests/field.test
- FieldCrudTestCase::testUpdateNonExistentField in core/modules/field/tests/field.test
- FieldCrudTestCase::testUpdateNonExistentField in core/modules/field/tests/field.test
- FieldInstanceCrudTestCase::testCreateFieldInstance in core/modules/field/tests/field.test
- Test the creation of a field instance.
- FieldInstanceCrudTestCase::testCreateFieldInstance in core/modules/field/tests/field.test
- Test the creation of a field instance.
- FieldSqlStorageTestCase::testFieldUpdateFailure in core/modules/field/modules/field_sql_storage/tests/field_sql_storage.test
- Test that failure to create fields is handled gracefully.
- FieldSqlStorageTestCase::testFieldUpdateFailure in core/modules/field/modules/field_sql_storage/tests/field_sql_storage.test
- Test that failure to create fields is handled gracefully.
- FieldSqlStorageTestCase::testUpdateFieldSchemaWithData in core/modules/field/modules/field_sql_storage/tests/field_sql_storage.test
- Test trying to update a field with data.
- FieldSqlStorageTestCase::testUpdateFieldSchemaWithData in core/modules/field/modules/field_sql_storage/tests/field_sql_storage.test
- Test trying to update a field with data.
- FileDirectoryTest::testFileCreateNewFilepath in core/modules/simpletest/tests/file.test
- This will take a directory and path, and find a valid filepath that is not
taken by another file.
- FileDirectoryTest::testFileCreateNewFilepath in core/modules/simpletest/tests/file.test
- This will take a directory and path, and find a valid filepath that is not
taken by another file.
- FileDirectoryTest::testFileDestination in core/modules/simpletest/tests/file.test
- This will test the filepath for a destination based on passed flags and
whether or not the file exists.
- FileDirectoryTest::testFileDestination in core/modules/simpletest/tests/file.test
- This will test the filepath for a destination based on passed flags and
whether or not the file exists.
- FormsTestCase::testRequiredCheckboxesRadio in core/modules/simpletest/tests/form.test
- Tests validation for required checkbox, select, and radio elements.
- FormsTestCase::testRequiredCheckboxesRadio in core/modules/simpletest/tests/form.test
- Tests validation for required checkbox, select, and radio elements.
- GenericFieldTest::codeTestGenericRemoveAllFields in modules/examples/field_permission_example/tests/field_permission_example.test
- Remove all fields in $this->field_names.
- GenericFieldTest::codeTestGenericRemoveAllFields in modules/examples/field_permission_example/tests/field_permission_example.test
- Remove all fields in $this->field_names.
- GenericFieldTest::createFieldContentForUser in modules/examples/field_permission_example/tests/field_permission_example.test
- Create a node with some field content.
- GenericFieldTest::createFieldContentForUser in modules/examples/field_permission_example/tests/field_permission_example.test
- Create a node with some field content.
- GenericFieldTest::formAddAllFields in modules/examples/field_permission_example/tests/field_permission_example.test
- Add all fields using Form API.
- GenericFieldTest::formAddAllFields in modules/examples/field_permission_example/tests/field_permission_example.test
- Add all fields using Form API.
- ImageFieldValidateTestCase::testOrientation in core/modules/image/tests/image.test
- Test image rotation resulting from EXIF data.
Requires a special test image, file rotate90cw.jpg.
- ImageFieldValidateTestCase::testOrientation in core/modules/image/tests/image.test
- Test image rotation resulting from EXIF data.
Requires a special test image, file rotate90cw.jpg.
- ImageStylesPathAndUrlUnitTest::_testImageStyleUrlAndPath in core/modules/image/tests/image.test
- Test image_style_url().
- ImageStylesPathAndUrlUnitTest::_testImageStyleUrlAndPath in core/modules/image/tests/image.test
- Test image_style_url().
- ImageToolkitGdTestCase::testManipulations in core/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::testManipulations in core/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.
- InfoFileCoreTest::testProjectInfoFileContents in core/modules/system/tests/system.test
- Tests that the .info files of all core projects specify a project type.
- InfoFileCoreTest::testProjectInfoFileContents in core/modules/system/tests/system.test
- Tests that the .info files of all core projects specify a project type.
- ListFieldTestCase::testUpdateAllowedValues in core/modules/field/modules/list/tests/list.test
- Test that allowed values can be updated.
- ListFieldTestCase::testUpdateAllowedValues in core/modules/field/modules/list/tests/list.test
- Test that allowed values can be updated.
- NodeCreationTestCase::testFailedPageCreation in core/modules/node/tests/node.test
- Verifies that a transaction rolls back the failed creation.
- NodeCreationTestCase::testFailedPageCreation in core/modules/node/tests/node.test
- Verifies that a transaction rolls back the failed creation.
- NodeQueryAlter::testNodeQueryAlterLowLevelEditAccess in core/modules/node/tests/node.test
- Tests 'node_access' query alter, for edit access.
- NodeQueryAlter::testNodeQueryAlterLowLevelEditAccess in core/modules/node/tests/node.test
- Tests 'node_access' query alter, for edit access.
- NodeQueryAlter::testNodeQueryAlterLowLevelNoAccess in core/modules/node/tests/node.test
- Tests 'node_access' query alter, for user without access.
- NodeQueryAlter::testNodeQueryAlterLowLevelNoAccess in core/modules/node/tests/node.test
- Tests 'node_access' query alter, for user without access.
- NodeQueryAlter::testNodeQueryAlterLowLevelWithAccess in core/modules/node/tests/node.test
- Tests 'node_access' query alter, for user with access.
- NodeQueryAlter::testNodeQueryAlterLowLevelWithAccess in core/modules/node/tests/node.test
- Tests 'node_access' query alter, for user with access.
- NodeQueryAlter::testNodeQueryAlterOverride in core/modules/node/tests/node.test
- Tests 'node_access' query alter override.
- NodeQueryAlter::testNodeQueryAlterOverride in core/modules/node/tests/node.test
- Tests 'node_access' query alter override.
- PathPatternTokenTestCase::assertTokens in core/modules/path/tests/path_pattern.test
- Function copied from TokenTestHelper::assertTokens().
- PathPatternTokenTestCase::assertTokens in core/modules/path/tests/path_pattern.test
- Function copied from TokenTestHelper::assertTokens().
- SimpleTestFunctionalTest::asText in core/modules/simpletest/tests/simpletest.test
- Extract the text contained by the element.
- SimpleTestFunctionalTest::asText in core/modules/simpletest/tests/simpletest.test
- Extract the text contained by the element.
- SimpleTestFunctionalTest::stubTest in core/modules/simpletest/tests/simpletest.test
- Test to be run and the results confirmed.
- SimpleTestFunctionalTest::stubTest in core/modules/simpletest/tests/simpletest.test
- Test to be run and the results confirmed.
- SimpleTestMissingCheckedRequirements::testCheckRequirements in core/modules/simpletest/tests/simpletest.test
- Ensures test will not run when requirements are missing.
- SimpleTestMissingCheckedRequirements::testCheckRequirements in core/modules/simpletest/tests/simpletest.test
- Ensures test will not run when requirements are missing.
- SimpleTestMissingDependentModuleUnitTest::testFail in core/modules/simpletest/tests/simpletest.test
- Ensure that this test will not be loaded despite its dependency.
- SimpleTestMissingDependentModuleUnitTest::testFail in core/modules/simpletest/tests/simpletest.test
- Ensure that this test will not be loaded despite its dependency.
- TaxonomyTermFieldTestCase::testTaxonomyTermFieldValidation in core/modules/taxonomy/tests/taxonomy.test
- Test term field validation.
- TaxonomyTermFieldTestCase::testTaxonomyTermFieldValidation in core/modules/taxonomy/tests/taxonomy.test
- Test term field validation.
- TokenTestHelper::assertPageTokens in core/modules/simpletest/tests/token.test
- Make a page request and test for token generation.
- TokenTestHelper::assertPageTokens in core/modules/simpletest/tests/token.test
- Make a page request and test for token generation.
- TokenTestHelper::assertTokens in core/modules/simpletest/tests/token.test
- TokenTestHelper::assertTokens in core/modules/simpletest/tests/token.test
- TokenUserTestCase::setUp in core/modules/simpletest/tests/token.test
- Sets up a Backdrop site for running functional and integration tests.
- TokenUserTestCase::setUp in core/modules/simpletest/tests/token.test
- Sets up a Backdrop site for running functional and integration tests.
- UpgradePathTestCase::performUpgrade in core/modules/simpletest/tests/upgrade/upgrade.test
- Perform the upgrade.
- UpgradePathTestCase::performUpgrade in core/modules/simpletest/tests/upgrade/upgrade.test
- Perform the upgrade.