André Hentschel : oleaut32/tests: Add tests for backrolled time.

Alexandre Julliard julliard at winehq.org
Thu Jan 28 11:15:33 CST 2010


Module: wine
Branch: master
Commit: 0e1bc3ef2b28eb5ac7e5d9f361a9c02c9a5dbe75
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0e1bc3ef2b28eb5ac7e5d9f361a9c02c9a5dbe75

Author: André Hentschel <nerv at dawncrow.de>
Date:   Wed Jan 27 20:04:26 2010 +0100

oleaut32/tests: Add tests for backrolled time.

---

 dlls/oleaut32/tests/vartest.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/dlls/oleaut32/tests/vartest.c b/dlls/oleaut32/tests/vartest.c
index 16c08be..8d7cf11 100644
--- a/dlls/oleaut32/tests/vartest.c
+++ b/dlls/oleaut32/tests/vartest.c
@@ -1653,6 +1653,9 @@ static void test_VarDateFromUdate(void)
   todo_wine UD2T(0,1,1980,42,1,16,0,2,1,0,S_OK,29221.75087962963); /* Test rolled hours */
   todo_wine UD2T(1,1,1980,17,61,16,0,2,1,0,S_OK,29221.75087962963); /* Test rolled minutes */
   todo_wine UD2T(1,1,1980,18,0,76,0,2,1,0,S_OK,29221.75087962963); /* Test rolled seconds */
+  todo_wine UD2T(2,1,1980,-6,1,16,0,2,1,0,S_OK,29221.75087962963); /* Test backrolled hours */
+  todo_wine UD2T(1,1,1980,19,-59,16,0,2,1,0,S_OK,29221.75087962963); /* Test backrolled minutes */
+  todo_wine UD2T(1,1,1980,18,2,-44,0,2,1,0,S_OK,29221.75087962963); /* Test backrolled seconds */
 
   UD2T(0,1,1980,0,0,0,0,2,1,0,S_OK,29220.0);      /* Rolls back to 31 Dec 1899 */
   UD2T(1,13,1980,0,0,0,0,2,1,0,S_OK,29587.0);     /* Rolls fwd to 1/1/1981 */




More information about the wine-cvs mailing list