[ Index ]
 

Code source de PHPonTrax 2.6.6-svn

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

title

Body

[fermer]

/test/ -> DateHelperTest.php (sommaire)

File for the DateHelperTest 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: DateHelperTest.php 198 2006-04-20 16:20:30Z haas $
Poids: 3830 lignes (211 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 1 fichier
 test/testenv.php

Définit 2 classes

ExDateHelper:: (1 méthode):
  value()

DateHelperTest:: (33 méthodes):
  main()
  setUp()
  tearDown()
  testConstruct()
  testExpiration_date_select()
  testDatetime_select_method()
  testDatetime_select_function()
  testDate_select_method()
  testDate_select_function()
  testSelect_expiration_date_method()
  testSelect_expiration_date_function()
  testSelect_date_method()
  testSelect_date_function()
  testSelect_datetime_method()
  testSelect_datetime_function()
  testSelect_time()
  testTime_select_method()
  testTime_select_function()
  testSelect_second()
  testSelect_minute()
  testSelect_hour()
  testSelect_day_method()
  testSelect_day_function()
  testSelect_month_method()
  testSelect_month_function()
  testYear_option()
  testSelect_year()
  testYear_select_method()
  testYear_select_function()
  testTo_date_select_tag()
  testTo_datetime_select_tag()
  testTo_expiration_date_select_tag_method()
  testExpiration_date_select_function()


Classe: ExDateHelper  - X-Ref

Extend the DateHelper class so we can access protected stuff

value()   X-Ref
Pas de description

Classe: DateHelperTest  - X-Ref

Test class for DateHelper.
Generated by PHPUnit2_Util_Skeleton on 2006-03-01 at 13:17:32.

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.


testConstruct()   X-Ref
Test __construct()

Test the {@link DateHelper::__construct() constructor}

testExpiration_date_select()   X-Ref
Test the expiration_date_select() method

Test the {@link DateHelper::expiration_date_select()} method

testDatetime_select_method()   X-Ref
Test datetime_select() method

Test the {@link DateHelper::datetime_select()} method

testDatetime_select_function()   X-Ref
Test datetime_select() function

Test the {@link datetime_select()} function in procedural file
{@link date_helper.php}

testDate_select_method()   X-Ref
Test date_select_method()

Test the {@link DateHelper::date_select()} method

testDate_select_function()   X-Ref
Test date_select() function

Test the {@link date_select()} function in the
{@link date_helper.php} procedural file

testSelect_expiration_date_method()   X-Ref
Test select_expiration_date() method

Test the {@link DateHelper::select_expiration_date()} method

testSelect_expiration_date_function()   X-Ref
Test select_expiration_date() function

Test the {@link select_expiration_date()} function in the
{@link date_helper.php} procedural file

testSelect_date_method()   X-Ref
Test select_date() method

Test the {@link DateHelper::select_date()} method

testSelect_date_function()   X-Ref
Test select_date() function

Test the {@link select_date()} function in procedural file
{@link date_helper.php}

testSelect_datetime_method()   X-Ref
Test select_datetime() method

Test {@link DateHelper::select_datetime() method

testSelect_datetime_function()   X-Ref
Test select_datetime() function

Test the {@link select_datetime()} function in procedural file
{@link date_helper.php}

testSelect_time()   X-Ref
Test select_time()

Test the {@link DateHelper::select_time()} method

testTime_select_method()   X-Ref
Test time_select() method

Test the {@link DateHelper::time_select()} method

testTime_select_function()   X-Ref
Test time_select() function

Test {@link time_select()} function in procedural file
{@link date_helper.php}

testSelect_second()   X-Ref
Test select_second()

Test {@link DateHelper::select_second()} method

testSelect_minute()   X-Ref
Test select_minute()

Test {@link DateHelper::select_minute()} method

testSelect_hour()   X-Ref
Test select_hour()

Test {@link DateHelper::select_hour()} method

testSelect_day_method()   X-Ref
Test select_day() method

Test {@link DateHelper::select_day()}

testSelect_day_function()   X-Ref
Test select_day() function

Test {@link select_day()} in procedural file {@link date_helper.php}

testSelect_month_method()   X-Ref
Test select_month() method

Test the {@link DateHelper::select_month()} method.<br />
<b>NB:</b> doesn't test correctness of selection of current month

testSelect_month_function()   X-Ref
Test select_month() function

Test the {@link select_month()} function in procedural file
{@link date_helper.php}

testYear_option()   X-Ref
Test year_option()


testSelect_year()   X-Ref
Test select_year() method

Test {@link DateHelper::select_year()}

testYear_select_method()   X-Ref
Test year_select() method

Test {@link DateHelper::year_select()} method

testYear_select_function()   X-Ref
Test year_select() function

Test {@link year_select()} function in procedural file
{@link date_helper.php}

testTo_date_select_tag()   X-Ref
Test to_date_select_tag() method

Test {@link DateHelper::to_date_select_tag()} method

testTo_datetime_select_tag()   X-Ref
Test to_datetime_select_tag() method

Test {@link DateHelper::to_datetime_select_tag()} method

testTo_expiration_date_select_tag_method()   X-Ref
Test to_expiration_date_select_tag() method

Test the {@link DateHelper::to_expiration_date_select_tag()} method

testExpiration_date_select_function()   X-Ref
Test expiration_date_select() function

Test the {@link expiration_date_select()} function in procedural
file {@link date_helper.php}



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