[PATCH 5/6] comctl32/tests: Run some DateTime tests on version 6 too
Nikolay Sivov
nsivov at codeweavers.com
Mon Jan 29 05:20:41 CST 2018
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
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 4036e9defd..7742dc5d18 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);
}
--
2.15.1
More information about the wine-devel
mailing list