Projet

Général

Profil

Paste
Télécharger (558 octets) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / date / tests / date_form.test @ ee46a8ed

1
<?php
2

    
3
/**
4
 * @file
5
 * Contains form specific date element test cases.
6
 */
7

    
8
class DateFormTestCase extends DrupalWebTestCase {
9

    
10
  public static function getInfo() {
11
    return array(
12
      'name' => t('Date Form test'),
13
      'description' => t('Test Date form functions.') ,
14
      'group' => t('Date'),
15
    );
16
  }
17

    
18
  public function setUp() {
19
    // Load the date_api module.
20
    parent::setUp('date_test');
21
  }
22

    
23
  /**
24
   * Tests rendering of a date element in a form.
25
   */
26
  public function testDateForm() {
27
    $this->drupalGet('date-test/form');
28
  }
29

    
30
}