Nikolay Sivov : comctl32/tests: Run some DateTime tests on version 6 too.
Alexandre Julliard
julliard at winehq.org
Mon Jan 29 14:48:17 CST 2018
Module: wine
Branch: master
Commit: 988003cb7419a65bc84364878217eb19084df5a5
URL: https://source.winehq.org/git/wine.git/?a=commit;h=988003cb7419a65bc84364878217eb19084df5a5
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Mon Jan 29 14:20:41 2018 +0300
comctl32/tests: Run some DateTime tests on version 6 too.
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/comctl32/tests/datetime.c | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/dlls/comctl32/tests/datetime.c b/dlls/comctl32/tests/datetime.c
index 4036e9d..7742dc5 100644
--- a/dlls/comctl32/tests/datetime.c
+++ b/dlls/comctl32/tests/datetime.c
@@ -22,6 +22,7 @@
#include "wine/test.h"
#include "msg.h"
+#include "v6util.h"
#define expect(EXPECTED, GOT) ok((GOT)==(EXPECTED), "Expected %d, got %ld\n", (EXPECTED), (GOT))
@@ -791,6 +792,8 @@ static void init_functions(void)
START_TEST(datetime)
{
INITCOMMONCONTROLSEX iccex;
+ ULONG_PTR cookie;
+ HANDLE ctxt;
init_functions();
@@ -810,4 +813,16 @@ START_TEST(datetime)
test_dtm_set_and_get_systemtime_with_limits();
test_wm_set_get_text();
test_dts_shownone();
+
+ if (!load_v6_module(&cookie, &ctxt))
+ return;
+
+ test_dtm_set_format();
+ test_dtm_set_and_get_mccolor();
+ test_dtm_set_and_get_mcfont();
+ test_dtm_get_monthcal();
+ test_wm_set_get_text();
+ test_dts_shownone();
+
+ unload_v6_module(cookie, ctxt);
}
More information about the wine-cvs
mailing list