Module: wine Branch: master Commit: 650ea6e6d8d7a429c55c986544588a94f3210a95 URL: https://gitlab.winehq.org/wine/wine/-/commit/650ea6e6d8d7a429c55c986544588a9...
Author: Mohamad Al-Jaf mohamadaljaf@gmail.com Date: Fri Mar 10 20:01:14 2023 -0500
windows.perception.stub/tests: Add IHolographicSpaceStatics2 properties tests.
---
dlls/windows.perception.stub/tests/perception.c | 11 +++++++++++ 1 file changed, 11 insertions(+)
diff --git a/dlls/windows.perception.stub/tests/perception.c b/dlls/windows.perception.stub/tests/perception.c index 9cc7c40debb..aded4a6fa7d 100644 --- a/dlls/windows.perception.stub/tests/perception.c +++ b/dlls/windows.perception.stub/tests/perception.c @@ -100,6 +100,7 @@ static void test_HolographicSpaceStatics(void) static const WCHAR *holographicspace_statics_name = L"Windows.Graphics.Holographic.HolographicSpace"; IHolographicSpaceStatics2 *holographicspace_statics2; IActivationFactory *factory; + BOOLEAN value; HSTRING str; HRESULT hr; LONG ref; @@ -129,6 +130,16 @@ static void test_HolographicSpaceStatics(void)
ok( hr == S_OK, "got hr %#lx.\n", hr );
+ value = 2; + hr = IHolographicSpaceStatics2_get_IsSupported( holographicspace_statics2, &value ); + todo_wine ok( hr == S_OK, "got hr %#lx.\n", hr ); + todo_wine ok( value == TRUE, "got %d.\n", value ); + + value = 2; + hr = IHolographicSpaceStatics2_get_IsAvailable( holographicspace_statics2, &value ); + todo_wine ok( hr == S_OK, "got hr %#lx.\n", hr ); + todo_wine ok( value == FALSE, "got %d.\n", value ); + ref = IHolographicSpaceStatics2_Release( holographicspace_statics2 ); ok( ref == 2, "got ref %ld.\n", ref ); done: