RouteTest
extends TestCase
in package
Table of Contents
- getInvalidRequirements() : mixed
- testCompile() : mixed
- testCondition() : mixed
- testConstructor() : mixed
- testDefaults() : mixed
- testHost() : mixed
- testMethod() : mixed
- testOption() : mixed
- testOptions() : mixed
- testPath() : mixed
- testRequirement() : mixed
- testRequirements() : mixed
- testScheme() : mixed
- testSerialize() : mixed
- testSerializedRepresentationKeepsWorking() : mixed
- Tests that the serialized representation of a route in one symfony version also works in later symfony versions, i.e. the unserialized route is in the same state as another, semantically equivalent, route.
- testSerializeWhenCompiled() : mixed
- Tests that the compiled version is also serialized to prevent the overhead of compiling it again after unserialize.
- testSerializeWhenCompiledWithClass() : mixed
- Tests that unserialization does not fail when the compiled Route is of a class other than CompiledRoute, such as a subclass of it.
- testSetInvalidRequirement() : mixed
Methods
getInvalidRequirements()
public
getInvalidRequirements() : mixed
Return values
mixed —testCompile()
public
testCompile() : mixed
Return values
mixed —testCondition()
public
testCondition() : mixed
Return values
mixed —testConstructor()
public
testConstructor() : mixed
Return values
mixed —testDefaults()
public
testDefaults() : mixed
Return values
mixed —testHost()
public
testHost() : mixed
Return values
mixed —testMethod()
public
testMethod() : mixed
Return values
mixed —testOption()
public
testOption() : mixed
Return values
mixed —testOptions()
public
testOptions() : mixed
Return values
mixed —testPath()
public
testPath() : mixed
Return values
mixed —testRequirement()
public
testRequirement() : mixed
Return values
mixed —testRequirements()
public
testRequirements() : mixed
Return values
mixed —testScheme()
public
testScheme() : mixed
Return values
mixed —testSerialize()
public
testSerialize() : mixed
Return values
mixed —testSerializedRepresentationKeepsWorking()
Tests that the serialized representation of a route in one symfony version also works in later symfony versions, i.e. the unserialized route is in the same state as another, semantically equivalent, route.
public
testSerializedRepresentationKeepsWorking() : mixed
Return values
mixed —testSerializeWhenCompiled()
Tests that the compiled version is also serialized to prevent the overhead of compiling it again after unserialize.
public
testSerializeWhenCompiled() : mixed
Return values
mixed —testSerializeWhenCompiledWithClass()
Tests that unserialization does not fail when the compiled Route is of a class other than CompiledRoute, such as a subclass of it.
public
testSerializeWhenCompiledWithClass() : mixed
Return values
mixed —testSetInvalidRequirement()
public
testSetInvalidRequirement(mixed $req) : mixed
Parameters
- $req : mixed