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
e80df2d2
Commit
e80df2d2
authored
Jul 29, 2019
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Jun 18, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
directmanipulation/tests: Initial tests.
Signed-off-by:
Vijay Kiran Kamuju
<
infyquest@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e498528b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
67 additions
and
0 deletions
+67
-0
configure
configure
+1
-0
configure.ac
configure.ac
+1
-0
Makefile.in
dlls/directmanipulation/tests/Makefile.in
+5
-0
manipulation.c
dlls/directmanipulation/tests/manipulation.c
+60
-0
No files found.
configure
View file @
e80df2d2
...
...
@@ -20625,6 +20625,7 @@ wine_fn_config_makefile dlls/dinput/tests enable_tests
wine_fn_config_makefile dlls/dinput8 enable_dinput8
wine_fn_config_makefile dlls/dinput8/tests enable_tests
wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
wine_fn_config_makefile dlls/dispex enable_dispex
wine_fn_config_makefile dlls/dispex/tests enable_tests
...
...
configure.ac
View file @
e80df2d2
...
...
@@ -3211,6 +3211,7 @@ WINE_CONFIG_MAKEFILE(dlls/dinput/tests)
WINE_CONFIG_MAKEFILE(dlls/dinput8)
WINE_CONFIG_MAKEFILE(dlls/dinput8/tests)
WINE_CONFIG_MAKEFILE(dlls/directmanipulation)
WINE_CONFIG_MAKEFILE(dlls/directmanipulation/tests)
WINE_CONFIG_MAKEFILE(dlls/dispdib.dll16,enable_win16)
WINE_CONFIG_MAKEFILE(dlls/dispex)
WINE_CONFIG_MAKEFILE(dlls/dispex/tests)
...
...
dlls/directmanipulation/tests/Makefile.in
0 → 100644
View file @
e80df2d2
TESTDLL
=
directmanipulation.dll
IMPORTS
=
uuid ole32
C_SRCS
=
\
manipulation.c
dlls/directmanipulation/tests/manipulation.c
0 → 100644
View file @
e80df2d2
/*
*
* Copyright 2019 Alistair Leslie-Hughes
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*
*/
#define COBJMACROS
#include <stdarg.h>
#include "windows.h"
#include "directmanipulation.h"
#include "wine/test.h"
static
void
test_IDirectManipulationManager2
(
void
)
{
IDirectManipulationManager2
*
manager2
;
IDirectManipulationUpdateManager
*
update
;
HRESULT
hres
;
hres
=
CoCreateInstance
(
&
CLSID_DirectManipulationManager
,
NULL
,
CLSCTX_INPROC_SERVER
|
CLSCTX_INPROC_HANDLER
,
&
IID_IDirectManipulationManager2
,
(
void
**
)
&
manager2
);
if
(
FAILED
(
hres
))
{
win_skip
(
"Failed to create XMLView instance
\n
"
);
return
;
}
ok
(
hres
==
S_OK
,
"CoCreateInstance returned %x, expected S_OK
\n
"
,
hres
);
hres
=
IDirectManipulationManager2_GetUpdateManager
(
manager2
,
&
IID_IDirectManipulationUpdateManager
,
(
void
**
)
&
update
);
ok
(
hres
==
S_OK
,
"returned %x, expected S_OK
\n
"
,
hres
);
if
(
update
)
IDirectManipulationUpdateManager_Release
(
update
);
IDirectManipulationManager2_Release
(
manager2
);
}
START_TEST
(
manipulation
)
{
CoInitialize
(
NULL
);
test_IDirectManipulationManager2
();
CoUninitialize
();
}
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