45 calls to DrupalTestCase::pass() in Drupal 7
- BatchPercentagesUnitTestCase::testBatchPercentages in modules/
simpletest/ tests/ batch.test - Test the _batch_api_percentage() function.
- BookTestCase::checkBookNode in modules/
book/ book.test - Checks the outline of sub-pages; previous, up, and next.
- CommentHelperCase::setCommentSettings in modules/
comment/ comment.test - Set comment setting for article content type.
- ConnectionUnitTest::setUp in modules/
simpletest/ tests/ database_test.test - Sets up unit test environment.
- DatabaseEmptyStatementTestCase::testEmptyIteration in modules/
simpletest/ tests/ database_test.test - Test that the empty result set iterates safely.
- 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.
- DatabaseTransactionTestCase::testTransactionStacking in modules/
simpletest/ tests/ database_test.test - Test transaction stacking and commit / rollback.
- DrupalHtmlToTextTestCase::assertHtmlToText in modules/
simpletest/ tests/ mail.test - Helper function for testing drupal_html_to_text().
- DrupalSystemListingCompatibleTestCase::testDrupalSystemListing in 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 modules/
simpletest/ drupal_web_test_case.php - Follows a link by name.
- DrupalWebTestCase::parse in modules/
simpletest/ drupal_web_test_case.php - Parse content returned from curlExec using DOM and SimpleXML.
- DrupalWebTestCase::setUp in modules/
simpletest/ drupal_web_test_case.php - Sets up a Drupal site for running functional and integration tests.
- DrupalWebTestCase::tearDown in 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 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/ field_sql_storage.test - Test that failure to create fields is handled gracefully.
- FieldSqlStorageTestCase::testUpdateFieldSchemaWithData in modules/
field/ modules/ field_sql_storage/ field_sql_storage.test - Test trying to update a field with data.
- 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.
- ListDynamicValuesValidationTestCase::testDynamicAllowedValues in modules/
field/ modules/ list/ tests/ list.test - Test that allowed values function gets the entity.
- ListFieldTestCase::testUpdateAllowedValues in modules/
field/ modules/ list/ tests/ list.test - Test that allowed values can be updated.
- MenuRouterTestCase::testMenuGetNames in modules/
simpletest/ tests/ menu.test - Test menu_get_names().
- NodeCreationTestCase::testFailedPageCreation in modules/
node/ node.test - Verifies that a transaction rolls back the failed creation.
- RequestSanitizerTest::assertError in modules/
simpletest/ tests/ request_sanitizer.test - Asserts that the expected error has been logged.
- SchemaTestCase::assertFieldAdditionRemoval in modules/
simpletest/ tests/ schema.test - Assert that a given field can be added and removed from a table.
- SessionTestCase::testSameSiteCookieAttributeDisabledViaPhpIni in modules/
simpletest/ tests/ session.test - Test disabling the samesite attribute on session cookies via php ini
- SessionTestCase::testSamesiteCookieOverrideLaxToStrict in modules/
simpletest/ tests/ session.test - Test overriding the PHP setting for session.cookie_samesite with the samesite_cookie_value variable.
- SessionTestCase::testSamesiteCookiePhpSettingLax in modules/
simpletest/ tests/ session.test - Test that a PHP setting for session.cookie_samesite is not overridden by the default value in Drupal, without a samesite_cookie_value variable.
- SimpleTestBrokenSetUp::setUp in modules/
simpletest/ simpletest.test - Sets up a Drupal site for running functional and integration tests.
- SimpleTestBrokenSetUp::tearDown in 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 modules/
simpletest/ simpletest.test - Runs this test case from within the simpletest child site.
- SimpleTestFunctionalTest::assertNothing in modules/
simpletest/ simpletest.test - Assert nothing.
- SimpleTestFunctionalTest::stubTest in modules/
simpletest/ simpletest.test - Test to be run and the results confirmed.
- StreamWrapperTest::testPharFile in modules/
simpletest/ tests/ file.test - Tests that only valid phar files can be used.
- SystemValidTokenTest::testTokenValidation in modules/
system/ system.test - Tests invalid invocations of drupal_valid_token() that must return FALSE.
- TaxonomyTermFieldTestCase::testTaxonomyTermFieldValidation in modules/
taxonomy/ taxonomy.test - Test term field validation.
- UnicodeUnitTest::testEmulatedUnicode in modules/
simpletest/ tests/ unicode.test - Test emulated unicode features.
- UnicodeUnitTest::testMbStringUnicode in modules/
simpletest/ tests/ unicode.test - Test full unicode features implemented using the mbstring extension.
- UpgradePathTestCase::performUpgrade in modules/
simpletest/ tests/ upgrade/ upgrade.test - Perform the upgrade.
- UpgradePathTestCase::setUp in modules/
simpletest/ tests/ upgrade/ upgrade.test - Overrides DrupalWebTestCase::setUp() for upgrade testing.