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
c5a17f98
Commit
c5a17f98
authored
Oct 29, 2007
by
Lei Zhang
Committed by
Alexandre Julliard
Oct 30, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Move tab test's createParentWindow() into START_TEST().
parent
8268ad55
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
tab.c
dlls/comctl32/tests/tab.c
+8
-6
No files found.
dlls/comctl32/tests/tab.c
View file @
c5a17f98
...
...
@@ -593,16 +593,14 @@ static void test_tab(INT nMinTabWidth)
DeleteObject
(
hFont
);
}
static
void
test_getters_setters
(
INT
nTabs
)
static
void
test_getters_setters
(
HWND
parent_wnd
,
INT
nTabs
)
{
HWND
hTab
;
HWND
parent_wnd
;
RECT
rTab
;
INT
nTabsRetrieved
;
INT
rowCount
;
parent_wnd
=
createParentWindow
();
ok
(
parent_wnd
!=
NULL
,
"Failed to create parent window!
\n
"
);
ok
(
parent_wnd
!=
NULL
,
"no parent window!
\n
"
);
flush_sequences
(
sequences
,
NUM_MSG_SEQUENCES
);
hTab
=
createFilledTabControl
(
parent_wnd
,
TCS_FIXEDWIDTH
,
TCIF_TEXT
|
TCIF_IMAGE
,
nTabs
);
...
...
@@ -810,11 +808,11 @@ static void test_getters_setters(INT nTabs)
}
DestroyWindow
(
hTab
);
DestroyWindow
(
parent_wnd
);
}
START_TEST
(
tab
)
{
HWND
parent_wnd
;
LOGFONTA
logfont
;
lstrcpyA
(
logfont
.
lfFaceName
,
"Arial"
);
...
...
@@ -839,6 +837,10 @@ START_TEST(tab)
init_msg_sequences
(
sequences
,
NUM_MSG_SEQUENCES
);
parent_wnd
=
createParentWindow
();
ok
(
parent_wnd
!=
NULL
,
"Failed to create parent window!
\n
"
);
/* Testing getters and setters with 5 tabs */
test_getters_setters
(
5
);
test_getters_setters
(
parent_wnd
,
5
);
DestroyWindow
(
parent_wnd
);
}
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