Commit b7ae278f authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

windows.perception.stub/tests: Skip some tests when…

windows.perception.stub/tests: Skip some tests when ISpatialSurfaceObserverStatics2 is not supported. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54649
parent 065fbd20
......@@ -73,6 +73,10 @@ static void test_ObserverStatics(void)
check_interface( factory, &IID_ISpatialSurfaceObserverStatics );
hr = IActivationFactory_QueryInterface( factory, &IID_ISpatialSurfaceObserverStatics2, (void **)&observer_statics2 );
if (hr == E_NOINTERFACE /* win1607 */)
win_skip("ISpatialSurfaceObserverStatics2 is not supported\n");
else
{
ok( hr == S_OK, "got hr %#lx.\n", hr );
value = TRUE;
......@@ -82,6 +86,7 @@ static void test_ObserverStatics(void)
ref = ISpatialSurfaceObserverStatics2_Release( observer_statics2 );
ok( ref == 2, "got ref %ld.\n", ref );
}
ref = IActivationFactory_Release( factory );
ok( ref == 1, "got ref %ld.\n", ref );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment