Documentation

RouterTest extends TestCase
in package

Table of Contents

$router  : Router
setUp()  : void
testCreateRoute()  : mixed
Tests the creation of routes. This will just request the router to create a route and verify that the returned value is a Route and not something else.
testMixedURLS()  : mixed
testOptionalParameters()  : mixed
testStringRoute()  : mixed
This method tests the different string rewriting options that Spitfire will provide you with when creating routes.
testTrailingSlashStringRoute()  : mixed
testTrailingSlashStringRoute2()  : mixed
testURLReversal()  : mixed

Properties

Methods

setUp()

public setUp() : void
Return values
void

testCreateRoute()

Tests the creation of routes. This will just request the router to create a route and verify that the returned value is a Route and not something else.

public testCreateRoute() : mixed
Return values
mixed

testMixedURLS()

public testMixedURLS() : mixed
Return values
mixed

testOptionalParameters()

public testOptionalParameters() : mixed
Return values
mixed

testStringRoute()

This method tests the different string rewriting options that Spitfire will provide you with when creating routes.

public testStringRoute() : mixed
Return values
mixed

testTrailingSlashStringRoute()

public testTrailingSlashStringRoute() : mixed
Return values
mixed

testTrailingSlashStringRoute2()

public testTrailingSlashStringRoute2() : mixed
Return values
mixed

testURLReversal()

public testURLReversal() : mixed
Return values
mixed

Search results