Search for test

  1. Search 7.x for test
  2. Search 9.5.x for test
  3. Search 10.3.x for test
  4. Search 11.x for test
  5. Search main for test
  6. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Test class core/modules/media/tests/modules/media_test_source/src/Plugin/media/Source/Test.php Provides test media source.
Test class core/modules/system/tests/modules/test_page_test/src/Controller/Test.php Defines a test controller for page titles.

All search results

Title Object type File name Summary
SessionHttpsTest::testHttpsSession function core/modules/system/tests/src/Functional/Session/SessionHttpsTest.php Tests HTTPS sessions.
SessionManager::migrateStoredSession function core/lib/Drupal/Core/Session/SessionManager.php Migrates the current session to a new session id.
SessionTest class core/modules/system/tests/src/Functional/Session/SessionTest.php Drupal session handling tests.
SessionTest class core/tests/Drupal/FunctionalJavascriptTests/Core/Session/SessionTest.php Tests that sessions don't expire.
SessionTest.php file core/tests/Drupal/FunctionalJavascriptTests/Core/Session/SessionTest.php
SessionTest.php file core/modules/system/tests/src/Functional/Session/SessionTest.php
SessionTest::$defaultTheme property core/modules/system/tests/src/Functional/Session/SessionTest.php The theme to install as the default for testing.
SessionTest::$defaultTheme property core/tests/Drupal/FunctionalJavascriptTests/Core/Session/SessionTest.php The theme to install as the default for testing.
SessionTest::$dumpHeaders property core/modules/system/tests/src/Functional/Session/SessionTest.php
SessionTest::$modules property core/modules/system/tests/src/Functional/Session/SessionTest.php Modules to enable.
SessionTest::$modules property core/tests/Drupal/FunctionalJavascriptTests/Core/Session/SessionTest.php Modules to enable.
SessionTest::assertSessionCookie function core/modules/system/tests/src/Functional/Session/SessionTest.php Assert whether the SimpleTest browser sent a session cookie.
SessionTest::assertSessionEmpty function core/modules/system/tests/src/Functional/Session/SessionTest.php Assert whether $_SESSION is empty at the beginning of the request.
SessionTest::sessionReset function core/modules/system/tests/src/Functional/Session/SessionTest.php Reset the cookie file so that it refers to the specified user.
SessionTest::setUp function core/tests/Drupal/FunctionalJavascriptTests/Core/Session/SessionTest.php
SessionTest::testDataPersistence function core/modules/system/tests/src/Functional/Session/SessionTest.php Test data persistence via the session_test module callbacks.
SessionTest::testEmptyAnonymousSession function core/modules/system/tests/src/Functional/Session/SessionTest.php Test that empty anonymous sessions are destroyed.
SessionTest::testEmptySessionID function core/modules/system/tests/src/Functional/Session/SessionTest.php Test that empty session IDs are not allowed.
SessionTest::testSessionBag function core/modules/system/tests/src/Functional/Session/SessionTest.php Test session bag.
SessionTest::testSessionExpiration function core/tests/Drupal/FunctionalJavascriptTests/Core/Session/SessionTest.php Tests that the session doesn't expire.
SessionTest::testSessionPersistenceOnLogin function core/modules/system/tests/src/Functional/Session/SessionTest.php Tests storing data in Session() object.
SessionTest::testSessionSaveRegenerate function core/modules/system/tests/src/Functional/Session/SessionTest.php Tests for \Drupal\Core\Session\WriteSafeSessionHandler::setSessionWritable()
::isSessionWritable and \Drupal\Core\Session\SessionManager::regenerate().
SessionTest::testSessionWrite function core/modules/system/tests/src/Functional/Session/SessionTest.php Test that sessions are only saved when necessary.
SessionTestController class core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php Controller providing page callbacks for the action admin interface.
SessionTestController.php file core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php
SessionTestController::clearSessionBagFlag function core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php Clears the test flag from the session test bag.
SessionTestController::get function core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php Prints the stored session value to the screen.
SessionTestController::getFromSessionObject function core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php Prints the stored session value to the screen.
SessionTestController::getId function core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php Print the current session ID.
SessionTestController::getIdFromCookie function core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php Print the current session ID as read from the cookie.
SessionTestController::getSession function core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php Returns the values stored in the active session and the user ID.
SessionTestController::hasSessionBagFlag function core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php Prints a message if the flag in the session bag is set.
SessionTestController::isLoggedIn function core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php Only available if current user is logged in.
SessionTestController::noSet function core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php Turns off session saving and then tries to save a value
anyway.
SessionTestController::set function core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php Stores a value in $_SESSION['session_test_value'].
SessionTestController::setMessage function core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php Sets a message to me displayed on the following page.
SessionTestController::setMessageButDoNotSave function core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php Sets a message but call drupal_save_session(FALSE).
SessionTestController::setSession function core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php Sets a test value on the session.
SessionTestController::setSessionBagFlag function core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php Sets the test flag in the session test bag.
SessionTestController::traceHandler function core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php Returns the trace recorded by test proxy session handlers as JSON.
SessionTestForm class core/modules/system/tests/modules/session_test/src/Form/SessionTestForm.php Form controller for the test config edit forms.
SessionTestForm.php file core/modules/system/tests/modules/session_test/src/Form/SessionTestForm.php
SessionTestForm::buildForm function core/modules/system/tests/modules/session_test/src/Form/SessionTestForm.php Form constructor.
SessionTestForm::getFormId function core/modules/system/tests/modules/session_test/src/Form/SessionTestForm.php Returns a unique string identifying the form.
SessionTestForm::submitForm function core/modules/system/tests/modules/session_test/src/Form/SessionTestForm.php Form submission handler.
SessionTestSubscriber class core/modules/system/tests/modules/session_test/src/EventSubscriber/SessionTestSubscriber.php Defines a test session subscriber that checks whether the session is empty.
SessionTestSubscriber.php file core/modules/system/tests/modules/session_test/src/EventSubscriber/SessionTestSubscriber.php
SessionTestSubscriber::$emptySession property core/modules/system/tests/modules/session_test/src/EventSubscriber/SessionTestSubscriber.php Stores whether $_SESSION is empty at the beginning of the request.
SessionTestSubscriber::getSubscribedEvents function core/modules/system/tests/modules/session_test/src/EventSubscriber/SessionTestSubscriber.php Registers the methods in this class that should be listeners.
SessionTestSubscriber::onKernelRequestSessionTest function core/modules/system/tests/modules/session_test/src/EventSubscriber/SessionTestSubscriber.php Set header for session testing.

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