comctl32/tests: Enable Trackbar 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-30 10:00:46 +03:00 committed by Alexandre Julliard
parent 902b004d55
commit abab0a7b96
1 changed files with 24 additions and 0 deletions

View File

@ -23,6 +23,7 @@
#include "wine/test.h"
#include "msg.h"
#include "v6util.h"
#define expect(expected, got) ok(got == expected, "Expected %d, got %d\n", expected, got)
#define NUM_MSG_SEQUENCE 2
@ -1296,6 +1297,9 @@ static void test_create(void)
START_TEST(trackbar)
{
ULONG_PTR cookie;
HANDLE ctxt;
LoadLibraryA("comctl32.dll");
init_msg_sequences(sequences, NUM_MSG_SEQUENCE);
@ -1325,5 +1329,25 @@ START_TEST(trackbar)
test_ignore_selection();
test_initial_state();
if (!load_v6_module(&cookie, &ctxt))
return;
test_trackbar_buddy();
test_line_size();
test_page_size();
test_position();
test_range();
test_selection();
test_thumb_length();
test_tic_settings();
test_tic_placement();
test_tool_tips();
test_unicode();
test_TBS_AUTOTICKS();
test_ignore_selection();
test_initial_state();
unload_v6_module(cookie, ctxt);
DestroyWindow(hWndParent);
}