Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
4f9a79bc
Commit
4f9a79bc
authored
Dec 18, 2022
by
Mohamad Al-Jaf
Committed by
Alexandre Julliard
Mar 07, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windows.perception.stub/tests: Add ISpatialSurfaceObserverStatics2::IsSupported() tests.
parent
006bc33c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
perception.c
dlls/windows.perception.stub/tests/perception.c
+6
-0
No files found.
dlls/windows.perception.stub/tests/perception.c
View file @
4f9a79bc
...
...
@@ -50,6 +50,7 @@ static void test_ObserverStatics(void)
static
const
WCHAR
*
observer_statics_name
=
L"Windows.Perception.Spatial.Surfaces.SpatialSurfaceObserver"
;
ISpatialSurfaceObserverStatics2
*
observer_statics2
;
IActivationFactory
*
factory
;
BOOLEAN
value
;
HSTRING
str
;
HRESULT
hr
;
LONG
ref
;
...
...
@@ -74,6 +75,11 @@ static void test_ObserverStatics(void)
hr
=
IActivationFactory_QueryInterface
(
factory
,
&
IID_ISpatialSurfaceObserverStatics2
,
(
void
**
)
&
observer_statics2
);
ok
(
hr
==
S_OK
,
"got hr %#lx.
\n
"
,
hr
);
value
=
TRUE
;
hr
=
ISpatialSurfaceObserverStatics2_IsSupported
(
observer_statics2
,
&
value
);
todo_wine
ok
(
hr
==
S_OK
,
"got hr %#lx.
\n
"
,
hr
);
todo_wine
ok
(
!
value
,
"got %d.
\n
"
,
value
);
ref
=
ISpatialSurfaceObserverStatics2_Release
(
observer_statics2
);
ok
(
ref
==
2
,
"got ref %ld.
\n
"
,
ref
);
ref
=
IActivationFactory_Release
(
factory
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment