=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: ieframe/tests: Use todo_wine_if() in tests.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Mar 1 10:44:05 CST 2016


Module: wine
Branch: master
Commit: 014e06b9c5176f0e1221a76e7f73ff9c59963de2
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=014e06b9c5176f0e1221a76e7f73ff9c59963de2

Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date:   Sat Feb 27 15:27:32 2016 +0100

ieframe/tests: Use todo_wine_if() in tests.

Signed-off-by: Frédéric Delanoy <frederic.delanoy at gmail.com>
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/ieframe/tests/webbrowser.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/dlls/ieframe/tests/webbrowser.c b/dlls/ieframe/tests/webbrowser.c
index 032faef..b2bbebd 100644
--- a/dlls/ieframe/tests/webbrowser.c
+++ b/dlls/ieframe/tests/webbrowser.c
@@ -1654,9 +1654,7 @@ static HRESULT WINAPI DocHostUIHandler_GetExternal(IDocHostUIHandler2 *iface, ID
 static HRESULT WINAPI DocHostUIHandler_TranslateUrl(IDocHostUIHandler2 *iface, DWORD dwTranslate,
         OLECHAR *pchURLIn, OLECHAR **ppchURLOut)
 {
-    if(is_downloading && !(dwl_flags & DWL_EXPECT_BEFORE_NAVIGATE))
-        todo_wine CHECK_EXPECT(TranslateUrl);
-    else
+    todo_wine_if(is_downloading && !(dwl_flags & DWL_EXPECT_BEFORE_NAVIGATE))
         CHECK_EXPECT(TranslateUrl);
     return E_NOTIMPL;
 }




More information about the wine-cvs mailing list