oleaut32/tests: added tests for negative fractional variant dates. (try2)

Jeremy Drake wine at jdrake.com
Sat Oct 2 17:46:54 CDT 2010


I recently read an article mentioning some of the oddities that show up
in negative variant dates with non-zero (midnight) times, and I noticed
that wine had no test coverage for these cases.  Until now.

I unfortunately lost the link to the article I had read, but this MSDN
page describes the behavior I am testing here:
http://msdn.microsoft.com/en-us/library/system.datetime.fromoadate.aspx

This is actually documentation of a .NET method, but see the Remarks
section for a description of the format.

try2: add some more precision to the test date value to fix testbot
failures


---
 dlls/oleaut32/tests/vartest.c |   32 +++++++++++++++++++++++---------
 1 files changed, 23 insertions(+), 9 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-oleaut32-tests-added-tests-for-negative-fractional-v.patch
Type: text/x-patch
Size: 5377 bytes
Desc: 
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20101002/a4b356c8/attachment.bin>


More information about the wine-patches mailing list