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
cb886f49
Commit
cb886f49
authored
Aug 03, 2010
by
Mariusz Pluciński
Committed by
Alexandre Julliard
Aug 03, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gameux/tests: Add test of IGameExplorer creation.
parent
f74a5631
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
75 additions
and
0 deletions
+75
-0
configure
configure
+1
-0
configure.ac
configure.ac
+1
-0
Makefile.in
dlls/gameux/tests/Makefile.in
+12
-0
gameexplorer.c
dlls/gameux/tests/gameexplorer.c
+61
-0
No files found.
configure
View file @
cb886f49
...
@@ -14511,6 +14511,7 @@ wine_fn_config_dll fusion enable_fusion
...
@@ -14511,6 +14511,7 @@ wine_fn_config_dll fusion enable_fusion
wine_fn_config_test dlls/fusion/tests fusion_test
wine_fn_config_test dlls/fusion/tests fusion_test
wine_fn_config_dll fwpuclnt enable_fwpuclnt
wine_fn_config_dll fwpuclnt enable_fwpuclnt
wine_fn_config_dll gameux enable_gameux
wine_fn_config_dll gameux enable_gameux
wine_fn_config_test dlls/gameux/tests gameux_test
wine_fn_config_dll gdi.exe16 enable_win16
wine_fn_config_dll gdi.exe16 enable_win16
wine_fn_config_dll gdi32 enable_gdi32 gdi32
wine_fn_config_dll gdi32 enable_gdi32 gdi32
wine_fn_config_test dlls/gdi32/tests gdi32_test
wine_fn_config_test dlls/gdi32/tests gdi32_test
...
...
configure.ac
View file @
cb886f49
...
@@ -2367,6 +2367,7 @@ WINE_CONFIG_DLL(fusion)
...
@@ -2367,6 +2367,7 @@ WINE_CONFIG_DLL(fusion)
WINE_CONFIG_TEST(dlls/fusion/tests)
WINE_CONFIG_TEST(dlls/fusion/tests)
WINE_CONFIG_DLL(fwpuclnt)
WINE_CONFIG_DLL(fwpuclnt)
WINE_CONFIG_DLL(gameux)
WINE_CONFIG_DLL(gameux)
WINE_CONFIG_TEST(dlls/gameux/tests)
WINE_CONFIG_DLL(gdi.exe16,enable_win16)
WINE_CONFIG_DLL(gdi.exe16,enable_win16)
WINE_CONFIG_DLL(gdi32,,[gdi32])
WINE_CONFIG_DLL(gdi32,,[gdi32])
WINE_CONFIG_TEST(dlls/gdi32/tests)
WINE_CONFIG_TEST(dlls/gdi32/tests)
...
...
dlls/gameux/tests/Makefile.in
0 → 100644
View file @
cb886f49
TOPSRCDIR
=
@top_srcdir@
TOPOBJDIR
=
../../..
SRCDIR
=
@srcdir@
VPATH
=
@srcdir@
TESTDLL
=
gameux.dll
IMPORTS
=
ole32
C_SRCS
=
\
gameexplorer.c
@MAKE_TEST_RULES@
dlls/gameux/tests/gameexplorer.c
0 → 100644
View file @
cb886f49
/*
* IGameExplorer tests
*
* Copyright (C) 2010 Mariusz Pluciński
*
* 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 "initguid.h"
#include "windows.h"
#include "ole2.h"
#include "objsafe.h"
#include "objbase.h"
#include "gameux.h"
#include "wine/test.h"
static
void
test_create
(
void
)
{
HRESULT
hr
;
IGameExplorer
*
ge
=
NULL
;
/* interface available up from Vista */
hr
=
CoCreateInstance
(
&
CLSID_GameExplorer
,
NULL
,
CLSCTX_INPROC_SERVER
,
&
IID_IGameExplorer
,
(
LPVOID
*
)
&
ge
);
if
(
ge
)
{
ok
(
hr
==
S_OK
,
"IGameExplorer creating failed (result false)
\n
"
);
IGameExplorer_Release
(
ge
);
}
else
win_skip
(
"IGameExplorer cannot be created
\n
"
);
}
START_TEST
(
gameexplorer
)
{
HRESULT
r
;
r
=
CoInitialize
(
NULL
);
ok
(
r
==
S_OK
,
"failed to init COM
\n
"
);
test_create
();
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