Search for test

  1. Search 9.5.x for test
  2. Search 8.9.x for test
  3. Search 10.3.x for test
  4. Search 11.x for test
  5. Other projects
Title Object type File name Summary
SessionTestCase class modules/simpletest/tests/session.test @file
Provides SimpleTests for core session handling functionality.
SessionTestCase::$_logged_in property modules/simpletest/tests/session.test
SessionTestCase::assertSessionCookie function modules/simpletest/tests/session.test Assert whether the SimpleTest browser sent a session cookie.
SessionTestCase::assertSessionEmpty function modules/simpletest/tests/session.test Assert whether $_SESSION is empty at the beginning of the request.
SessionTestCase::getInfo function modules/simpletest/tests/session.test
SessionTestCase::httpsUrl function modules/simpletest/tests/session.test Builds a URL for submitting a mock HTTPS request to HTTP test environments.
SessionTestCase::sessionReset function modules/simpletest/tests/session.test Reset the cookie file so that it refers to the specified user.
SessionTestCase::setUp function modules/simpletest/tests/session.test Sets up a Drupal site for running functional and integration tests.
SessionTestCase::testDataPersistence function modules/simpletest/tests/session.test Test data persistence via the session_test module callbacks.
SessionTestCase::testEmptyAnonymousSession function modules/simpletest/tests/session.test Test that empty anonymous sessions are destroyed.
SessionTestCase::testEmptySessionID function modules/simpletest/tests/session.test Test that empty session IDs are not allowed.
SessionTestCase::testHashedSessionIds function modules/simpletest/tests/session.test Test hashing of session ids in the database.
SessionTestCase::testHashedSessionIdsOptOut function modules/simpletest/tests/session.test Test opt-out of hashing of session ids in the database.
SessionTestCase::testNoSameSiteCookieAttributeDefault function modules/simpletest/tests/session.test Test absence of SameSite attribute on session cookies by default.
SessionTestCase::testSameSiteCookieAttributeDisabledViaConf function modules/simpletest/tests/session.test Test disabling the samesite attribute on session cookies via $conf
SessionTestCase::testSameSiteCookieAttributeDisabledViaPhpIni function modules/simpletest/tests/session.test Test disabling the samesite attribute on session cookies via php ini
SessionTestCase::testSameSiteCookieAttributeLax function modules/simpletest/tests/session.test Test SameSite attribute = Lax on session cookies.
SessionTestCase::testSameSiteCookieAttributeNone function modules/simpletest/tests/session.test Test SameSite attribute = None on session cookies.
SessionTestCase::testSameSiteCookieAttributeNoneSecure function modules/simpletest/tests/session.test Test SameSite attribute = None by default on Secure session cookies.
SessionTestCase::testSameSiteCookieAttributeStrict function modules/simpletest/tests/session.test Test SameSite attribute = Strict on session cookies.
SessionTestCase::testSamesiteCookieLogoutLax function modules/simpletest/tests/session.test Test SameSite attribute = Lax on set-cookie header on logout.
SessionTestCase::testSamesiteCookieOverrideLaxToStrict function modules/simpletest/tests/session.test Test overriding the PHP setting for session.cookie_samesite with the
samesite_cookie_value variable.
SessionTestCase::testSamesiteCookiePhpSettingLax function 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.
SessionTestCase::testSessionSaveRegenerate function modules/simpletest/tests/session.test Tests for drupal_save_session() and drupal_session_regenerate().
SessionTestCase::testSessionWrite function modules/simpletest/tests/session.test Test that sessions are only saved when necessary.
SessionUnitTestCase class modules/simpletest/tests/session.test Unit tests for session handling.
SessionUnitTestCase::getInfo function modules/simpletest/tests/session.test
SessionUnitTestCase::testCookieDomain function modules/simpletest/tests/session.test
SessionUnitTestCase::testSessionInitialization function modules/simpletest/tests/session.test Unit test drupal_settings_initialize().
session_test.info file modules/simpletest/tests/session_test.info name = "Session test"
description = "Support module for session data testing."
package = Testing
version = VERSION
core = 7.x
hidden = TRUE
session_test.module file modules/simpletest/tests/session_test.module
session_test_boot function modules/simpletest/tests/session_test.module Implements hook_boot().
session_test_drupal_goto_alter function modules/simpletest/tests/session_test.module Implements hook_drupal_goto_alter().
session_test_form_user_login_alter function modules/simpletest/tests/session_test.module Implements hook_form_FORM_ID_alter().
session_test_menu function modules/simpletest/tests/session_test.module Implements hook_menu().
session_test_user_login function modules/simpletest/tests/session_test.module Implements hook_user().
shortcut.test file modules/shortcut/shortcut.test Tests for shortcut.module.
ShortcutLinksTestCase class modules/shortcut/shortcut.test Defines shortcut links test cases.
ShortcutLinksTestCase::getInfo function modules/shortcut/shortcut.test
ShortcutLinksTestCase::testNoShortcutLink function modules/shortcut/shortcut.test Tests that the add shortcut link is not displayed for 404/403 errors.
ShortcutLinksTestCase::testShortcutLinkAdd function modules/shortcut/shortcut.test Tests that creating a shortcut works properly.
ShortcutLinksTestCase::testShortcutLinkChangePath function modules/shortcut/shortcut.test Tests that changing the path of a shortcut link works.
ShortcutLinksTestCase::testShortcutLinkDelete function modules/shortcut/shortcut.test Tests deleting a shortcut link.
ShortcutLinksTestCase::testShortcutLinkRename function modules/shortcut/shortcut.test Tests that shortcut links can be renamed.
ShortcutLinksTestCase::testShortcutQuickLink function modules/shortcut/shortcut.test Tests that the "add to shortcut" link changes to "remove shortcut".
ShortcutSetsTestCase class modules/shortcut/shortcut.test Defines shortcut set test cases.
ShortcutSetsTestCase::getInfo function modules/shortcut/shortcut.test
ShortcutSetsTestCase::testShortcutSetAdd function modules/shortcut/shortcut.test Tests creating a shortcut set.
ShortcutSetsTestCase::testShortcutSetAssign function modules/shortcut/shortcut.test Tests switching another user's shortcut set.
ShortcutSetsTestCase::testShortcutSetDelete function modules/shortcut/shortcut.test Tests deleting a shortcut set.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.