[ Index ]
 

Code source de PHPonTrax 2.6.6-svn

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/test/ -> ActionControllerTest.php (sommaire)

File for the ActionControllerTest class (PHP 5)

Author: Walt Haas <haas@xmission.com>
Copyright: (c) Walter O. Haas 2006
License: http://opensource.org/licenses/gpl-license.php GNU Public License
Version: $Id: ActionControllerTest.php 208 2006-05-28 17:59:55Z john $
Poids: 343 lignes (11 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 1 fichier
 test/testenv.php

Définit 1 class

ActionControllerTest:: (22 méthodes):
  main()
  setUp()
  tearDown()
  test__construct()
  testRecognize_route()
  testRaise_default_code()
  testSpecified_code()
  testProcess_route_unrecognized()
  testProcess_route_missing_controller()
  testProcess_route_missing_class()
  testDetermine_layout()
  test__set()
  test__call()
  testSet_paths()
  testExecute_before_filters()
  testAdd_before_filter()
  testExecute_after_filters()
  testAdd_after_filter()
  testAdd_helper()
  testRender_partial()
  testRedirect_to()
  testProcess_with_exception()


Classe: ActionControllerTest  - X-Ref

Test class for ActionController.
Generated by PHPUnit2_Util_Skeleton on 2006-03-01 at 13:16:01.

main()   X-Ref
Runs the test methods of this class.


setUp()   X-Ref
Sets up the fixture, for example, open a network connection.
This method is called before a test is executed.


tearDown()   X-Ref
Tears down the fixture, for example, close a network connection.
This method is called after a test is executed.


test__construct()   X-Ref


testRecognize_route()   X-Ref
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


testRaise_default_code()   X-Ref
Test raise() with default value of code


testSpecified_code()   X-Ref
Test raise() with specified of code


testProcess_route_unrecognized()   X-Ref
Test process_route() with an unrecognized route


testProcess_route_missing_controller()   X-Ref
Test process_route() with missing controller file


testProcess_route_missing_class()   X-Ref
Test process_route() with missing controller class


testDetermine_layout()   X-Ref
FIXME: need controllers with layout undefined, layout=null,
layout=false, layout=file, layout=method


test__set()   X-Ref


test__call()   X-Ref


testSet_paths()   X-Ref


testExecute_before_filters()   X-Ref


testAdd_before_filter()   X-Ref


testExecute_after_filters()   X-Ref


testAdd_after_filter()   X-Ref


testAdd_helper()   X-Ref


testRender_partial()   X-Ref


testRedirect_to()   X-Ref


testProcess_with_exception()   X-Ref




Généré le : Sun Feb 25 20:04:38 2007 par Balluche grâce à PHPXref 0.7