Commit Graph

53 Commits

Author SHA1 Message Date
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
Dmitry Timoshkov 8fd6435a6a taskschd: Implement getters for IRegistrationInfo string properties. 2014-04-11 11:23:06 +02:00
Dmitry Timoshkov 84dc933cad taskschd/tests: Add some tests for task registration info. 2014-04-11 11:22:51 +02:00
Dmitry Timoshkov 39c1c9c262 taskschd: Add support for registering a task with NULL name in the root folder.
Because server receives full task name it can't autogenerate a name in
a non-root folder.
2014-04-10 13:54:48 +02:00
Dmitry Timoshkov adc60c779f taskschd/tests: Add a test for registering a task with NULL name in a not root folder. 2014-04-10 13:54:32 +02:00
Dmitry Timoshkov ea248186b3 taskschd: Add invalid parameter check to IRegisteredTask::get_State and IRegisteredTask::get_Enabled. 2014-04-10 13:53:53 +02:00
Dmitry Timoshkov a3cd93ca96 taskschd: Forward IRegisteredTask::get_Enabled to SchRpcGetTaskInfo. 2014-04-09 13:16:47 +02:00
Dmitry Timoshkov 7f3c32b626 taskschd: Forward IRegisteredTask::get_State to SchRpcGetTaskInfo. 2014-04-09 13:16:37 +02:00
Dmitry Timoshkov 96452fc810 schedsvc: Return correct error code when a being loaded xml doesn't exist. 2014-04-09 13:16:13 +02:00
Dmitry Timoshkov a5602f1708 taskschd: Implement IRegisteredTask::get_Path. 2014-04-08 18:28:26 +02:00
Dmitry Timoshkov d79cce769a taskschd: Implement IRegisteredTask::get_Name. 2014-04-08 10:01:00 +02:00
Dmitry Timoshkov 5c5d17e8f3 taskschd: Implement task management using RPC APIs. 2014-04-08 10:00:58 +02:00
Dmitry Timoshkov 39e972b573 taskschd: Make ITaskFolder::CreateFolder, ITaskFolder::GetFolder and ITaskFolder::DeleteFolder use the RPC API. 2014-04-07 16:12:27 +02:00
Dmitry Timoshkov e06bac6ad8 taskschd/tests: Add more ITaskFolder::RegisterTask tests. 2014-03-06 13:36:04 +01:00
Dmitry Timoshkov ee806d9af7 taskschd: Add more tests for RegisterTask, GetTask and DeleteTask. 2014-02-27 11:47:06 -06:00
Dmitry Timoshkov 4c08276e6b taskschd: Return appropriate error code for a malformed XML. 2014-02-25 14:22:23 -06:00
Dmitry Timoshkov 39f0b276c7 taskschd: Don't accept task XML with an invalid boolean value. 2014-02-25 14:22:17 -06:00
Dmitry Timoshkov d2fc6b3145 taskschd: Add a check for the task namespace. 2014-02-25 14:22:10 -06:00
Dmitry Timoshkov 1c778d91bd taskschd/tests: Add more various tests. 2014-02-25 14:22:02 -06:00
Dmitry Timoshkov 175dc76336 taskschd: ITaskService::NewTask doesn't need a server connection. 2014-02-22 08:41:18 -06:00
Dmitry Timoshkov 890bff2622 taskschd: Add initial version of the task definition XML writer. 2014-02-22 08:41:05 -06:00
Dmitry Timoshkov e29f64533f taskschd: Add initial implementation of ITaskDefinition::put_XmlText. 2014-02-18 10:49:41 +01:00
Dmitry Timoshkov 433598c10b taskschd: Implement ITaskFolder::RegisterTask as a wrapper around ITaskFolder::RegisterTaskDefinition. 2014-02-18 10:48:41 +01:00
Dmitry Timoshkov 7b08995141 taskschd: Implement most of ITaskSettings get methods. 2014-02-13 17:52:14 +01:00
Dmitry Timoshkov 12e8a31e72 taskschd: Add ITaskSettings stub implementation. 2014-02-13 17:52:14 +01:00
Dmitry Timoshkov 83e0fb8a5f taskschd/tests: Add some ITaskDefinition tests. 2014-02-13 17:52:14 +01:00
Dmitry Timoshkov a20b10e445 taskschd: Forward ITaskFolder::RegisterTask to IRegisterTask constructor. 2014-02-13 17:52:14 +01:00
Dmitry Timoshkov ae86839536 taskschd/tests: Add some tests for IRegisteredTask interface. 2014-02-07 11:05:50 +01:00
Dmitry Timoshkov 9c7025f92f taskschd: Add a NULL check to ITaskFolder::GetFolders. 2014-02-06 17:08:25 +01:00
Dmitry Timoshkov b3a79114e0 taskschd: ITaskService::GetFolder should fail if not connected to the server. 2014-02-06 17:08:25 +01:00
Dmitry Timoshkov 979e2d3a4e taskschd: Add some tests for ITaskFolderCollection::get__NewEnum. 2014-01-28 11:40:22 +01:00
Dmitry Timoshkov d33c0e14ae taskschd: Implement ITaskFolderCollection::get__NewEnum. 2014-01-28 11:40:21 +01:00
Dmitry Timoshkov eeffc8f073 taskschd: Implement ITaskFolderCollection::get_Item. 2014-01-28 11:40:20 +01:00
Dmitry Timoshkov 463b1b6450 taskschd/tests: Add some ITaskFolderCollection tests. 2014-01-28 11:40:17 +01:00
Dmitry Timoshkov e654be2aec taskschd: Add some invalid parameters checks to ITaskFolder::DeleteFolder. 2014-01-28 11:40:15 +01:00
Dmitry Timoshkov d6f6b6b798 taskschd: Implement ITaskFolder::CreateFolder. 2014-01-27 11:03:14 +01:00
Dmitry Timoshkov a4c4574bd4 taskschd: Implement ITaskFolder::get_Name. 2014-01-27 11:03:11 +01:00
Dmitry Timoshkov 630354f6df taskschd: Make GetFolder check whether task folder tree exists in the registry. 2014-01-27 11:03:04 +01:00
Dmitry Timoshkov 663444ccb7 taskschd: Implement ITaskFolder::get_Path. 2014-01-17 11:03:34 +01:00
Dmitry Timoshkov fe55cb1031 taskschd: Add ITaskFolder stub implementation. 2014-01-17 11:03:31 +01:00
Dmitry Timoshkov 7341996f5d taskschd/tests: Add more task folder tests. 2014-01-16 21:04:19 +01:00
Dmitry Timoshkov 006aadd3d2 taskschd: Treat VT_BSTR/NULL or empty variant as NULL. 2014-01-16 21:04:19 +01:00
Dmitry Timoshkov 57d5b6fcdd taskschd/tests: Add some ITaskFolder tests. 2014-01-15 11:55:55 +01:00
Dmitry Timoshkov 3826fc844a taskschd/tests: Use IP 0.0.0.0 as a bad server name and test that unsuccessful connection attempt shouldn't trash an existing connection. 2014-01-15 11:55:53 +01:00
Dmitry Timoshkov d9b9faa18a taskschd/tests: Add some tests for invalid parameters. 2014-01-14 11:19:19 +01:00
Dmitry Timoshkov c940a3e97e taskschd: Implement ITaskService::get_TargetServer. 2014-01-14 11:19:13 +01:00