Commit Graph

98 Commits

Author SHA1 Message Date
Sven Baars be0d31c96d taskschd/tests: Fix some memory leaks (Valgrind).
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-15 17:17:25 +01:00
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
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 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 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 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 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 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
Jacek Caban 82a590403f taskschd: Added IDailyTrigger::DaysInterval property implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-19 17:54:28 -07:00
Jacek Caban 18427a0ce0 taskschd: Added ITriggerCollection::Create implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-19 17:54:23 -07:00
Sebastian Lackner e16b9f757b taskschd: Do not return ERROR_* constant in HRESULT function.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-14 11:53:26 +09:00
Jacek Caban d62ab576e5 taskschd/tests: Fixed tests on win10.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-07 00:34:24 +09:00
Jacek Caban 67abe79de0 taskschd: Added ITaskDefinition::get_Triggers implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-07 00:34:24 +09:00
Sebastian Lackner 9b09472d4f taskschd/tests: Fix a use-after-free in scheduler tests.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-20 16:54:47 +09:00
Dmitry Timoshkov 557c3714e8 taskschd/tests: Fix memory leaks (Valgrind).
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-09 16:44:53 +09:00
Michael Stefaniuc 39f1184ee1 taskschd/tests: Test the correct return value. 2015-03-25 20:12:47 +09:00
Alexandre Julliard f48a0d8ca3 taskschd/tests: Don't depend on the directory lookup order. 2014-12-03 11:25:51 +01:00
Dmitry Timoshkov bd1576975a taskschd: Implement setters for IRegistrationInfo string properties. 2014-04-11 11:23:27 +02:00