Closed (won't fix)
Project:
Date
Version:
6.x-2.6
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
7 Oct 2010 at 19:47 UTC
Updated:
15 Apr 2023 at 20:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Anonymous (not verified) commentedJust finished porting these tests for Drupal 7. It exposes that datetime and datestamp are both broken but these tests should help fix these issues.
Comment #2
karens commentedI've commit this to the D7 version and added the beginning of additional functional tests.
For instance, the Date API has some basic date functions that can be tested, independent of the way fields and forms work. Create date objects of various types, alter their granularity, timezone, or other settings, and test that the right values get created. The Date API has its own date elements that can be tested independent of anything about the way that Fields work -- create a custom (non-Field) date form element and process it to be sure it returns the right result. The field API can be tested independently of the Field UI by creating a date field using the Field CRUD functions and then populating it with a node_save() to be sure the right value. Finally the Field UI can be tested. And the Date Repeat API can be tested. And the Date Popup element can be tested. And the date sql functions can be tested. And the Date iCal functions can be tested.
Comment #3
webchickTagging.
Comment #4
karens commentedMis-tagged
Comment #5
karens commentedThere are a lot of tests in D7 now, and we're starting to think about D8. I'm probably not going to worry about adding more tests to D6.