Search for test

  1. Search 7.x for test
  2. Search 9.5.x for test
  3. Search 8.9.x for test
  4. Search 10.3.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
SessionConfigurationTest::testEnforcedSessionNameViaCookieDomain function core/tests/Drupal/Tests/Core/Session/SessionConfigurationTest.php Tests whether the session.name ini settings is computed correctly.
SessionConfigurationTest::testGeneratedCookieDomain function core/tests/Drupal/Tests/Core/Session/SessionConfigurationTest.php Tests whether the session.cookie_domain ini settings is computed correctly.
SessionConfigurationTest::testGeneratedSessionName function core/tests/Drupal/Tests/Core/Session/SessionConfigurationTest.php Tests whether the session.name ini settings is computed correctly.
SessionConfigurationTest::testSameSiteCookie function core/tests/Drupal/Tests/Core/Session/SessionConfigurationTest.php Test that session.cookie_samesite is configured correctly.
SessionExistsCacheContextTest class core/modules/system/tests/src/Functional/Cache/SessionExistsCacheContextTest.php Tests the 'session.exists' cache context service.
SessionExistsCacheContextTest.php file core/modules/system/tests/src/Functional/Cache/SessionExistsCacheContextTest.php
SessionExistsCacheContextTest::$defaultTheme property core/modules/system/tests/src/Functional/Cache/SessionExistsCacheContextTest.php The theme to install as the default for testing.
SessionExistsCacheContextTest::$modules property core/modules/system/tests/src/Functional/Cache/SessionExistsCacheContextTest.php Modules to install.
SessionExistsCacheContextTest::assertSessionCookieOnClient function core/modules/system/tests/src/Functional/Cache/SessionExistsCacheContextTest.php Asserts whether a session cookie is present on the client or not.
SessionExistsCacheContextTest::testCacheContext function core/modules/system/tests/src/Functional/Cache/SessionExistsCacheContextTest.php Tests \Drupal\Core\Cache\Context\SessionExistsCacheContext::getContext().
SessionExistsCacheContextTestHooks class core/modules/system/tests/modules/session_exists_cache_context_test/src/Hook/SessionExistsCacheContextTestHooks.php Hook implementations for session_exists_cache_context_test.
SessionExistsCacheContextTestHooks.php file core/modules/system/tests/modules/session_exists_cache_context_test/src/Hook/SessionExistsCacheContextTestHooks.php
SessionExistsCacheContextTestHooks::pageTop function core/modules/system/tests/modules/session_exists_cache_context_test/src/Hook/SessionExistsCacheContextTestHooks.php Implements hook_page_top().
SessionHttpsTest class core/modules/system/tests/src/Functional/Session/SessionHttpsTest.php Ensure that when running under HTTPS two session cookies are generated.
SessionHttpsTest.php file core/modules/system/tests/src/Functional/Session/SessionHttpsTest.php
SessionHttpsTest::$defaultTheme property core/modules/system/tests/src/Functional/Session/SessionHttpsTest.php The theme to install as the default for testing.
SessionHttpsTest::$insecureSessionName property core/modules/system/tests/src/Functional/Session/SessionHttpsTest.php The name of the session cookie when using HTTP.
SessionHttpsTest::$modules property core/modules/system/tests/src/Functional/Session/SessionHttpsTest.php Modules to install.
SessionHttpsTest::$secureSessionName property core/modules/system/tests/src/Functional/Session/SessionHttpsTest.php The name of the session cookie when using HTTPS.
SessionHttpsTest::assertSessionIds function core/modules/system/tests/src/Functional/Session/SessionHttpsTest.php Tests that there exists a session with two specific session IDs.
SessionHttpsTest::getGuzzleCookieJar function core/modules/system/tests/src/Functional/Session/SessionHttpsTest.php Creates a new Guzzle CookieJar with a Xdebug cookie if necessary.
SessionHttpsTest::getPathFromLocationHeader function core/modules/system/tests/src/Functional/Session/SessionHttpsTest.php Extracts internal path from the location header on the response.
SessionHttpsTest::getUserLoginFormBuildId function core/modules/system/tests/src/Functional/Session/SessionHttpsTest.php Gets the form build ID for the user login form.
SessionHttpsTest::httpsUrl function core/modules/system/tests/src/Functional/Session/SessionHttpsTest.php Builds a URL for submitting a mock HTTPS request to HTTP test environments.
SessionHttpsTest::httpUrl function core/modules/system/tests/src/Functional/Session/SessionHttpsTest.php Builds a URL for submitting a mock HTTP request to HTTPS test environments.
SessionHttpsTest::loginHttp function core/modules/system/tests/src/Functional/Session/SessionHttpsTest.php Log in a user via HTTP.
SessionHttpsTest::loginHttps function core/modules/system/tests/src/Functional/Session/SessionHttpsTest.php Log in a user via HTTPS.
SessionHttpsTest::setUp function core/modules/system/tests/src/Functional/Session/SessionHttpsTest.php
SessionHttpsTest::testHttpsSession function core/modules/system/tests/src/Functional/Session/SessionHttpsTest.php Tests HTTPS sessions.
SessionManagerDestroyNoCliCheckTest class core/tests/Drupal/KernelTests/Core/Session/SessionManagerDestroyNoCliCheckTest.php Tests starting and destroying a session from the CLI.
SessionManagerDestroyNoCliCheckTest.php file core/tests/Drupal/KernelTests/Core/Session/SessionManagerDestroyNoCliCheckTest.php
SessionManagerDestroyNoCliCheckTest::testCallSessionManagerStartAndDestroy function core/tests/Drupal/KernelTests/Core/Session/SessionManagerDestroyNoCliCheckTest.php Tests starting and destroying a session from the CLI.
SessionManagerTest class core/tests/Drupal/Tests/Core/Session/SessionManagerTest.php Tests Drupal\Core\Session\SessionManager.
SessionManagerTest.php file core/tests/Drupal/Tests/Core/Session/SessionManagerTest.php
SessionManagerTest::testDeprecatedMiddlewaresArgument function core/tests/Drupal/Tests/Core/Session/SessionManagerTest.php Tests that session manager is constructed with deprecated argument list.
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::$modules property core/tests/Drupal/FunctionalJavascriptTests/Core/Session/SessionTest.php Modules to install.
SessionTest::$modules property core/modules/system/tests/src/Functional/Session/SessionTest.php Modules to install.
SessionTest::assertSessionCookie function core/modules/system/tests/src/Functional/Session/SessionTest.php Assert whether the test browser sent a session cookie.
SessionTest::assertSessionEmpty function core/modules/system/tests/src/Functional/Session/SessionTest.php Assert whether the 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::testAnonymousSessionFixation function core/modules/system/tests/src/Functional/Session/SessionTest.php Tests that an invalid session ID in the cookie is rejected.
SessionTest::testDataPersistence function core/modules/system/tests/src/Functional/Session/SessionTest.php Tests data persistence via the session_test module callbacks.
SessionTest::testEmptyAnonymousSession function core/modules/system/tests/src/Functional/Session/SessionTest.php Tests that empty anonymous sessions are destroyed.

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