mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-14 18:55:37 +00:00
wbemprox/tests: Use todo_wine_if() in tests.
Signed-off-by: André Hentschel <nerv@dawncrow.de> Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
68b92d052a
commit
fa7d4e6015
|
@ -168,10 +168,7 @@ static void test_IWbemLocator(void)
|
||||||
{
|
{
|
||||||
resource = SysAllocString( test[i].path );
|
resource = SysAllocString( test[i].path );
|
||||||
hr = IWbemLocator_ConnectServer( locator, resource, NULL, NULL, NULL, 0, NULL, NULL, &services );
|
hr = IWbemLocator_ConnectServer( locator, resource, NULL, NULL, NULL, 0, NULL, NULL, &services );
|
||||||
if (test[i].todo) todo_wine
|
todo_wine_if (test[i].todo)
|
||||||
ok( hr == test[i].result || broken(hr == test[i].result_broken),
|
|
||||||
"%u: expected %08x got %08x\n", i, test[i].result, hr );
|
|
||||||
else
|
|
||||||
ok( hr == test[i].result || broken(hr == test[i].result_broken),
|
ok( hr == test[i].result || broken(hr == test[i].result_broken),
|
||||||
"%u: expected %08x got %08x\n", i, test[i].result, hr );
|
"%u: expected %08x got %08x\n", i, test[i].result, hr );
|
||||||
SysFreeString( resource );
|
SysFreeString( resource );
|
||||||
|
|
Loading…
Reference in a new issue