Aric Stewart : msctf/tests: Add wine_todo processing to sink_check_ok.
Alexandre Julliard
julliard at winehq.org
Fri Sep 11 10:53:03 CDT 2009
Module: wine
Branch: master
Commit: ecd17659df771f389cd77f07768f4e479dcb1ebd
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ecd17659df771f389cd77f07768f4e479dcb1ebd
Author: Aric Stewart <aric at codeweavers.com>
Date: Thu Sep 10 19:28:26 2009 -0500
msctf/tests: Add wine_todo processing to sink_check_ok.
---
dlls/msctf/tests/inputprocessor.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/dlls/msctf/tests/inputprocessor.c b/dlls/msctf/tests/inputprocessor.c
index 6267f4a..ffbdbad 100644
--- a/dlls/msctf/tests/inputprocessor.c
+++ b/dlls/msctf/tests/inputprocessor.c
@@ -121,6 +121,7 @@ static inline void _sink_fire_ok(INT *sink, const CHAR* name)
static inline void _sink_check_ok(INT *sink, const CHAR* name)
{
int action = *sink & SINK_ACTION_MASK;
+ int todo = *sink & SINK_OPTION_TODO;
switch (action)
{
@@ -132,7 +133,10 @@ static inline void _sink_check_ok(INT *sink, const CHAR* name)
case SINK_IGNORE:
return;
default:
- winetest_ok(0, "%s not fired as expected, in state %x\n",name,*sink);
+ if (todo)
+ todo_wine winetest_ok(0, "%s not fired as expected, in state %x\n",name,*sink);
+ else
+ winetest_ok(0, "%s not fired as expected, in state %x\n",name,*sink);
}
*sink = SINK_UNEXPECTED;
}
More information about the wine-cvs
mailing list