ea-Geiertest
[ class tree: ea-Geier ] [ index: ea-Geier ] [ all elements ]

Class: TestDate

Source Location: /test/simpletest/date.inc.php

Class TestDate

Class Overview

test case for date functions

Located in /test/simpletest/date.inc.php [line 37]

UnitTestCase
   |
   --TestDate

Methods

[ Top ]
Method Summary
TestDate   TestDate()   constructor
void   testCheckDateFormat()   tests checking date format
void   testDateFormat()   tests date formating

[ Top ]
Methods
Constructor TestDate  [line 42]

  TestDate TestDate( )

constructor



[ Top ]
testCheckDateFormat  [line 57]

  void testCheckDateFormat( )

tests checking date format

checks

  • empty date
  • wrong format
  • wrong date
  • leap year
  • strange but valid format
  • no year



[ Top ]
testDateFormat  [line 125]

  void testDateFormat( )

tests date formating

checks

  • empty date
  • correct date
  • non existing date
  • leap year



[ Top ]

Documentation generated on Sun, 09 Sep 2007 17:08:20 +0200 by phpDocumentor 1.3.1