Dmitry Timoshkov : mstask/tests: Also test the ITask::GetStatus() return value.

Alexandre Julliard julliard at winehq.org
Wed Apr 25 15:11:15 CDT 2018


Module: wine
Branch: master
Commit: caafc3c6377848c873662e901e08d37891d9e952
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=caafc3c6377848c873662e901e08d37891d9e952

Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date:   Wed Apr 25 11:34:28 2018 +0800

mstask/tests: Also test the ITask::GetStatus() return value.

Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/mstask/tests/task.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/mstask/tests/task.c b/dlls/mstask/tests/task.c
index 6e3c997..6837782 100644
--- a/dlls/mstask/tests/task.c
+++ b/dlls/mstask/tests/task.c
@@ -534,6 +534,7 @@ static void test_task_state(void)
 
     status = 0xdeadbeef;
     hr = ITask_GetStatus(test_task, &status);
+    ok(hr == S_OK, "GetStatus error %#x\n", hr);
     ok(status == SCHED_S_TASK_NOT_SCHEDULED, "got %#x\n", status);
 
     if (0) /* crashes under Windows */




More information about the wine-cvs mailing list