Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
ad566da1
Commit
ad566da1
authored
Jan 25, 2017
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jan 25, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/tests: Use win_skip() for tests that should not be skipped on Wine.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
669d033e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
19 deletions
+10
-19
datetime.c
dlls/comctl32/tests/datetime.c
+7
-16
header.c
dlls/comctl32/tests/header.c
+1
-1
monthcal.c
dlls/comctl32/tests/monthcal.c
+1
-1
mru.c
dlls/comctl32/tests/mru.c
+1
-1
No files found.
dlls/comctl32/tests/datetime.c
View file @
ad566da1
...
...
@@ -527,23 +527,14 @@ static void test_dtm_set_and_get_system_time(void)
{
LRESULT
r
;
SYSTEMTIME
st
,
getSt
,
ref
;
HWND
hWnd
,
hWndDateTime_test_gdt_none
;
hWndDateTime_test_gdt_none
=
create_datetime_control
(
0
);
ok
(
hWndDateTime_test_gdt_none
!=
NULL
,
"Expected non NULL, got %p
\n
"
,
hWndDateTime_test_gdt_none
);
if
(
hWndDateTime_test_gdt_none
)
{
r
=
SendMessageA
(
hWndDateTime_test_gdt_none
,
DTM_SETSYSTEMTIME
,
GDT_NONE
,
(
LPARAM
)
&
st
);
expect
(
0
,
r
);
}
else
{
skip
(
"hWndDateTime_test_gdt_none is NULL
\n
"
);
flush_sequences
(
sequences
,
NUM_MSG_SEQUENCES
);
HWND
hWnd
;
return
;
}
hWnd
=
create_datetime_control
(
0
);
ok
(
hWnd
!=
NULL
,
"Expected non NULL, got %p
\n
"
,
hWnd
);
r
=
SendMessageA
(
hWnd
,
DTM_SETSYSTEMTIME
,
GDT_NONE
,
(
LPARAM
)
&
st
);
expect
(
0
,
r
);
DestroyWindow
(
hWnd
DateTime_test_gdt_none
);
DestroyWindow
(
hWnd
);
hWnd
=
create_datetime_control
(
DTS_SHOWNONE
);
flush_sequences
(
sequences
,
NUM_MSG_SEQUENCES
);
...
...
@@ -797,7 +788,7 @@ START_TEST(datetime)
pInitCommonControlsEx
=
(
void
*
)
GetProcAddress
(
hComctl32
,
"InitCommonControlsEx"
);
if
(
!
pInitCommonControlsEx
)
{
skip
(
"InitCommonControlsEx() is missing. Skipping the tests
\n
"
);
win_
skip
(
"InitCommonControlsEx() is missing. Skipping the tests
\n
"
);
return
;
}
iccex
.
dwSize
=
sizeof
(
iccex
);
...
...
dlls/comctl32/tests/header.c
View file @
ad566da1
...
...
@@ -1662,7 +1662,7 @@ static BOOL init(void)
pInitCommonControlsEx
=
(
void
*
)
GetProcAddress
(
hComctl32
,
"InitCommonControlsEx"
);
if
(
!
pInitCommonControlsEx
)
{
skip
(
"InitCommonControlsEx() is missing. Skipping the tests
\n
"
);
win_
skip
(
"InitCommonControlsEx() is missing. Skipping the tests
\n
"
);
return
FALSE
;
}
...
...
dlls/comctl32/tests/monthcal.c
View file @
ad566da1
...
...
@@ -2053,7 +2053,7 @@ START_TEST(monthcal)
pInitCommonControlsEx
=
(
void
*
)
GetProcAddress
(
hComctl32
,
"InitCommonControlsEx"
);
if
(
!
pInitCommonControlsEx
)
{
skip
(
"InitCommonControlsEx() is missing. Skipping the tests
\n
"
);
win_
skip
(
"InitCommonControlsEx() is missing. Skipping the tests
\n
"
);
return
;
}
iccex
.
dwSize
=
sizeof
(
iccex
);
...
...
dlls/comctl32/tests/mru.c
View file @
ad566da1
...
...
@@ -236,7 +236,7 @@ static void test_MRUListA(void)
if
(
!
pCreateMRUListA
||
!
pFreeMRUList
||
!
pAddMRUStringA
||
!
pEnumMRUListA
)
{
skip
(
"MRU entry points not found
\n
"
);
win_
skip
(
"MRU entry points not found
\n
"
);
return
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment