31 lines
1.1 KiB
YAML
31 lines
1.1 KiB
YAML
|
name: AbstractSessionHandlerTest
|
||
|
class_comment: null
|
||
|
dependencies:
|
||
|
- name: TestCase
|
||
|
type: class
|
||
|
source: PHPUnit\Framework\TestCase
|
||
|
properties:
|
||
|
- name: server
|
||
|
visibility: private
|
||
|
comment: '# @var resource|false'
|
||
|
methods:
|
||
|
- name: testSession
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: fixture
|
||
|
comment: "# @var resource|false */\n# private static $server;\n# \n# public static\
|
||
|
\ function setUpBeforeClass(): void\n# {\n# $spec = [\n# 1 => ['file', '/dev/null',\
|
||
|
\ 'w'],\n# 2 => ['file', '/dev/null', 'w'],\n# ];\n# if (!self::$server = @proc_open('exec\
|
||
|
\ '.\\PHP_BINARY.' -S localhost:8053', $spec, $pipes, __DIR__.'/Fixtures')) {\n\
|
||
|
# self::markTestSkipped('PHP server unable to start.');\n# }\n# sleep(1);\n# }\n\
|
||
|
# \n# public static function tearDownAfterClass(): void\n# {\n# if (self::$server)\
|
||
|
\ {\n# proc_terminate(self::$server);\n# proc_close(self::$server);\n# }\n# }\n\
|
||
|
# \n# /**\n# * @dataProvider provideSession"
|
||
|
- name: provideSession
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
traits:
|
||
|
- PHPUnit\Framework\TestCase
|
||
|
interfaces: []
|