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
adc60c77
Commit
adc60c77
authored
Apr 10, 2014
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Apr 10, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
taskschd/tests: Add a test for registering a task with NULL name in a not root folder.
parent
a484dadf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
scheduler.c
dlls/taskschd/tests/scheduler.c
+7
-3
No files found.
dlls/taskschd/tests/scheduler.c
View file @
adc60c77
...
...
@@ -931,8 +931,8 @@ todo_wine
hr
=
ITaskFolder_RegisterTask
(
root
,
NULL
,
xmlW
,
TASK_CREATE
,
v_null
,
v_null
,
TASK_LOGON_NONE
,
v_null
,
&
task1
);
todo_wine
ok
(
hr
==
S_OK
,
"RegisterTask error %#x
\n
"
,
hr
);
/* FIXME: Remove once implemented */
if
(
hr
!=
S_OK
)
goto
failed
;
if
(
hr
==
S_OK
)
{
hr
=
IRegisteredTask_get_Name
(
task1
,
&
bstr
);
ok
(
hr
==
S_OK
,
"get_Name error %#x
\n
"
,
hr
);
hr
=
IIDFromString
(
bstr
,
&
iid
);
...
...
@@ -942,8 +942,12 @@ todo_wine
hr
=
ITaskFolder_DeleteTask
(
root
,
bstr
,
0
);
ok
(
hr
==
S_OK
,
"DeleteTask error %#x
\n
"
,
hr
);
}
hr
=
ITaskFolder_RegisterTask
(
folder
,
NULL
,
xmlW
,
TASK_CREATE
,
v_null
,
v_null
,
TASK_LOGON_NONE
,
v_null
,
&
task1
);
todo_wine
ok
(
hr
==
E_INVALIDARG
,
"expected E_INVALIDARG, got %#x
\n
"
,
hr
);
failed:
ITaskFolder_Release
(
folder
);
hr
=
ITaskFolder_DeleteFolder
(
root
,
Wine
,
0
);
...
...
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