Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
b0eec770
Commit
b0eec770
authored
Mar 05, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Mar 07, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uianimation/tests: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b6dbbfe6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
14 deletions
+13
-14
Makefile.in
dlls/uianimation/tests/Makefile.in
+0
-1
uianimation.c
dlls/uianimation/tests/uianimation.c
+13
-13
No files found.
dlls/uianimation/tests/Makefile.in
View file @
b0eec770
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
TESTDLL
=
uianimation.dll
IMPORTS
=
ole32
...
...
dlls/uianimation/tests/uianimation.c
View file @
b0eec770
...
...
@@ -41,12 +41,12 @@ static void test_UIAnimationManager(void)
}
hr
=
IUIAnimationManager_CreateAnimationVariable
(
manager
,
1
.
0
f
,
&
variable
);
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"got 0x%08
l
x
\n
"
,
hr
);
if
(
hr
==
S_OK
)
IUIAnimationVariable_Release
(
variable
);
hr
=
IUIAnimationManager_CreateStoryboard
(
manager
,
&
storyboard
);
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"got 0x%08
l
x
\n
"
,
hr
);
if
(
hr
==
S_OK
)
IUIAnimationStoryboard_Release
(
storyboard
);
...
...
@@ -66,25 +66,25 @@ static void test_IUIAnimationTimer(void)
}
hr
=
IUIAnimationTimer_IsEnabled
(
timer
);
todo_wine
ok
(
hr
==
S_FALSE
,
"got 0x%08x
\n
"
,
hr
);
todo_wine
ok
(
hr
==
S_FALSE
,
"got 0x%08
l
x
\n
"
,
hr
);
hr
=
IUIAnimationTimer_Enable
(
timer
);
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"got 0x%08
l
x
\n
"
,
hr
);
hr
=
IUIAnimationTimer_Enable
(
timer
);
todo_wine
ok
(
hr
==
S_FALSE
,
"got 0x%08x
\n
"
,
hr
);
todo_wine
ok
(
hr
==
S_FALSE
,
"got 0x%08
l
x
\n
"
,
hr
);
hr
=
IUIAnimationTimer_IsEnabled
(
timer
);
todo_wine
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
todo_wine
ok
(
hr
==
S_OK
,
"got 0x%08
l
x
\n
"
,
hr
);
hr
=
IUIAnimationTimer_Disable
(
timer
);
todo_wine
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
todo_wine
ok
(
hr
==
S_OK
,
"got 0x%08
l
x
\n
"
,
hr
);
hr
=
IUIAnimationTimer_Disable
(
timer
);
todo_wine
ok
(
hr
==
S_FALSE
,
"got 0x%08x
\n
"
,
hr
);
todo_wine
ok
(
hr
==
S_FALSE
,
"got 0x%08
l
x
\n
"
,
hr
);
hr
=
IUIAnimationTimer_IsEnabled
(
timer
);
todo_wine
ok
(
hr
==
S_FALSE
,
"got 0x%08x
\n
"
,
hr
);
todo_wine
ok
(
hr
==
S_FALSE
,
"got 0x%08
l
x
\n
"
,
hr
);
IUIAnimationTimer_Release
(
timer
);
}
...
...
@@ -104,7 +104,7 @@ static void test_IUIAnimationTransitionFactory(void)
}
hr
=
IUIAnimationTransitionFactory_CreateTransition
(
factory
,
NULL
,
&
transition
);
todo_wine
ok
(
hr
==
E_POINTER
,
"got 0x%08x
\n
"
,
hr
);
todo_wine
ok
(
hr
==
E_POINTER
,
"got 0x%08
l
x
\n
"
,
hr
);
IUIAnimationTransitionFactory_Release
(
factory
);
}
...
...
@@ -124,17 +124,17 @@ static void test_IUIAnimationTransitionLibrary(void)
}
hr
=
IUIAnimationTransitionLibrary_CreateInstantaneousTransition
(
library
,
100
.
0
,
&
instantaneous
);
todo_wine
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
todo_wine
ok
(
hr
==
S_OK
,
"got 0x%08
l
x
\n
"
,
hr
);
if
(
hr
==
S_OK
)
IUIAnimationTransition_Release
(
instantaneous
);
hr
=
IUIAnimationTransitionLibrary_CreateLinearTransition
(
library
,
500
.
0
,
100
.
0
,
&
linear
);
todo_wine
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
todo_wine
ok
(
hr
==
S_OK
,
"got 0x%08
l
x
\n
"
,
hr
);
if
(
hr
==
S_OK
)
IUIAnimationTransition_Release
(
linear
);
hr
=
IUIAnimationTransitionLibrary_CreateSmoothStopTransition
(
library
,
500
.
0
,
100
.
0
,
&
smooth
);
todo_wine
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
todo_wine
ok
(
hr
==
S_OK
,
"got 0x%08
l
x
\n
"
,
hr
);
if
(
hr
==
S_OK
)
IUIAnimationTransition_Release
(
smooth
);
...
...
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