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
5599912e
Commit
5599912e
authored
Mar 27, 2009
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Mar 30, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput/tests: Remove duplicate version dump.
We have the version already in the header of the winetest results.
parent
8819156b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
62 deletions
+0
-62
dinput_test.h
dlls/dinput/tests/dinput_test.h
+0
-19
joystick.c
dlls/dinput/tests/joystick.c
+0
-3
keyboard.c
dlls/dinput/tests/keyboard.c
+0
-37
mouse.c
dlls/dinput/tests/mouse.c
+0
-3
No files found.
dlls/dinput/tests/dinput_test.h
deleted
100644 → 0
View file @
8819156b
/*
* Copyright (c) 2005 Robert Reif
*
* 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
*/
extern
const
char
*
get_file_version
(
const
char
*
file_name
);
dlls/dinput/tests/joystick.c
View file @
5599912e
...
...
@@ -29,7 +29,6 @@
#include "windef.h"
#include "wingdi.h"
#include "dinput.h"
#include "dinput_test.h"
#define numObjects(x) (sizeof(x) / sizeof(x[0]))
...
...
@@ -635,8 +634,6 @@ START_TEST(joystick)
{
CoInitialize
(
NULL
);
trace
(
"DLL Version: %s
\n
"
,
get_file_version
(
"dinput.dll"
));
joystick_tests
(
0x0700
);
joystick_tests
(
0x0500
);
joystick_tests
(
0x0300
);
...
...
dlls/dinput/tests/keyboard.c
View file @
5599912e
...
...
@@ -29,41 +29,6 @@
#include "windef.h"
#include "wingdi.h"
#include "dinput.h"
#include "dinput_test.h"
const
char
*
get_file_version
(
const
char
*
file_name
)
{
static
char
version
[
32
];
static
char
backslash
[]
=
"
\\
"
;
DWORD
size
;
DWORD
handle
;
size
=
GetFileVersionInfoSizeA
(
file_name
,
&
handle
);
if
(
size
)
{
char
*
data
=
HeapAlloc
(
GetProcessHeap
(),
0
,
size
);
if
(
data
)
{
if
(
GetFileVersionInfoA
(
file_name
,
handle
,
size
,
data
))
{
VS_FIXEDFILEINFO
*
pFixedVersionInfo
;
UINT
len
;
if
(
VerQueryValueA
(
data
,
backslash
,
(
LPVOID
*
)
&
pFixedVersionInfo
,
&
len
))
{
sprintf
(
version
,
"%d.%d.%d.%d"
,
pFixedVersionInfo
->
dwFileVersionMS
>>
16
,
pFixedVersionInfo
->
dwFileVersionMS
&
0xffff
,
pFixedVersionInfo
->
dwFileVersionLS
>>
16
,
pFixedVersionInfo
->
dwFileVersionLS
&
0xffff
);
}
else
sprintf
(
version
,
"not available"
);
}
else
sprintf
(
version
,
"failed"
);
HeapFree
(
GetProcessHeap
(),
0
,
data
);
}
else
sprintf
(
version
,
"failed"
);
}
else
sprintf
(
version
,
"not available"
);
return
version
;
}
static
void
acquire_tests
(
LPDIRECTINPUT
pDI
,
HWND
hwnd
)
{
...
...
@@ -201,8 +166,6 @@ START_TEST(keyboard)
{
CoInitialize
(
NULL
);
trace
(
"DLL Version: %s
\n
"
,
get_file_version
(
"dinput.dll"
));
keyboard_tests
(
0x0700
);
CoUninitialize
();
...
...
dlls/dinput/tests/mouse.c
View file @
5599912e
...
...
@@ -29,7 +29,6 @@
#include "windef.h"
#include "wingdi.h"
#include "dinput.h"
#include "dinput_test.h"
static
const
HRESULT
SetCoop_null_window
[
16
]
=
{
E_INVALIDARG
,
E_INVALIDARG
,
E_INVALIDARG
,
E_INVALIDARG
,
...
...
@@ -145,8 +144,6 @@ START_TEST(mouse)
{
CoInitialize
(
NULL
);
trace
(
"DLL Version: %s
\n
"
,
get_file_version
(
"dinput.dll"
));
mouse_tests
();
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