\JRouterTest
Test class for JRouter.
Synopsis
class JRouterTest
extends PHPUnit_Framework_TestCase
{
- // members
- protected JRouter $object;
- // methods
- protected void setUp()
- public void testGetInstance()
- public void testParse()
- public void testBuild()
- public void testGetMode()
- public void testSetMode()
- public array casesSetVar()
- public void testSetVar()
- public void testSetVars()
- public void testGetVar()
- public void testGetVars()
- public void testAttachBuildRule()
- public void testAttachParseRule()
- public void testParseRawRoute()
- public void testParseSefRoute()
- public void testBuildRawRoute()
- public void testBuildSefRoute()
- public array casesProcessParseRules()
- public void testProcessParseRules()
- public void testProcessBuildRules()
- public void testCreateURI()
- public void testEncodeSegments()
- public void testDecodeSegments()
Hierarchy
Extends
Tasks
Tasks
Line | Task |
---|---|
49+ | Implement testGetInstance(). |
62+ | Implement testParse(). |
75+ | Implement testBuild(). |
88+ | Implement testGetMode(). |
101+ | Implement testSetMode(). |
153+ | Implement testSetVars(). |
166+ | Implement testGetVar(). |
179+ | Implement testGetVars(). |
192+ | Implement testAttachBuildRule(). |
205+ | Implement testAttachParseRule(). |
218+ | Implement testParseRawRoute(). |
231+ | Implement testParseSefRoute(). |
244+ | Implement testBuildRawRoute(). |
257+ | Implement testBuildSefRoute(). |
348+ | Implement testProcessBuildRules(). |
361+ | Implement testCreateURI(). |
374+ | Implement testEncodeSegments(). |
387+ | Implement testDecodeSegments(). |
Members
protected
- $object
—
JRouter
Object under test
Methods
protected
- setUp() — Sets up the fixture, for example, opens a network connection.
public
- casesProcessParseRules() — Cases for testProcessParseRules
- casesSetVar() — Cases for testSetVar
- testAttachBuildRule() — Test...
- testAttachParseRule() — Test...
- testBuild() — Test...
- testBuildRawRoute() — Test...
- testBuildSefRoute() — Test...
- testCreateURI() — Test...
- testDecodeSegments() — Test...
- testEncodeSegments() — Test...
- testGetInstance() — Test...
- testGetMode() — Test...
- testGetVar() — Test...
- testGetVars() — Test...
- testParse() — Test...
- testParseRawRoute() — Test...
- testParseSefRoute() — Test...
- testProcessBuildRules() — Test...
- testProcessParseRules() — test_processParseRules().
- testSetMode() — Test...
- testSetVar() — Tests the setVar method
- testSetVars() — Test...