PHPonTraxTest
[ class tree: PHPonTraxTest ] [ index: PHPonTraxTest ] [ all elements ]

Class: ActionControllerTest

Source Location: /test/ActionControllerTest.php

Class Overview

PHPUnit2_Framework_TestCase
   |
   --ActionControllerTest

Test class for ActionController.


Methods



Class Details

[line 50]
Test class for ActionController.

Generated by PHPUnit2_Util_Skeleton on 2006-03-01 at 13:16:01.




[ Top ]


Class Methods


method main [line 57]

void main( )

Runs the test methods of this class.



Tags:

static:  
access:  public


[ Top ]

method setUp [line 70]

void setUp( )

Sets up the fixture, for example, open a network connection.

This method is called before a test is executed.




Tags:

access:  protected


[ Top ]

method tearDown [line 79]

void tearDown( )

Tears down the fixture, for example, close a network connection.

This method is called after a test is executed.




Tags:

access:  protected


[ Top ]

method testAdd_after_filter [line 302]

void testAdd_after_filter( )



Tags:

access:  public
todo:  Implement testAdd_after_filter().


[ Top ]

method testAdd_before_filter [line 286]

void testAdd_before_filter( )



Tags:

access:  public
todo:  Implement testAdd_before_filter().


[ Top ]

method testAdd_helper [line 310]

void testAdd_helper( )



Tags:

access:  public
todo:  Implement testAdd_helper().


[ Top ]

method testDetermine_layout [line 246]

void testDetermine_layout( )

FIXME: need controllers with layout undefined, layout=null,

layout=false, layout=file, layout=method




Tags:

access:  public
todo:  Implement testDetermine_layout().


[ Top ]

method testExecute_after_filters [line 294]

void testExecute_after_filters( )



Tags:

access:  public
todo:  Implement testExecute_after_filters().


[ Top ]

method testExecute_before_filters [line 278]

void testExecute_before_filters( )



Tags:

access:  public
todo:  Implement testExecute_before_filters().


[ Top ]

method testProcess_route_missing_class [line 203]

void testProcess_route_missing_class( )

Test process_route() with missing controller class



Tags:

access:  public


[ Top ]

method testProcess_route_missing_controller [line 177]

void testProcess_route_missing_controller( )

Test process_route() with missing controller file



Tags:

access:  public


[ Top ]

method testProcess_route_unrecognized [line 152]

void testProcess_route_unrecognized( )

Test process_route() with an unrecognized route



Tags:

access:  public


[ Top ]

method testProcess_with_exception [line 334]

void testProcess_with_exception( )



Tags:

access:  public
todo:  Implement testProcess_with_exception().


[ Top ]

method testRaise_default_code [line 114]

void testRaise_default_code( )

Test raise() with default value of code



Tags:

access:  public


[ Top ]

method testRecognize_route [line 97]

void testRecognize_route( )

Test recognize_route().

recognize_route() sets up a lot of private variables that we don't have access to so we can't test it very thoroughly here




Tags:

access:  public


[ Top ]

method testRedirect_to [line 326]

void testRedirect_to( )



Tags:

access:  public
todo:  Implement testRedirect_to().


[ Top ]

method testRender_partial [line 318]

void testRender_partial( )



Tags:

access:  public
todo:  Implement testRender_partial().


[ Top ]

method testSet_paths [line 270]

void testSet_paths( )



Tags:

access:  public
todo:  Implement testSet_paths().


[ Top ]

method testSpecified_code [line 133]

void testSpecified_code( )

Test raise() with specified of code



Tags:

access:  public


[ Top ]

method test__call [line 262]

void test__call( )



Tags:

access:  public
todo:  Implement test__call().


[ Top ]

method test__construct [line 87]

void test__construct( )



Tags:

access:  public
todo:  Implement test__construct(). The constructor calls load_router() to load routes from config/routes.php


[ Top ]

method test__set [line 254]

void test__set( )



Tags:

access:  public
todo:  Implement test__set().


[ Top ]


Documentation generated on Thu, 04 May 2006 19:46:58 -0600 by phpDocumentor 1.3.0RC4