DateFormTestCase.test in Date 7.2
Same filename and directory in other branches
Contains form specific date element test cases.
File
tests/DateFormTestCase.testView source
<?php
/**
* @file
* Contains form specific date element test cases.
*/
/**
* Contains form specific date element test cases.
*/
class DateFormTestCase extends DrupalWebTestCase {
/**
* Date form info.
*/
public static function getInfo() {
return array(
'name' => t('Date Form test'),
'description' => t('Test Date form functions.'),
'group' => t('Date'),
);
}
/**
* {@inheritdoc}
*/
public function setUp(array $modules = array()) {
$modules[] = 'date_test';
parent::setUp($modules);
}
/**
* Tests rendering of a date element in a form.
*/
public function testDateForm() {
$this
->drupalGet('date-test/form');
}
}
Classes
Name | Description |
---|---|
DateFormTestCase | Contains form specific date element test cases. |