68 lines
2.1 KiB
YAML
68 lines
2.1 KiB
YAML
|
name: AbstractProxyTest
|
||
|
class_comment: '# * Test class for AbstractProxy.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @author Drak <drak@zikula.org>'
|
||
|
dependencies:
|
||
|
- name: TestCase
|
||
|
type: class
|
||
|
source: PHPUnit\Framework\TestCase
|
||
|
- name: AbstractProxy
|
||
|
type: class
|
||
|
source: Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy
|
||
|
- name: SessionHandlerProxy
|
||
|
type: class
|
||
|
source: Symfony\Component\HttpFoundation\Session\Storage\Proxy\SessionHandlerProxy
|
||
|
properties: []
|
||
|
methods:
|
||
|
- name: testIsActive
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: "# * Test class for AbstractProxy.\n# *\n# * @author Drak <drak@zikula.org>\n\
|
||
|
# */\n# class AbstractProxyTest extends TestCase\n# {\n# protected AbstractProxy\
|
||
|
\ $proxy;\n# \n# protected function setUp(): void\n# {\n# $this->proxy = new class\
|
||
|
\ extends AbstractProxy {};\n# }\n# \n# public function testGetSaveHandlerName()\n\
|
||
|
# {\n# $this->assertNull($this->proxy->getSaveHandlerName());\n# }\n# \n# public\
|
||
|
\ function testIsSessionHandlerInterface()\n# {\n# $this->assertFalse($this->proxy->isSessionHandlerInterface());\n\
|
||
|
# $sh = new SessionHandlerProxy(new \\SessionHandler());\n# $this->assertTrue($sh->isSessionHandlerInterface());\n\
|
||
|
# }\n# \n# public function testIsWrapper()\n# {\n# $this->assertFalse($this->proxy->isWrapper());\n\
|
||
|
# }\n# \n# /**\n# * @runInSeparateProcess\n# *\n# * @preserveGlobalState disabled"
|
||
|
- name: testName
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: '# * @runInSeparateProcess
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @preserveGlobalState disabled'
|
||
|
- name: testNameException
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: '# * @runInSeparateProcess
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @preserveGlobalState disabled'
|
||
|
- name: testId
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: '# * @runInSeparateProcess
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @preserveGlobalState disabled'
|
||
|
- name: testIdException
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: '# * @runInSeparateProcess
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @preserveGlobalState disabled'
|
||
|
traits:
|
||
|
- PHPUnit\Framework\TestCase
|
||
|
- Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy
|
||
|
- Symfony\Component\HttpFoundation\Session\Storage\Proxy\SessionHandlerProxy
|
||
|
interfaces: []
|