date_form.test 558 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /**
  3. * @file
  4. * Contains form specific date element test cases.
  5. */
  6. class DateFormTestCase extends DrupalWebTestCase {
  7. public static function getInfo() {
  8. return array(
  9. 'name' => t('Date Form test'),
  10. 'description' => t('Test Date form functions.') ,
  11. 'group' => t('Date'),
  12. );
  13. }
  14. public function setUp() {
  15. // Load the date_api module.
  16. parent::setUp('date_test');
  17. }
  18. /**
  19. * Tests rendering of a date element in a form.
  20. */
  21. public function testDateForm() {
  22. $this->drupalGet('date-test/form');
  23. }
  24. }