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
259557cd
Commit
259557cd
authored
Feb 14, 2022
by
Alex Henrie
Committed by
Alexandre Julliard
Feb 17, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/tests: Drop mru test workarounds for Windows <= 2000.
Signed-off-by:
Alex Henrie
<
alexhenrie24@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
1b544568
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
12 deletions
+4
-12
mru.c
dlls/comctl32/tests/mru.c
+4
-12
No files found.
dlls/comctl32/tests/mru.c
View file @
259557cd
...
...
@@ -340,15 +340,11 @@ static void test_MRUListA(void)
iRet
,
GetLastError
());
/* Add (NULL string) */
if
(
0
)
{
/* Some native versions crash when passed NULL or fail to SetLastError() */
SetLastError
(
0
);
iRet
=
pAddMRUStringA
(
hMRU
,
NULL
);
ok
(
iRet
==
0
&&
GetLastError
()
==
ERROR_INVALID_PARAMETER
,
"AddMRUStringA(NULL str) expected 0,
ERROR_INVALID_PARAMETER
got %d,%d
\n
"
,
todo_wine
ok
(
iRet
==
0
&&
!
GetLastError
()
,
"AddMRUStringA(NULL str) expected 0,
0
got %d,%d
\n
"
,
iRet
,
GetLastError
());
}
/* Add 3 strings. Check the registry is correct after each add */
SetLastError
(
0
);
...
...
@@ -450,7 +446,7 @@ static void test_MRUListA(void)
pFreeMRUList
(
hMRU
);
}
/* FreeMRUList(NULL) crashes on Win98 OSR0
*/
pFreeMRUList
(
NULL
);
/* should not crash
*/
}
typedef
struct
{
...
...
@@ -504,13 +500,9 @@ static void test_EnumMRUList(void)
return
;
}
/* NULL handle */
if
(
0
)
{
/* crashes on NT4, passed on Win2k, XP, 2k3, Vista, 2k8 */
/* NULL handle - should not crash */
pEnumMRUListA
(
NULL
,
0
,
NULL
,
0
);
pEnumMRUListW
(
NULL
,
0
,
NULL
,
0
);
}
}
static
void
test_FindMRUData
(
void
)
...
...
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