class UrlGeneratorTest

Same name in this branch

Basic tests for the Route.

@group Routing

Hierarchy

Expanded class hierarchy of UrlGeneratorTest

File

drupal/core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php, line 31
Contains Drupal\Tests\Core\Routing\UrlGeneratorTest.

Namespace

Drupal\Tests\Core\Routing
View source

Members

Namesort descending Modifiers Type Description Overrides
UnitTestCase::getConfigFactoryStub public function Returns a stub config factory that behaves according to the passed in array.
UnitTestCase::getConfigStorageStub public function Returns a stub config storage that returns the supplied configuration.
UnitTestCase::randomName public static function Generates a random string containing letters and numbers.
UrlGeneratorTest::$aliasManager protected property
UrlGeneratorTest::$generator protected property
UrlGeneratorTest::getInfo public static function This method exists to support the simpletest UI runner. Overrides UnitTestCase::getInfo
UrlGeneratorTest::setUp function
UrlGeneratorTest::testAbsoluteURLGeneration public function Confirms that absolute URLs work with generated routes.
UrlGeneratorTest::testAliasGeneration public function Confirms that generated routes will have aliased paths.
UrlGeneratorTest::testAliasGenerationWithParameters public function Confirms that generated routes will have aliased paths.
UrlGeneratorTest::testPathBasedURLGeneration public function Tests path-based URL generation.