$87 GRAYBYTE WORDPRESS FILE MANAGER $97

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/php54/usr/share/pear/test/Routing/Symfony/Component/Routing/Tests/

HOME
Current File : /opt/alt/php54/usr/share/pear/test/Routing/Symfony/Component/Routing/Tests//CompiledRouteTest.php
<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <[email protected]>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\Routing\Tests;

use Symfony\Component\Routing\CompiledRoute;

class CompiledRouteTest extends \PHPUnit_Framework_TestCase
{
    public function testAccessors()
    {
        $compiled = new CompiledRoute('prefix', 'regex', array('tokens'), array(), array(), array(), array(), array('variables'));
        $this->assertEquals('prefix', $compiled->getStaticPrefix(), '__construct() takes a static prefix as its second argument');
        $this->assertEquals('regex', $compiled->getRegex(), '__construct() takes a regexp as its third argument');
        $this->assertEquals(array('tokens'), $compiled->getTokens(), '__construct() takes an array of tokens as its fourth argument');
        $this->assertEquals(array('variables'), $compiled->getVariables(), '__construct() takes an array of variables as its ninth argument');
    }
}


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.54 PM
root / root
0755
Annotation
--
3 Mar 2024 10.54 PM
root / root
0755
Fixtures
--
3 Mar 2024 10.54 PM
root / root
0755
Generator
--
3 Mar 2024 10.54 PM
root / root
0755
Loader
--
3 Mar 2024 10.54 PM
root / root
0755
Matcher
--
3 Mar 2024 10.54 PM
root / root
0755
CompiledRouteTest.php
1.069 KB
18 Dec 2019 11.22 AM
root / root
0644
RequestContextTest.php
3.469 KB
18 Dec 2019 11.22 AM
root / root
0644
RouteCollectionTest.php
13.812 KB
18 Dec 2019 11.22 AM
root / root
0644
RouteCompilerTest.php
10.341 KB
18 Dec 2019 11.22 AM
root / root
0644
RouteTest.php
11.22 KB
18 Dec 2019 11.22 AM
root / root
0644
RouterTest.php
5.026 KB
18 Dec 2019 11.22 AM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF