From: Stephen W. <sa...@us...> - 2004-01-23 15:17:07
|
On Fri, 2004-01-23 at 05:01, Roger Binns wrote: > This will be of most use to Stephen. In the experiments directory there > is a new script gentestdata. Recommended way of running it is: > > cd experiments > python gentestdata.py ../tests > cd .. Trying to import this test data will be most interesting! As well as help to find outright bugs, it will force me to deal with several issues. 1. Calendar stuff Sanyo doesn't support: daybitmaps, whatever they are, exceptions, repeat codes (monfri). Do I drop the entry altogether, or do my best to put it in the phone somehow. How do I notify the user what has been done? 2. Calendar entry limits. Sanyo supports 100 entries. What to do if more than 100 dates in BitPim? Take first 100. (Present behavior) Sort by date and take first 100 after current date and then take expired entries working backward from present time? 3. Test behaviour with more than 300 names in phone book. 4. Sanyo advertises 300 names, 500 total numbers in phone. Each name can hold 7 numbers. 300*7 = 2100 > 500. What to do if trying to write > 500 numbers, but less than 300 names? The 500 number limit is from the Caller ID buffer in the phone. The present code will allow more than 500 numbers, but only put the first 500 numbers in the caller id buffer. (The numbers are sorted by type, first all the home phone numbers are written to the caller id buffer, then all the work, mobile etc.) But I have never actually written > 500 phone numbers to my phone. With the test data I can find out if A) It works, B) the phonebook on the phone is at all functional afterwards. Stephen |