Projet

Général

Profil

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

root / drupal7 / sites / all / modules / date / tests / DateFormTestCase.test @ 599a39cd

1 ee46a8ed Assos Assos
<?php
2
3
/**
4
 * @file
5
 * Contains form specific date element test cases.
6
 */
7
8 599a39cd Assos Assos
/**
9
 * Contains form specific date element test cases.
10
 */
11 ee46a8ed Assos Assos
class DateFormTestCase extends DrupalWebTestCase {
12
13 599a39cd Assos Assos
  /**
14
   * {@inheritdoc}
15
   */
16 ee46a8ed Assos Assos
  public static function getInfo() {
17
    return array(
18
      'name' => t('Date Form test'),
19
      'description' => t('Test Date form functions.') ,
20
      'group' => t('Date'),
21
    );
22
  }
23
24 599a39cd Assos Assos
  /**
25
   * {@inheritdoc}
26
   */
27
  public function setUp(array $modules = array()) {
28
    $modules[] = 'date_test';
29
    parent::setUp($modules);
30 ee46a8ed Assos Assos
  }
31
32
  /**
33
   * Tests rendering of a date element in a form.
34
   */
35
  public function testDateForm() {
36
    $this->drupalGet('date-test/form');
37
  }
38
39
}