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