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
0e894c34
Commit
0e894c34
authored
Sep 17, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mstask/tests: Fix test failures on XP.
parent
343d2420
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
6 deletions
+13
-6
task.c
dlls/mstask/tests/task.c
+13
-6
No files found.
dlls/mstask/tests/task.c
View file @
0e894c34
...
...
@@ -164,9 +164,13 @@ static void test_SetApplicationName_GetApplicationName(void)
ok
(
hres
==
S_OK
,
"GetApplicationName failed: %08x
\n
"
,
hres
);
if
(
hres
==
S_OK
)
{
full_name
=
path_resolve_name
(
notepad
);
ok
(
!
lstrcmpiW
(
stored_name
,
full_name
),
"Got %s, expected %s
\n
"
,
dbgstr_w
(
stored_name
),
dbgstr_w
(
full_name
));
full_name
=
path_resolve_name
(
notepad_exe
);
/* XP SP1 appends .exe */
if
(
lstrcmpiW
(
stored_name
,
full_name
)
!=
0
)
{
full_name
=
path_resolve_name
(
notepad
);
ok
(
!
lstrcmpiW
(
stored_name
,
full_name
),
"Got %s, expected %s
\n
"
,
dbgstr_w
(
stored_name
),
dbgstr_w
(
full_name
));
}
CoTaskMemFree
(
stored_name
);
}
...
...
@@ -467,7 +471,8 @@ static void test_SetAccountInformation_GetAccountInformation(void)
"Failed setting dummy account with no password: %08x
\n
"
,
hres
);
hres
=
ITask_GetAccountInformation
(
test_task
,
&
account_name
);
ok
(
hres
==
S_OK
||
broken
(
hres
==
HRESULT_FROM_WIN32
(
ERROR_FILE_NOT_FOUND
)),
broken
(
hres
==
HRESULT_FROM_WIN32
(
ERROR_FILE_NOT_FOUND
)
||
hres
==
SCHED_E_CANNOT_OPEN_TASK
),
"GetAccountInformation failed: %08x
\n
"
,
hres
);
if
(
hres
==
S_OK
)
{
...
...
@@ -485,7 +490,8 @@ static void test_SetAccountInformation_GetAccountInformation(void)
"Failed setting dummy account with password: %08x
\n
"
,
hres
);
hres
=
ITask_GetAccountInformation
(
test_task
,
&
account_name
);
ok
(
hres
==
S_OK
||
broken
(
hres
==
HRESULT_FROM_WIN32
(
ERROR_FILE_NOT_FOUND
)),
broken
(
hres
==
HRESULT_FROM_WIN32
(
ERROR_FILE_NOT_FOUND
)
||
hres
==
SCHED_E_CANNOT_OPEN_TASK
),
"GetAccountInformation failed: %08x
\n
"
,
hres
);
if
(
hres
==
S_OK
)
{
...
...
@@ -500,7 +506,8 @@ static void test_SetAccountInformation_GetAccountInformation(void)
ok
(
hres
==
S_OK
,
"Failed setting system account: %08x
\n
"
,
hres
);
hres
=
ITask_GetAccountInformation
(
test_task
,
&
account_name
);
ok
(
hres
==
S_OK
||
broken
(
hres
==
HRESULT_FROM_WIN32
(
ERROR_FILE_NOT_FOUND
)),
broken
(
hres
==
HRESULT_FROM_WIN32
(
ERROR_FILE_NOT_FOUND
)
||
hres
==
SCHED_E_CANNOT_OPEN_TASK
),
"GetAccountInformation failed: %08x
\n
"
,
hres
);
if
(
hres
==
S_OK
)
{
...
...
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