public function DateFieldTestCase::testField in Date 7.2
Same name and namespace in other branches
- 7.3 tests/DateFieldTestCase.test \DateFieldTestCase::testField()
- 7 tests/date_field.test \DateFieldTestCase::testField()
Check all of the included field types for basic functionality.
File
- tests/
DateFieldTestCase.test, line 50 - Test the handling of the two included field widgets.
Class
- DateFieldTestCase
- Test the handling of the two included field widgets.
Code
public function testField() {
// Create a date fields with simple values.
foreach (array(
'date',
'datestamp',
'datetime',
) as $field_type) {
foreach (array(
'date_select',
'date_text',
) as $widget_type) {
$this
->checkDateField($field_type, $widget_type, TRUE);
}
}
}