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
583a30c6
Commit
583a30c6
authored
Feb 13, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Print the wrong accelerator values in the resource test.
parent
bea3bff2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
resource.c
dlls/user32/tests/resource.c
+15
-15
No files found.
dlls/user32/tests/resource.c
View file @
583a30c6
...
...
@@ -188,29 +188,29 @@ static void test_accel1(void)
"still should be two entries in table %u/%u
\n
"
,
r
,
n
);
n
=
0
;
ok
(
ac
[
n
].
cmd
==
1000
,
"cmd 0 not preserved
\n
"
);
ok
(
ac
[
n
].
key
==
'A'
,
"key 0 not preserved
\n
"
);
ok
(
ac
[
n
].
fVirt
==
(
FVIRTKEY
|
FNOINVERT
),
"fVirt 0 not preserved
\n
"
);
ok
(
ac
[
n
].
cmd
==
1000
,
"cmd 0 not preserved
got %x
\n
"
,
ac
[
n
].
cmd
);
ok
(
ac
[
n
].
key
==
'A'
,
"key 0 not preserved
got %x
\n
"
,
ac
[
n
].
key
);
ok
(
ac
[
n
].
fVirt
==
(
FVIRTKEY
|
FNOINVERT
),
"fVirt 0 not preserved
got %x
\n
"
,
ac
[
n
].
fVirt
);
if
(
++
n
==
r
)
goto
done
;
ok
(
ac
[
n
].
cmd
==
0xffff
,
"cmd 1 not preserved
\n
"
);
ok
(
ac
[
n
].
key
==
0xffff
,
"key 1 not preserved
\n
"
);
ok
(
ac
[
n
].
fVirt
==
0x007f
,
"fVirt 1
not changed
\n
"
);
ok
(
ac
[
n
].
cmd
==
0xffff
,
"cmd 1 not preserved
got %x
\n
"
,
ac
[
n
].
cmd
);
ok
(
ac
[
n
].
key
==
0xffff
,
"key 1 not preserved
got %x
\n
"
,
ac
[
n
].
key
);
ok
(
ac
[
n
].
fVirt
==
0x007f
,
"fVirt 1
wrong got %x
\n
"
,
ac
[
n
].
fVirt
);
if
(
++
n
==
r
)
goto
done
;
ok
(
ac
[
n
].
cmd
==
0xfff0
,
"cmd 2 not preserved
\n
"
);
ok
(
ac
[
n
].
key
==
0x00ff
,
"key 2 not preserved
\n
"
);
ok
(
ac
[
n
].
fVirt
==
0x0070
,
"fVirt 2
not changed
\n
"
);
ok
(
ac
[
n
].
cmd
==
0xfff0
,
"cmd 2 not preserved
got %x
\n
"
,
ac
[
n
].
cmd
);
ok
(
ac
[
n
].
key
==
0x00ff
,
"key 2 not preserved
got %x
\n
"
,
ac
[
n
].
key
);
ok
(
ac
[
n
].
fVirt
==
0x0070
,
"fVirt 2
wrong got %x
\n
"
,
ac
[
n
].
fVirt
);
if
(
++
n
==
r
)
goto
done
;
ok
(
ac
[
n
].
cmd
==
0xfff0
,
"cmd 3 not preserved
\n
"
);
ok
(
ac
[
n
].
key
==
0x00ff
,
"key 3 not preserved
\n
"
);
ok
(
ac
[
n
].
fVirt
==
0x0000
,
"fVirt 3
not changed
\n
"
);
ok
(
ac
[
n
].
cmd
==
0xfff0
,
"cmd 3 not preserved
got %x
\n
"
,
ac
[
n
].
cmd
);
ok
(
ac
[
n
].
key
==
0x00ff
,
"key 3 not preserved
got %x
\n
"
,
ac
[
n
].
key
);
ok
(
ac
[
n
].
fVirt
==
0x0000
,
"fVirt 3
wrong got %x
\n
"
,
ac
[
n
].
fVirt
);
if
(
++
n
==
r
)
goto
done
;
ok
(
ac
[
n
].
cmd
==
0xfff0
,
"cmd 4 not preserved
\n
"
);
ok
(
ac
[
n
].
key
==
0xffff
,
"key 4 not preserved
\n
"
);
ok
(
ac
[
n
].
fVirt
==
0x0001
,
"fVirt 4
not changed
\n
"
);
ok
(
ac
[
n
].
cmd
==
0xfff0
,
"cmd 4 not preserved
got %x
\n
"
,
ac
[
n
].
cmd
);
ok
(
ac
[
n
].
key
==
0xffff
,
"key 4 not preserved
got %x
\n
"
,
ac
[
n
].
key
);
ok
(
ac
[
n
].
fVirt
==
0x0001
,
"fVirt 4
wrong got %x
\n
"
,
ac
[
n
].
fVirt
);
done:
r
=
DestroyAcceleratorTable
(
hAccel
);
ok
(
r
,
"destroy accelerator table
\n
"
);
...
...
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