Francois Gouget
2e6ae16469
mstask/tests: Work around race conditions with the task scheduler process.
...
When a task is created the process scheduler locks and loads it. This
can cause ITaskScheduler_Delete() to fail with a sharing violation if
it is called at the wrong time. Just retry a bit later when that
happens.
This fixes failures mostly in Wine but also in Windows 10 from time
to time in both task and task_scheduler.
Signed-off-by: Francois Gouget <fgouget@icodeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-21 08:57:00 +02:00
Sven Baars
80b572e8b2
mstask/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-14 15:32:23 +01:00
Dmitry Timoshkov
74cc9b6741
mstask/tests: Add more tests for IEnumWorkItems interface.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-11 12:01:20 +02:00
Dmitry Timoshkov
4bd663629d
mstask: Implement ITaskScheduler::Delete().
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-11 17:20:41 +02:00
Dmitry Timoshkov
c65df521a4
mstask/tests: Add more tests for ITaskScheduler::AddWorkItem().
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-25 10:51:21 +02:00
Dmitry Timoshkov
f429c8188b
mstask: Implement ITaskScheduler::AddWorkItem().
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-25 10:51:13 +02:00
Dmitry Timoshkov
ce0d9956f5
mstask: Implement IPersistFile::GetCurFile().
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-25 10:49:57 +02:00
Dmitry Timoshkov
cbe3300b1e
mstask: Implement IPersistFile::GetClassID().
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-20 14:08:26 +02:00
Dmitry Timoshkov
d42e42e3f1
mstask/tests: Add some tests for task file storage.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-30 16:52:04 +02:00
Hans Leidekker
64c1353925
mstask/tests: Skip ITaskScheduler::SetTargetComputer tests if the user doesn't have admin rights.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-19 12:13:49 +01:00
Nikolay Sivov
7aa2e9a9d0
mstask: Added IEnumWorkItems stub.
2015-03-20 16:23:04 +09:00
Frédéric Delanoy
2e5cb7aac8
Assorted spelling/grammar fixes.
2014-04-30 18:34:20 +02:00
Detlef Riekenberg
0c8dc0090b
mstask/tests: Add tests for SetTargetComputer.
2012-11-08 15:37:49 +01:00
Detlef Riekenberg
48ddbde746
mstask/tests: Add tests for GetTargetComputer.
2012-11-06 16:02:44 +01:00
Francois Gouget
4823b2c7bf
Assorted spelling fixes.
2008-09-02 13:58:21 +02:00
Roy Shea
77ea6ef814
mstask: Stub implementation of Activate.
2008-08-19 15:32:02 +02:00
Roy Shea
75e043ee5f
mstask: Activate conformance test.
2008-08-19 15:31:55 +02:00
Roy Shea
2f366935d5
mstask: Implemented NewWorkItem.
2008-08-05 14:09:37 +02:00
Roy Shea
41da56a05f
mstask/test: NewWorkItem conformance test.
2008-08-04 13:03:56 +02:00