api/symfony/Component/HttpFoundation/Tests/Session/Storage/NativeSessionStorageTest.yaml

156 lines
3.8 KiB
YAML
Raw Normal View History

2024-09-26 09:03:21 +00:00
name: NativeSessionStorageTest
class_comment: '# * Test class for NativeSessionStorage.
# *
# * @author Drak <drak@zikula.org>
# *
# * These tests require separate processes.
# *
# * @runTestsInSeparateProcesses
# *
# * @preserveGlobalState disabled'
dependencies:
- name: TestCase
type: class
source: PHPUnit\Framework\TestCase
- name: AttributeBag
type: class
source: Symfony\Component\HttpFoundation\Session\Attribute\AttributeBag
- name: FlashBag
type: class
source: Symfony\Component\HttpFoundation\Session\Flash\FlashBag
- name: NativeFileSessionHandler
type: class
source: Symfony\Component\HttpFoundation\Session\Storage\Handler\NativeFileSessionHandler
- name: NullSessionHandler
type: class
source: Symfony\Component\HttpFoundation\Session\Storage\Handler\NullSessionHandler
- name: NativeSessionStorage
type: class
source: Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage
- name: SessionHandlerProxy
type: class
source: Symfony\Component\HttpFoundation\Session\Storage\Proxy\SessionHandlerProxy
properties:
- name: initialSessionSaveHandler
visibility: private
comment: null
- name: initialSessionSavePath
visibility: private
comment: null
methods:
- name: setUp
visibility: protected
parameters: []
comment: null
- name: tearDown
visibility: protected
parameters: []
comment: null
- name: getStorage
visibility: protected
parameters:
- name: options
default: '[]'
comment: null
- name: testBag
visibility: public
parameters: []
comment: null
- name: testRegisterBagException
visibility: public
parameters: []
comment: null
- name: testRegisterBagForAStartedSessionThrowsException
visibility: public
parameters: []
comment: null
- name: testGetId
visibility: public
parameters: []
comment: null
- name: testRegenerate
visibility: public
parameters: []
comment: null
- name: testRegenerateDestroy
visibility: public
parameters: []
comment: null
- name: testRegenerateWithCustomLifetime
visibility: public
parameters: []
comment: null
- name: testSessionGlobalIsUpToDateAfterIdRegeneration
visibility: public
parameters: []
comment: null
- name: testRegenerationFailureDoesNotFlagStorageAsStarted
visibility: public
parameters: []
comment: null
- name: testDefaultSessionCacheLimiter
visibility: public
parameters: []
comment: null
- name: testExplicitSessionCacheLimiter
visibility: public
parameters: []
comment: null
- name: testCookieOptions
visibility: public
parameters: []
comment: null
- name: testSessionOptions
visibility: public
parameters: []
comment: null
- name: testSetSaveHandler
visibility: public
parameters: []
comment: null
- name: testStarted
visibility: public
parameters: []
comment: null
- name: testRestart
visibility: public
parameters: []
comment: null
- name: testCanCreateNativeSessionStorageWhenSessionAlreadyStarted
visibility: public
parameters: []
comment: null
- name: testSetSessionOptionsOnceSessionStartedIsIgnored
visibility: public
parameters: []
comment: null
- name: testGetBagsOnceSessionStartedIsIgnored
visibility: public
parameters: []
comment: null
- name: testRegenerateInvalidSessionIdForNativeFileSessionHandler
visibility: public
parameters: []
comment: null
- name: testSaveHandlesNullSessionGracefully
visibility: public
parameters: []
comment: null
traits:
- PHPUnit\Framework\TestCase
- Symfony\Component\HttpFoundation\Session\Attribute\AttributeBag
- Symfony\Component\HttpFoundation\Session\Flash\FlashBag
- Symfony\Component\HttpFoundation\Session\Storage\Handler\NativeFileSessionHandler
- Symfony\Component\HttpFoundation\Session\Storage\Handler\NullSessionHandler
- Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage
- Symfony\Component\HttpFoundation\Session\Storage\Proxy\SessionHandlerProxy
interfaces: []