You are here
197 calls to DrupalTestCase::assertEqual() in SimpleTest 7
- ActionLoopTestCase::triggerActions in tests/actions.test
- Create an infinite loop by causing a watchdog message to be set,
which causes the actions to be triggered again, up to default of 35 times.
- AJAXCommandsTestCase::testAJAXRender in tests/ajax.test
- Test ajax_command_settings().
- AJAXFrameworkTestCase::testAJAXRender in tests/ajax.test
- Test proper passing of JavaScript settings via ajax_render().
- AJAXFrameworkTestCase::testAJAXRenderError in tests/ajax.test
- Test behavior of ajax_render_error().
- BootstrapPageCacheTestCase::testConditionalRequests in tests/bootstrap.test
- Test support for requests containing If-Modified-Since and If-None-Match headers.
- BootstrapPageCacheTestCase::testPageCache in tests/bootstrap.test
- Test cache headers.
- BootstrapTimerTestCase::testTimer in tests/bootstrap.test
- Test timer_read() to ensure it properly accumulates time when the timer
started and stopped multiple times.
- BrowserBackendTestCase::testBrowserBackend in tests/browser.test
- Test stream and curl backends execution of GET and POST requests.
- BrowserPageTestCase::testBrowserPage in tests/browser.test
- Check "BrowserPage" class functionality.
- BrowserTestCase::testBrowserBackend in tests/browser.test
- Test general browser functionality.
- CacheGetMultipleUnitTest::testCacheMultiple in tests/cache.test
- Test cache_get_multiple().
- CascadingStylesheetsTestCase::testAddExternal in tests/common.test
- Tests adding an external stylesheet.
- CascadingStylesheetsTestCase::testAddFile in tests/common.test
- Tests adding a file stylesheet.
- CascadingStylesheetsTestCase::testDefault in tests/common.test
- Check default stylesheets as empty.
- CascadingStylesheetsTestCase::testRenderInlinePreprocess in tests/common.test
- Tests rendering inline stylesheets with preprocessing on.
- CascadingStylesheetsTestCase::testReset in tests/common.test
- Makes sure that reseting the CSS empties the cache.
- CascadingStylesheetsUnitTest::testLoadCssBasic in tests/common.test
- Tests basic CSS loading with and without optimization via drupal_load_stylesheet().
- CommonSizeTestCase::testCommonFormatSize in tests/common.test
- Check that format_size() returns the expected string.
- CommonSizeTestCase::testCommonParseSize in tests/common.test
- Check that parse_size() returns the proper byte sizes.
- CommonSizeTestCase::testCommonParseSizeFormatSize in tests/common.test
- Cross-test parse_size() and format_size().
- CommonURLUnitTest::testDrupalGetQueryParameters in tests/common.test
- Test drupal_get_query_parameters().
- CommonURLUnitTest::testDrupalHttpBuildQuery in tests/common.test
- Test drupal_http_build_query().
- CommonURLUnitTest::testDrupalParseUrl in tests/common.test
- Test drupal_parse_url().
- CommonURLUnitTest::testExternalUrls in tests/common.test
- Test external URL handling.
- CommonURLUnitTest::testUrl in tests/common.test
- Test url() with/without query, with/without fragment, absolute on/off and
assert all that works when clean URLs are on and off.
- DatabaseAlter2TestCase::testAlterChangeFields in tests/database_test.test
- Test that we can alter the fields of a query.
- DatabaseAlter2TestCase::testAlterExpression in tests/database_test.test
- Test that we can alter expressions in the query.
- DatabaseAlter2TestCase::testAlterRemoveRange in tests/database_test.test
- Test that we can remove a range() value from a query. This also tests hook_query_TAG_alter().
- DatabaseAlterTestCase::testAlterChangeConditional in tests/database_test.test
- Test that we can alter a query's conditionals.
- DatabaseAlterTestCase::testAlterWithJoin in tests/database_test.test
- Test that we can alter the joins on a query.
- DatabaseAlterTestCase::testSimpleAlter in tests/database_test.test
- Test that we can do basic alters.
- DatabaseDeleteTruncateTestCase::testSimpleDelete in tests/database_test.test
- Confirm that we can delete a single record successfully.
- DatabaseDeleteTruncateTestCase::testTruncate in tests/database_test.test
- Confirm that we can truncate a whole table successfully.
- DatabaseExtraTypesTestCase::testDateField in tests/database_test.test
- Test the date data type.
- DatabaseExtraTypesTestCase::testTimeField in tests/database_test.test
- Test the time data type.
- DatabaseInsertDefaultsTestCase::testDefaultInsert in tests/database_test.test
- Test that we can run a query that is "default values for everything".
- DatabaseInsertDefaultsTestCase::testDefaultInsertWithFields in tests/database_test.test
- Test that we can insert fields with values and defaults in the same query.
- DatabaseLoggingTestCase::testEnableLogging in tests/database_test.test
- Test that we can log the existence of a query.
- DatabaseLoggingTestCase::testEnableMultiConnectionLogging in tests/database_test.test
- Test that we can log queries separately on different connections.
- DatabaseLoggingTestCase::testEnableMultiLogging in tests/database_test.test
- Test that we can run two logs in parallel.
- DatabaseLoggingTestCase::testEnableTargetLogging in tests/database_test.test
- Test that we can log queries against multiple targets on the same connection.
- DatabaseLoggingTestCase::testEnableTargetLoggingNoTarget in tests/database_test.test
- Test that logs to separate targets collapse to the same connection properly.
- DatabaseMergeTestCase::testMergeInsert in tests/database_test.test
- Confirm that we can merge-insert a record successfully.
- DatabaseMergeTestCase::testMergeInsertWithoutUpdate in tests/database_test.test
- Test that we can merge-insert without any update fields.
- DatabaseMergeTestCase::testMergeUpdate in tests/database_test.test
- Confirm that we can merge-update a record successfully.
- DatabaseMergeTestCase::testMergeUpdateExcept in tests/database_test.test
- Confirm that we can merge-update a record successfully, with exclusion.
- DatabaseMergeTestCase::testMergeUpdateExplicit in tests/database_test.test
- Confirm that we can merge-update a record successfully, with alternate replacement.
- DatabaseMergeTestCase::testMergeUpdateExpression in tests/database_test.test
- Confirm that we can merge-update a record successfully, with expressions.
- DatabaseMergeTestCase::testMergeUpdateWithoutUpdate in tests/database_test.test
- Confirm that we can merge-update without any update fields.
- DatabaseNextIdCase::testDbNextId in tests/database_test.test
- Test that the sequences API work.
- DatabaseQueryTestCase::testArraySubstitution in tests/database_test.test
- Test that we can specify an array of values in the query by simply passing in an array.
- DatabaseRangeQueryTestCase::testRangeQuery in tests/database_test.test
- Confirm that range query work and return correct result.
- DatabaseSelectComplexTestCase::testCountQuery in tests/database_test.test
- Test that we can generate a count query from a built query.
- DatabaseSelectComplexTestCase::testDefaultJoin in tests/database_test.test
- Test simple JOIN statements.
- DatabaseSelectComplexTestCase::testDistinct in tests/database_test.test
- Test distinct queries.
- DatabaseSelectComplexTestCase::testGroupBy in tests/database_test.test
- Test GROUP BY clauses.
- DatabaseSelectComplexTestCase::testGroupByAndHaving in tests/database_test.test
- Test GROUP BY and HAVING clauses together.
- DatabaseSelectComplexTestCase::testLeftOuterJoin in tests/database_test.test
- Test LEFT OUTER joins.
- DatabaseSelectComplexTestCase::testNestedConditions in tests/database_test.test
- Confirm that we can properly nest conditional clauses.
- DatabaseSelectComplexTestCase::testRange in tests/database_test.test
- Test range queries. The SQL clause varies with the database.
- DatabaseSelectOrderedTestCase::testSimpleSelectMultiOrdered in tests/database_test.test
- Test multiple order by.
- DatabaseSelectOrderedTestCase::testSimpleSelectOrdered in tests/database_test.test
- Test basic order by.
- DatabaseSelectOrderedTestCase::testSimpleSelectOrderedDesc in tests/database_test.test
- Test order by descending.
- DatabaseSelectPagerDefaultTestCase::testEvenPagerQuery in tests/database_test.test
- Confirm that a pager query returns the correct results.
- DatabaseSelectPagerDefaultTestCase::testHavingPagerQuery in tests/database_test.test
- Confirm that a paging query with a having expression returns valid results.
- DatabaseSelectPagerDefaultTestCase::testInnerPagerQuery in tests/database_test.test
- Confirm that a pager query with inner pager query returns valid results.
- DatabaseSelectPagerDefaultTestCase::testOddPagerQuery in tests/database_test.test
- Confirm that a pager query returns the correct results.
- DatabaseSelectSubqueryTestCase::testConditionSubquerySelect in tests/database_test.test
- Test that we can use a subquery in a FROM clause.
- DatabaseSelectSubqueryTestCase::testFromSubquerySelect in tests/database_test.test
- Test that we can use a subquery in a FROM clause.
- DatabaseSelectSubqueryTestCase::testJoinSubquerySelect in tests/database_test.test
- Test that we can use a subquery in a JOIN clause.
- DatabaseSelectTableSortDefaultTestCase::testTableSortQuery in tests/database_test.test
- Confirm that a tablesort query returns the correct results.
- DatabaseSelectTableSortDefaultTestCase::testTableSortQueryFirst in tests/database_test.test
- Confirm that if a tablesort's orderByHeader is called before another orderBy, that the header happens first.
- DatabaseSelectTestCase::testNotNullCondition in tests/database_test.test
- Test that we can find a record without a NULL value.
- DatabaseSelectTestCase::testNullCondition in tests/database_test.test
- Test that we can find a record with a NULL value.
- DatabaseSelectTestCase::testRandomOrder in tests/database_test.test
- Test that random ordering of queries works.
- DatabaseSelectTestCase::testSimpleSelect in tests/database_test.test
- Test rudimentary SELECT statements.
- DatabaseSelectTestCase::testSimpleSelectAllFields in tests/database_test.test
- Test adding all fields from a given table to a select statement.
- DatabaseSelectTestCase::testSimpleSelectConditional in tests/database_test.test
- Test basic conditionals on SELECT statements.
- DatabaseSelectTestCase::testSimpleSelectExpression in tests/database_test.test
- Test SELECT statements with expressions.
- DatabaseSelectTestCase::testSimpleSelectExpressionMultiple in tests/database_test.test
- Test SELECT statements with multiple expressions.
- DatabaseSelectTestCase::testSimpleSelectMultipleFields in tests/database_test.test
- Test adding multiple fields to a select statement at the same time.
- DatabaseSelectTestCase::testUnion in tests/database_test.test
- Test that we can UNION multiple Select queries together. This is
semantically equal to UNION DISTINCT, so we don't explicity test that.
- DatabaseSelectTestCase::testUnionAll in tests/database_test.test
- Test that we can UNION ALL multiple Select queries together.
- DatabaseTaggingTestCase::testMetaData in tests/database_test.test
- Test that we can attach meta data to a query object.
- DatabaseTemporaryQueryTestCase::testTemporaryQuery in tests/database_test.test
- Confirm that temporary tables work and are limited to one request.
- DatabaseUpdateComplexTestCase::testUpdateExpression in tests/database_test.test
- Test update with expression values.
- DatabaseUpdateComplexTestCase::testUpdateOnlyExpression in tests/database_test.test
- Test update with only expression values.
- DrupalAlterTestCase::testDrupalAlter in tests/common.test
- DrupalErrorCollectionUnitTest::assertError in tests/common.test
- Assert that a collected error matches what we are expecting.
- DrupalErrorCollectionUnitTest::testErrorCollect in tests/common.test
- Test that simpletest collects errors from the tested site.
- DrupalHTTPRequestTestCase::testDrupalHTTPRequest in tests/common.test
- DrupalHTTPRequestTestCase::testDrupalHTTPRequestRedirect in tests/common.test
- DrupalRenderUnitTestCase::testDrupalRenderThemeArguments in tests/common.test
- Test passing arguments to the theme function.
- DrupalSetContentTestCase::testRegions in tests/common.test
- Test setting and retrieving content for theme regions.
- DrupalWebTestCase::assertTitle in ./drupal_web_test_case.php
- Pass if the page title is the given string.
- DrupalWebTestCase::drupalCreateContentType in ./drupal_web_test_case.php
- Creates a custom content type based on default settings.
- FileCopyTest::testExistingError in tests/file.test
- Test that copying over an existing file fails when FILE_EXISTS_ERROR is
specified.
- FileCopyTest::testExistingRename in tests/file.test
- Test renaming when copying over a file that already exists.
- FileCopyTest::testExistingReplace in tests/file.test
- Test replacement when copying over a file that already exists.
- FileCopyTest::testNormal in tests/file.test
- Test file copying in the normal, base case.
- FileDirectoryTest::testFileCheckDirectory in tests/file.test
- Test the file_directory_path() function.
- FileDirectoryTest::testFileCreateNewFilepath in 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 tests/file.test
- This will test the filepath for a destination based on passed flags and
whether or not the file exists.
- FileDirectoryTest::testFileDirectoryPath in tests/file.test
- Check file_directory_path('public').
- FileDownloadTest::testPrivateFileTransfer in tests/file.test
- Test the private file transfer system.
- FileDownloadTest::testPublicFileTransfer in tests/file.test
- Test the public file transfer system.
- FileHookTestCase::assertFileHookCalled in tests/file.test
- Assert that a hook_file_* hook was called a certain number of times.
- FileLoadTest::testMultiple in tests/file.test
- This will test loading file data from the database.
- FileLoadTest::testSingleValues in tests/file.test
- Load a single file and ensure that the correct values are returned.
- FileMoveTest::testExistingError in tests/file.test
- Test that moving onto an existing file fails when FILE_EXISTS_ERROR is
specified.
- FileMoveTest::testExistingRename in tests/file.test
- Test renaming when moving onto a file that already exists.
- FileMoveTest::testExistingReplace in tests/file.test
- Test replacement when moving onto a file that already exists.
- FileMoveTest::testExistingReplaceSelf in tests/file.test
- Test replacement when moving onto itself.
- FileMoveTest::testNormal in tests/file.test
- Move a normal file.
- FileSaveDataTest::testExistingError in tests/file.test
- Test that file_save_data() fails overwriting an existing file.
- FileSaveDataTest::testExistingRename in tests/file.test
- Test file_save_data() when renaming around an existing file.
- FileSaveDataTest::testExistingReplace in tests/file.test
- Test file_save_data() when replacing an existing file.
- FileSaveDataTest::testWithFilename in tests/file.test
- Test the file_save_data() function when a filename is provided.
- FileSaveDataTest::testWithoutFilename in tests/file.test
- Test the file_save_data() function when no filename is provided.
- FileSaveTest::testFileSave in tests/file.test
- FileSaveUploadTest::testNormal in tests/file.test
- Test the file_save_upload() function.
- FileScanDirectoryTest::testOptionCallback in tests/file.test
- Check that the callback function is called correctly.
- FileScanDirectoryTest::testOptionKey in tests/file.test
- Check that key parameter sets the return value's key.
- FileScanDirectoryTest::testOptionMinDepth in tests/file.test
- Check that the min_depth options lets us ignore files in the starting
directory.
- FileScanDirectoryTest::testOptionNoMask in tests/file.test
- Check that the no-mask parameter is honored.
- FileScanDirectoryTest::testOptionRecurse in tests/file.test
- Check that the recurse option decends into subdirectories.
- FileScanDirectoryTest::testReturn in tests/file.test
- Check the format of the returned values.
- FileSpaceUsedTest::testStatus in tests/file.test
- Test the status fields
- FileSpaceUsedTest::testUser in tests/file.test
- Test different users with the default status.
- FileSpaceUsedTest::testUserAndStatus in tests/file.test
- Test both the user and status.
- FileTestCase::assertDirectoryPermissions in tests/file.test
- Helper function to test the permissions of a directory.
- FileTestCase::assertFilePermissions in tests/file.test
- Helper function to test the permissions of a file.
- FileTestCase::assertFileUnchanged in tests/file.test
- Check that two files have the same values for all fields other than the
timestamp.
- FileTestCase::assertSameFile in tests/file.test
- Check that two files are the same by comparing the fid and filepath.
- FileUnmanagedCopyTest::testNormal in tests/file.test
- Copy a normal file.
- FileUnmanagedMoveTest::testNormal in tests/file.test
- Move a normal file.
- FileUnmanagedSaveDataTest::testFileSaveData in tests/file.test
- Test the file_unmanaged_save_data() function.
- FileURLRewritingTest::testPublicCreatedFileURL in tests/file.test
- Test the generating of rewritten public created file URLs.
- FileURLRewritingTest::testShippedFileURL in tests/file.test
- Test the generating of rewritten shipped file URLs.
- FileValidateTest::testCallerValidation in tests/file.test
- Test that the validators passed into are checked.
- FileValidatorTest::testFileValidateExtensions in tests/file.test
- Test the file_validate_extensions() function.
- FileValidatorTest::testFileValidateImageResolution in tests/file.test
- This ensures the resolution of a specific file is within bounds.
The image will be resized if it's too large.
- FileValidatorTest::testFileValidateIsImage in tests/file.test
- This ensures a specific file is actually an image.
- FileValidatorTest::testFileValidateNameLength in tests/file.test
- This will ensure the filename length is valid.
- FileValidatorTest::testFileValidateSize in tests/file.test
- Test file_validate_size().
- FormAPITestCase::testDrupalFormSubmitInBatch in tests/form.test
- Check that we can run drupal_form_submit during a batch.
- FormStateValuesCleanTestCase::testFormStateValuesClean in tests/form.test
- Tests form_state_values_clean().
- FormsTestTypeCase::testFormCheckboxValue in tests/form.test
- Test form_type_checkbox_value() function for expected behavior.
- GraphUnitTest::assertComponents in tests/graph.test
- Verify expected components in a graph.
- GraphUnitTest::assertPaths in tests/graph.test
- Verify expected paths in a graph.
- GraphUnitTest::assertReversePaths in tests/graph.test
- Verify expected reverse paths in a graph.
- HookBootExitTestCase::testHookBootExit in tests/bootstrap.test
- Test calling of hook_boot() and hook_exit().
- ImageToolkitUnitTest::testCrop in tests/image.test
- Test the image_crop() function.
- ImageToolkitUnitTest::testDesaturate in tests/image.test
- Test the image_desaturate() function.
- ImageToolkitUnitTest::testLoad in tests/image.test
- Test the image_load() function.
- ImageToolkitUnitTest::testResize in tests/image.test
- Test the image_resize() function.
- ImageToolkitUnitTest::testRotate in tests/image.test
- Test the image_rotate() function.
- ImageToolkitUnitTest::testScale in tests/image.test
- Test the image_scale() function.
- ImageToolkitUnitTest::testScaleAndCrop in tests/image.test
- Test the image_scale_and_crop() function.
- JavaScriptTestCase::testAddFile in tests/common.test
- Test adding a JavaScript file.
- JavaScriptTestCase::testAddInline in tests/common.test
- Test adding inline scripts.
- JavaScriptTestCase::testAddSetting in tests/common.test
- Test adding settings.
- JavaScriptTestCase::testDefault in tests/common.test
- Test default JavaScript is empty.
- JavaScriptTestCase::testDifferentWeight in tests/common.test
- Test adding a JavaScript file with a different weight.
- JavaScriptTestCase::testLibraryAlter in tests/common.test
- Adds a JavaScript library to the page and alters it.
- JavaScriptTestCase::testLibraryNameConflicts in tests/common.test
- Tests that multiple modules can implement the same library.
- JavaScriptTestCase::testReset in tests/common.test
- Test to see if resetting the JavaScript empties the cache.
- MailTestCase::testPluggableFramework in tests/mail.test
- Assert that the pluggable mail system is functional.
- MenuIncTestCase::testMenuHiearchy in tests/menu.test
- Tests for menu hiearchy.
- MenuIncTestCase::testMenuItemHooks in tests/menu.test
- Test menu maintainance hooks.
- MenuIncTestCase::testMenuName in tests/menu.test
- Tests for menu_name parameter for hook_menu().
- MenuIncTestCase::testMenuSetItem in tests/menu.test
- Test menu_set_item().
- MenuRebuildTestCase::testMenuRebuildByVariable in tests/menu.test
- Test if the 'menu_rebuild_needed' variable triggers a menu_rebuild() call.
- ModuleUninstallTestCase::testUserPermsUninstalled in tests/module.test
- Tests the hook_modules_uninstalled() of the user module.
- RegistryParseFilesTestCase::testRegistryParseFiles in tests/registry.test
- testRegistryParseFiles
- SchemaTestCase::checkSchemaComment in tests/schema.test
- Checks that a table or column comment matches a given description.
- SchemaTestCase::testSchema in tests/schema.test
- SessionHttpsTestCase::testHttpsSession in tests/session.test
- SessionTestCase::testDataPersistence in tests/session.test
- Test data persistence via the session_test module callbacks. Also tests
drupal_session_count() since session data is already generated here.
- SessionTestCase::testEmptyAnonymousSession in tests/session.test
- Test that empty anonymous sessions are destroyed.
- SimpleTestFunctionalTest::confirmStubTestResults in ./simpletest.test
- Confirm that the stub test produced the desired results.
- SimpleTestFunctionalTest::testInternalBrowser in ./simpletest.test
- Test the internal browsers functionality.
- SimpleTestMailCaptureTestCase::testMailSend in ./simpletest.test
- Test to see if the wrapper function is executed correctly.
- SimpleTestURLTestCase::testGetAbsoluteUrl in ./simpletest.test
- Test DrupalWebTestCase::getAbsoluteUrl().
- StreamWrapperTest::testGetClassName in tests/file.test
- Test the getClassName() function.
- StreamWrapperTest::testGetInstanceByScheme in tests/file.test
- Test the file_stream_wrapper_get_instance_by_scheme() function.
- StreamWrapperTest::testGetValidStreamScheme in tests/file.test
- Test the scheme functions.
- StreamWrapperTest::testUriFunctions in tests/file.test
- Test the URI and target functions.
- TemplateUnitTest::testTemplateSuggestions in tests/theme.test
- Test function template_page_suggestions() for SA-CORE-2009-003.
- UnicodeUnitTest::helperTestStrLen in tests/unicode.test
- UnicodeUnitTest::helperTestStrToLower in tests/unicode.test
- UnicodeUnitTest::helperTestStrToUpper in tests/unicode.test
- UnicodeUnitTest::helperTestSubStr in tests/unicode.test
- UnicodeUnitTest::helperTestUcFirst in tests/unicode.test
- UnicodeUnitTest::testDecodeEntities in tests/unicode.test
- Test decode_entities().
- XMLRPCMessagesTestCase::testSizedMessages in tests/xmlrpc.test
- Make sure that XML-RPC can transfer large messages.
- XMLRPCValidator1IncTestCase::testValidator1 in tests/xmlrpc.test
- Run validator1 tests.