Alex Henrie : oleacc/tests: Fix failure messages in test_AccessibleObjectFromEvent.
Alexandre Julliard
julliard at winehq.org
Tue Nov 23 16:03:29 CST 2021
Module: wine
Branch: master
Commit: d9984aa505a8968622e510f129299c6167c1bc2e
URL: https://source.winehq.org/git/wine.git/?a=commit;h=d9984aa505a8968622e510f129299c6167c1bc2e
Author: Alex Henrie <alexhenrie24 at gmail.com>
Date: Mon Nov 22 23:02:08 2021 -0700
oleacc/tests: Fix failure messages in test_AccessibleObjectFromEvent.
Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
Signed-off-by: Piotr Caban <piotr at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/oleacc/tests/main.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/oleacc/tests/main.c b/dlls/oleacc/tests/main.c
index 62346ffed01..8c234aee8aa 100644
--- a/dlls/oleacc/tests/main.c
+++ b/dlls/oleacc/tests/main.c
@@ -720,7 +720,7 @@ static void test_AccessibleObjectFromEvent(void)
ok(hr == S_OK, "got %#x\n", hr);
todo_wine ok(!iface_cmp((IUnknown*)acc, (IUnknown*)&Accessible), "acc == &Accessible\n");
ok(V_VT(&cid) == VT_I4, "got %#x, expected %#x\n", V_VT(&cid), VT_I4);
- ok(V_I4(&cid) == 1, "got %#x, expected %#x\n", V_I4(&cid), CHILDID_SELF);
+ ok(V_I4(&cid) == 1, "got %#x, expected 1\n", V_I4(&cid));
SET_EXPECT(Accessible_get_accParent);
SET_EXPECT(Accessible_get_accName);
V_I4(&cid) = 0;
@@ -736,7 +736,7 @@ static void test_AccessibleObjectFromEvent(void)
ok(hr == S_OK, "got %#x\n", hr);
todo_wine ok(!iface_cmp((IUnknown*)acc, (IUnknown*)&Accessible), "acc == &Accessible\n");
ok(V_VT(&cid) == VT_I4, "got %#x, expected %#x\n", V_VT(&cid), VT_I4);
- ok(V_I4(&cid) == 2, "got %#x, expected %#x\n", V_I4(&cid), CHILDID_SELF);
+ ok(V_I4(&cid) == 2, "got %#x, expected 2\n", V_I4(&cid));
SET_EXPECT(Accessible_get_accParent);
SET_EXPECT(Accessible_get_accName);
V_I4(&cid) = 0;
@@ -752,7 +752,7 @@ static void test_AccessibleObjectFromEvent(void)
ok(hr == S_OK, "got %#x\n", hr);
todo_wine ok(!iface_cmp((IUnknown*)acc, (IUnknown*)&Accessible_child), "acc == &Accessible_child\n");
ok(V_VT(&cid) == VT_I4, "got %#x, expected %#x\n", V_VT(&cid), VT_I4);
- ok(V_I4(&cid) == 0, "got %#x, expected %#x\n", V_I4(&cid), CHILDID_SELF);
+ ok(V_I4(&cid) == CHILDID_SELF, "got %#x, expected %#x\n", V_I4(&cid), CHILDID_SELF);
SET_EXPECT(Accessible_child_get_accParent);
SET_EXPECT(Accessible_child_get_accName);
hr = IAccessible_get_accName(acc, cid, NULL);
@@ -767,7 +767,7 @@ static void test_AccessibleObjectFromEvent(void)
ok(hr == S_OK, "got %#x\n", hr);
ok(acc == &Accessible_child, "acc != &Accessible_child\n");
ok(V_VT(&cid) == VT_I4, "got %#x, expected %#x\n", V_VT(&cid), VT_I4);
- ok(V_I4(&cid) == 0, "got %#x, expected %#x\n", V_I4(&cid), CHILDID_SELF);
+ ok(V_I4(&cid) == CHILDID_SELF, "got %#x, expected %#x\n", V_I4(&cid), CHILDID_SELF);
SET_EXPECT(Accessible_child_get_accName);
hr = IAccessible_get_accName(acc, cid, NULL);
ok(hr == E_INVALIDARG, "get_accName returned %x\n", hr);
More information about the wine-cvs
mailing list