Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
da4dc79d
Commit
da4dc79d
authored
Sep 17, 2020
by
Nikolay Sivov
Committed by
Alexandre Julliard
Sep 17, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleacc/tests: Use wide string constants.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
58285160
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
main.c
dlls/oleacc/tests/main.c
+2
-5
No files found.
dlls/oleacc/tests/main.c
View file @
da4dc79d
...
@@ -726,9 +726,6 @@ static void test_AccessibleChildren(IAccessible *acc)
...
@@ -726,9 +726,6 @@ static void test_AccessibleChildren(IAccessible *acc)
static
void
test_default_client_accessible_object
(
void
)
static
void
test_default_client_accessible_object
(
void
)
{
{
static
const
WCHAR
testW
[]
=
{
't'
,
'e'
,
's'
,
't'
,
' '
,
't'
,
' '
,
'&'
,
'j'
,
'u'
,
'n'
,
'k'
,
0
};
static
const
WCHAR
shortcutW
[]
=
{
'A'
,
'l'
,
't'
,
'+'
,
't'
,
0
};
IAccessible
*
acc
;
IAccessible
*
acc
;
IDispatch
*
disp
;
IDispatch
*
disp
;
IOleWindow
*
ow
;
IOleWindow
*
ow
;
...
@@ -813,7 +810,7 @@ static void test_default_client_accessible_object(void)
...
@@ -813,7 +810,7 @@ static void test_default_client_accessible_object(void)
V_I4
(
&
vid
)
=
CHILDID_SELF
;
V_I4
(
&
vid
)
=
CHILDID_SELF
;
hr
=
IAccessible_get_accName
(
acc
,
vid
,
&
str
);
hr
=
IAccessible_get_accName
(
acc
,
vid
,
&
str
);
ok
(
hr
==
S_OK
,
"got %x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"got %x
\n
"
,
hr
);
ok
(
!
lstrcmpW
(
str
,
testW
),
"name = %s
\n
"
,
wine_dbgstr_w
(
str
));
ok
(
!
lstrcmpW
(
str
,
L"test t &junk"
),
"name = %s
\n
"
,
wine_dbgstr_w
(
str
));
SysFreeString
(
str
);
SysFreeString
(
str
);
V_I4
(
&
vid
)
=
1
;
V_I4
(
&
vid
)
=
1
;
...
@@ -855,7 +852,7 @@ static void test_default_client_accessible_object(void)
...
@@ -855,7 +852,7 @@ static void test_default_client_accessible_object(void)
hr
=
IAccessible_get_accKeyboardShortcut
(
acc
,
vid
,
&
str
);
hr
=
IAccessible_get_accKeyboardShortcut
(
acc
,
vid
,
&
str
);
ok
(
hr
==
S_OK
,
"got %x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"got %x
\n
"
,
hr
);
ok
(
!
lstrcmpW
(
str
,
shortcutW
),
"str = %s
\n
"
,
wine_dbgstr_w
(
str
));
ok
(
!
lstrcmpW
(
str
,
L"Alt+t"
),
"str = %s
\n
"
,
wine_dbgstr_w
(
str
));
SysFreeString
(
str
);
SysFreeString
(
str
);
str
=
(
void
*
)
0xdeadbeef
;
str
=
(
void
*
)
0xdeadbeef
;
...
...
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