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
12e8a31e
Commit
12e8a31e
authored
Feb 11, 2014
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Feb 13, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
taskschd: Add ITaskSettings stub implementation.
parent
83e0fb8a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
task.c
dlls/taskschd/task.c
+0
-0
scheduler.c
dlls/taskschd/tests/scheduler.c
+6
-6
No files found.
dlls/taskschd/task.c
View file @
12e8a31e
This diff is collapsed.
Click to expand it.
dlls/taskschd/tests/scheduler.c
View file @
12e8a31e
...
...
@@ -886,13 +886,13 @@ static void test_settings_v1(ITaskDefinition *taskdef, struct settings *test, st
TASK_COMPATIBILITY
compat
;
hr
=
ITaskDefinition_get_Settings
(
taskdef
,
&
set
);
todo_wine
ok
(
hr
==
S_OK
,
"get_Settings error %#x
\n
"
,
hr
);
/* FIXME: Remove once implemented */
if
(
hr
!=
S_OK
)
return
;
hr
=
ITaskSettings_get_AllowDemandStart
(
set
,
&
vbool
);
todo_wine
ok
(
hr
==
S_OK
,
"expected S_OK, got %#x
\n
"
,
hr
);
/* FIXME: Remove once implemented */
if
(
hr
!=
S_OK
)
return
;
ok
(
vbool
==
def
->
allow_on_demand_start
,
"expected %d, got %d
\n
"
,
def
->
allow_on_demand_start
,
vbool
);
hr
=
ITaskSettings_get_RestartInterval
(
set
,
&
bstr
);
...
...
@@ -979,16 +979,16 @@ static void change_settings(ITaskDefinition *taskdef, struct settings *test)
ITaskSettings
*
set
;
hr
=
ITaskDefinition_get_Settings
(
taskdef
,
&
set
);
todo_wine
ok
(
hr
==
S_OK
,
"get_Settings error %#x
\n
"
,
hr
);
/* FIXME: Remove once implemented */
if
(
hr
!=
S_OK
)
return
;
if
(
!
test
->
restart_interval
[
0
])
hr
=
ITaskSettings_put_RestartInterval
(
set
,
NULL
);
else
hr
=
ITaskSettings_put_RestartInterval
(
set
,
test
->
restart_interval
);
todo_wine
ok
(
hr
==
S_OK
,
"expected S_OK, got %#x
\n
"
,
hr
);
/* FIXME: Remove once implemented */
if
(
hr
!=
S_OK
)
return
;
hr
=
ITaskSettings_put_RestartCount
(
set
,
test
->
restart_count
);
ok
(
hr
==
S_OK
,
"expected S_OK, got %#x
\n
"
,
hr
);
...
...
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