REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 1.31 KB
Close
//opt/alt/php53/usr/share/pear/test/Form/Symfony/Component/Form/Tests/Extension/DataCollector/DataCollectorExtensionTest.php
Text
Base64
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Form\Tests\Extension\DataCollector; use Symfony\Component\Form\Extension\DataCollector\DataCollectorExtension; /** * @covers Symfony\Component\Form\Extension\DataCollector\DataCollectorExtension */ class DataCollectorExtensionTest extends \PHPUnit_Framework_TestCase { /** * @var DataCollectorExtension */ private $extension; /** * @var \PHPUnit_Framework_MockObject_MockObject */ private $dataCollector; public function setUp() { $this->dataCollector = $this->getMock('Symfony\Component\Form\Extension\DataCollector\FormDataCollectorInterface'); $this->extension = new DataCollectorExtension($this->dataCollector); } public function testLoadTypeExtensions() { $typeExtensions = $this->extension->getTypeExtensions('form'); $this->assertInternalType('array', $typeExtensions); $this->assertCount(1, $typeExtensions); $this->assertInstanceOf('Symfony\Component\Form\Extension\DataCollector\Type\DataCollectorTypeExtension', array_shift($typeExtensions)); } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 1 × Files: 3
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
Type
DIR
-
drwxr-xr-x
2024-03-03 22:55:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
DataCollectorExtensionTest.php
1.31 KB
lrw-r--r--
2019-12-18 11:20:41
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
FormDataCollectorTest.php
15.74 KB
lrw-r--r--
2019-12-18 11:20:41
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
FormDataExtractorTest.php
11.22 KB
lrw-r--r--
2019-12-18 11:20:41
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).