Commit Graph

145 Commits

Author SHA1 Message Date
Michael Stefaniuc b4c89dc326 taskschd/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-31 09:25:02 +02:00
Dmitry Timoshkov f6d6365430 taskschd: IRegistrationInfo::put_Source() should accept NULL input.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-02 16:02:55 +02:00
Dmitry Timoshkov eb39956bdd taskschd: IRegistrationInfo::put_URI() should accept NULL input.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-02 16:02:55 +02:00
Dmitry Timoshkov 62ea04298b taskschd: IRegistrationInfo::put_Documentation() should accept NULL input.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-02 16:02:54 +02:00
Dmitry Timoshkov 57c936b05c taskschd: IRegistrationInfo::put_Date() should accept NULL input.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-02 16:02:54 +02:00
Dmitry Timoshkov 8ad8d05af0 taskschd: IRegistrationInfo::put_Version() should accept NULL input.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-02 16:02:54 +02:00
Dmitry Timoshkov 6c091f8790 taskschd: IRegistrationInfo::put_Author() should accept NULL input.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-02 16:02:54 +02:00
Dmitry Timoshkov 19f4037dd5 taskschd: IRegistrationInfo::put_Description() should accept NULL input.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-02 16:02:54 +02:00
Dmitry Timoshkov f9d1aa586e taskschd: Implement ExecAction::put_Id and ExecAction::get_Id.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-30 16:52:04 +02:00
Dmitry Timoshkov 2c925f2320 taskschd/tests: Add more tests for actions.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-06 09:15:28 -06:00
Dmitry Timoshkov 1884714569 taskschd: Implement IExecAction::get_Arguments.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-06 09:15:28 -06:00
Dmitry Timoshkov daf2d98e68 taskschd: Implement IExecAction::put_Arguments.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-06 09:15:28 -06:00
Dmitry Timoshkov 439a4b1ee1 taskschd: Implement IExecAction::get_WorkingDirectory.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-06 09:15:27 -06:00
Dmitry Timoshkov 6dbee463a7 taskschd: Implement IExecAction::put_WorkingDirectory.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-06 09:15:27 -06:00
Michael Stefaniuc d186f681fb taskschd: Use the global HeapAlloc() wrappers.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-05 10:00:07 +01:00
Nikolay Sivov fb4ab15a4e taskschd: Fix a leak on error path (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-26 10:12:31 +01:00
Hans Leidekker 3c2d8dc3ae taskschd: Implement IDailyTrigger_get_Enabled.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-01 15:57:48 +01:00
Hans Leidekker 929272f139 taskschd: Implement IDailyTrigger_put_Enabled.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-01 15:57:45 +01:00
Hans Leidekker 179d1ed75b taskschd: Implement IDailyTrigger_get_StartBoundary.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-01 15:57:41 +01:00
Hans Leidekker adad0705b0 taskschd: Implement IDailyTrigger_put_StartBoundary.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-01 15:57:36 +01:00
Hans Leidekker 77a7094bb8 taskschd: Consistently check for allocation failure.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-01 15:57:25 +01:00
Hans Leidekker 0d3ebfc459 taskschd: Implement IExecAction_get_Path.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-30 10:26:12 +01:00
Hans Leidekker e0fbe82e66 taskschd: Implement IExecAction_put_Path.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-30 10:26:08 +01:00
Hans Leidekker 8d739937d3 taskschd: Implement IActionCollection_Create.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-30 10:26:05 +01:00
Hans Leidekker 759ef6a4fa taskschd: Implement ITaskDefinition_put_Actions.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-30 10:26:01 +01:00
Hans Leidekker c0858ec0cb taskschd: Implement ITaskDefinition_get_Actions.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-30 10:25:57 +01:00
Hans Leidekker acacbbcb86 taskschd: Implement ITaskDefinition_put_Principal.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-30 10:25:52 +01:00
Hans Leidekker 4a0fa13f28 taskschd: Implement ITaskDefinition_get_Principal.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-30 10:25:48 +01:00
Hans Leidekker 96cf60ecac taskschd: Implement ITaskDefinition_put_Triggers.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-30 10:25:37 +01:00
Hans Leidekker f186114676 taskschd: Implement ITaskSettings_put_AllowDemandStart.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-29 20:15:31 +01:00
Hans Leidekker 412a4a0620 taskschd: Implement ITaskSettings_put_WakeToRun.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-29 20:15:31 +01:00
Hans Leidekker 1107e77b58 taskschd: Implement ITaskSettings_put_RunOnlyIfIdle.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-29 20:15:31 +01:00
Hans Leidekker 5a7f0bedf2 taskschd: Implement ITaskSettings_put_Hidden.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-29 20:15:31 +01:00
Hans Leidekker c9c86fbc42 taskschd: Implement ITaskSettings_put_Compatibility.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-29 20:15:31 +01:00
Hans Leidekker 484055e851 taskschd: Implement ITaskSettings_put_Priority.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-29 20:15:31 +01:00
Hans Leidekker f8483297a5 taskschd: Implement ITaskSettings_put_DeleteExpiredTaskAfter.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-29 20:15:30 +01:00
Hans Leidekker 196a97740e taskschd: Implement ITaskSettings_put_Enabled.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-28 15:34:14 +01:00
Hans Leidekker 64c08e68c0 taskschd: Implement ITaskSettings_put_ExecutionTimeLimit.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-28 15:34:12 +01:00
Hans Leidekker ee12d7c917 taskschd: Implement ITaskSettings_put_RunOnlyIfNetworkAvailable.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-28 15:34:10 +01:00
Hans Leidekker 62dd24af4a taskschd: Implement ITaskSettings_put_StartWhenAvailable.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-28 15:34:08 +01:00
Hans Leidekker a883a26f0f taskschd: Implement ITaskSettings_put_AllowHardTerminate.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-28 15:34:05 +01:00
Hans Leidekker 2032eedfa6 taskschd: Implement ITaskSettings_put_DisallowStartIfOnBatteries.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-28 15:34:03 +01:00
Hans Leidekker eb87ede3fe taskschd: Use heap_strdupW to allocate the interval in TaskSettings_put_RestartInterval.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-28 15:34:00 +01:00
Hans Leidekker fdb2eedd9e taskschd: Implement ITaskSettings_put_StopIfGoingOnBatteries.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-27 16:15:25 +01:00
Hans Leidekker 0ae50c22d6 taskschd: Implement ITaskSettings_put_MultipleInstances.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-27 16:15:25 +01:00
Hans Leidekker 01f6313659 taskschd: Implement ITaskSettings_put_RestartCount.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-27 16:15:25 +01:00
Hans Leidekker 059382a3d3 taskschd: Implement ITaskSettings_put_RestartInterval.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-27 16:15:25 +01:00
Hans Leidekker ca20711f11 taskschd: Return success from a couple of stubs.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-27 16:15:25 +01:00
Francois Gouget 2fe91725c5 taskschd: Simplify and standardize the heap_xxx() declarations.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-22 12:02:03 +01:00
Francois Gouget 22c1c9b551 taskschd/tests: Fix a couple of ITriggerCollection ok() messages.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-09 12:10:11 +01:00