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
21d92f8c
Commit
21d92f8c
authored
Dec 12, 2002
by
Francois Gouget
Committed by
Alexandre Julliard
Dec 12, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Skip the Unicode tests (effectively all tests currently) on Win9x.
parent
2a93f850
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
class.c
dlls/user/tests/class.c
+7
-4
No files found.
dlls/user/tests/class.c
View file @
21d92f8c
...
...
@@ -38,7 +38,7 @@ LRESULT WINAPI ClassTest_WndProc (HWND hWnd, UINT msg, WPARAM wParam, LPARAM lPa
*
* WinMain
*/
BOOL
ClassTest
(
HINSTANCE
hInstance
,
BOOL
global
)
void
ClassTest
(
HINSTANCE
hInstance
,
BOOL
global
)
{
WNDCLASSW
cls
,
wc
;
WCHAR
className
[]
=
{
'T'
,
'e'
,
's'
,
't'
,
'C'
,
'l'
,
'a'
,
's'
,
's'
,
0
};
...
...
@@ -46,6 +46,7 @@ BOOL ClassTest(HINSTANCE hInstance, BOOL global)
HWND
hTestWnd
;
DWORD
i
;
WCHAR
str
[
20
];
ATOM
classatom
;
cls
.
style
=
CS_HREDRAW
|
CS_VREDRAW
|
(
global
?
CS_GLOBALCLASS
:
0
);
cls
.
lpfnWndProc
=
ClassTest_WndProc
;
...
...
@@ -58,8 +59,10 @@ BOOL ClassTest(HINSTANCE hInstance, BOOL global)
cls
.
lpszMenuName
=
0
;
cls
.
lpszClassName
=
className
;
ok
(
RegisterClassW
(
&
cls
)
,
"failed to register class"
);
classatom
=
RegisterClassW
(
&
cls
);
if
(
!
classatom
&&
GetLastError
()
==
ERROR_CALL_NOT_IMPLEMENTED
)
return
;
ok
(
classatom
,
"failed to register class"
);
ok
(
!
RegisterClassW
(
&
cls
),
"RegisterClass of the same class should fail for the second time"
);
...
...
@@ -180,7 +183,7 @@ BOOL ClassTest(HINSTANCE hInstance, BOOL global)
ok
(
UnregisterClassW
(
className
,
hInstance
),
"UnregisterClass() failed"
);
return
TRUE
;
return
;
}
START_TEST
(
class
)
...
...
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