msctf/tests: Use todo_wine_if() in tests.
Signed-off-by: Frédéric Delanoy <frederic.delanoy@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7ab2139191
commit
430556ae06
|
@ -117,9 +117,7 @@ static inline void _sink_fire_ok(INT *sink, const CHAR* name)
|
||||||
*sink = (*sink & ~SINK_EXPECTED_COUNT_MASK) + (count << 16);
|
*sink = (*sink & ~SINK_EXPECTED_COUNT_MASK) + (count << 16);
|
||||||
return;
|
return;
|
||||||
default:
|
default:
|
||||||
if (todo)
|
todo_wine_if (todo)
|
||||||
todo_wine winetest_ok(0, "Unexpected %s sink\n",name);
|
|
||||||
else
|
|
||||||
winetest_ok(0, "Unexpected %s sink\n",name);
|
winetest_ok(0, "Unexpected %s sink\n",name);
|
||||||
}
|
}
|
||||||
*sink = SINK_FIRED;
|
*sink = SINK_FIRED;
|
||||||
|
@ -147,9 +145,7 @@ static inline void _sink_check_ok(INT *sink, const CHAR* name)
|
||||||
winetest_trace("optional sink %s not fired\n",name);
|
winetest_trace("optional sink %s not fired\n",name);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
if (todo)
|
todo_wine_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);
|
winetest_ok(0, "%s not fired as expected, in state %x\n",name,*sink);
|
||||||
}
|
}
|
||||||
*sink = SINK_UNEXPECTED;
|
*sink = SINK_UNEXPECTED;
|
||||||
|
|
Loading…
Reference in New Issue