comctl32/tests: Run DPA tests on version 6.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2018-01-29 14:20:42 +03:00 committed by Alexandre Julliard
parent 988003cb74
commit d01306d1ee
1 changed files with 18 additions and 0 deletions

View File

@ -30,6 +30,7 @@
#include "objidl.h" #include "objidl.h"
#include "wine/test.h" #include "wine/test.h"
#include "v6util.h"
#define expect(expected, got) ok(got == expected, "Expected %d, got %d\n", expected, got) #define expect(expected, got) ok(got == expected, "Expected %d, got %d\n", expected, got)
@ -737,6 +738,9 @@ if (0) {
START_TEST(dpa) START_TEST(dpa)
{ {
ULONG_PTR cookie;
HANDLE ctxt;
init_functions(); init_functions();
test_dpa(); test_dpa();
@ -745,4 +749,18 @@ START_TEST(dpa)
test_DPA_DestroyCallback(); test_DPA_DestroyCallback();
test_DPA_LoadStream(); test_DPA_LoadStream();
test_DPA_SaveStream(); test_DPA_SaveStream();
if (!load_v6_module(&cookie, &ctxt))
return;
init_functions();
test_dpa();
test_DPA_Merge();
test_DPA_EnumCallback();
test_DPA_DestroyCallback();
test_DPA_LoadStream();
test_DPA_SaveStream();
unload_v6_module(cookie, ctxt);
} }