Commit Graph

113 Commits

Author SHA1 Message Date
Francois Gouget 142c8df404 gameux/tests: Avoid an ever changing value in a gamestatistics failure message.
The whole point of printing the IGameStatisticsMgr::GetGameStatistics()
return value was to check whether the pointer had been modified. So
provide this information without including an ever changing value in the
failure message.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-17 09:04:44 +01:00
Zebediah Figura e90c145020 gameux/tests: Get rid of registry value tests.
Where gameux stores registry values is an implementation detail, and
subject to change. There's no reason to test it, unless an application
relies on it.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-27 19:33:47 +01:00
Alexandre Julliard cd01ad223d gameux: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-05 08:32:04 +02:00
Alexandre Julliard 1459a0105d makefiles: Default to building test modules as PE.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-09 15:45:59 +02:00
Michael Stefaniuc 9ca6861915 gameux: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 09:42:15 +02:00
Michael Stefaniuc 3be472e1ce gameux/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-30 09:11:15 +02:00
Alex Henrie ef08793472 gameux/tests: Drop game stats test workarounds for Windows <= 2000.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-02 14:42:39 +01:00
Alex Henrie 85d970b7c8 gameux/tests: Add a trailing '\n' to an ok() call.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-05 11:26:23 +01:00
Marcus Meissner 08193ed72b gameux: Avoid freeing uninitialized interfaces (Coverity).
Signed-off-by: Marcus Meissner <marcus@jet.franken.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-17 09:50:45 +02:00
Austin English 1ebf6ca29b gameux: Label ordinals.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-02 14:41:42 +02:00
Huw Davies bc84397e30 gameux/tests: Run the MTA tests before the STA tests to avoid a crash on Windows 10.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-01 16:48:05 +01:00
Alistair Leslie-Hughes 5e3d9616e4 gameux: Fix memory leaks (Valgrind).
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-11 19:39:28 +09:00
Francois Gouget f8a7d6ed74 Assorted spelling fixes. 2015-08-07 23:50:48 +09:00
Nikolay Sivov 8abd5b76c4 gameux: Use matching heap call (Coverity). 2015-06-08 15:31:07 +09:00
André Hentschel 8f00116b6c gameux: Return function result on error (PVS-Studio). 2015-03-20 12:42:33 +09:00
Michael Stefaniuc cd1e969b28 gameux: Avoid comparison of a BOOL return with TRUE (PVS-Studio). 2015-03-09 22:06:50 +09:00
Nikolay Sivov 5620159e61 gameux/tests: Simplify initial test skipping. 2015-02-24 23:00:15 +09:00
Nikolay Sivov 2062a48365 gameux/tests: Simplify test game registering, add intermediate test checks. 2015-02-24 23:00:07 +09:00
Michael Stefaniuc 35b24f1ab5 gameux: Simplify the check for an empty string (PVS-Studio). 2014-11-12 23:33:09 +09:00
Nikolay Sivov febb3974b5 gameux: Use CLSIDFromString() instead of shell32 equivalent. 2014-10-06 17:34:23 +02:00
Nikolay Sivov d721eee1dd gameux: Cleanup failure handling when processing main definition element, use better naming. 2014-10-06 17:34:05 +02:00
Thomas Faber 20dcd96de3 gameux/tests: Avoid a variable-length array. 2014-03-25 13:55:44 +01:00
Frédéric Delanoy 0f2bed51bd Assorted spelling fixes. 2014-02-10 15:47:29 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Alexandre Julliard d08ff3ff19 makefiles: Use a single variable for all types of idl files. 2013-12-31 18:15:17 +01:00
Alexandre Julliard 566d3418af makedep: Add a separate pragma flag for typelibs that need registration. 2013-12-26 13:32:49 +01:00
Alexandre Julliard f8421142e7 makefiles: Add makedep pragmas for typelib idl files. 2013-11-05 20:38:18 +01:00
Alexandre Julliard 55e44092bd makefiles: Remove useless definitions of COM_NO_WINDOWS_H. 2013-10-14 16:05:31 +02:00
Alexandre Julliard f02cdd877f Remove empty DLL_PROCESS_DETACH case statements. 2013-04-15 16:45:35 +02:00
Nikolay Sivov 0bbd6cb050 gameux: Fix release/free of uninitialized pointers (Coverity). 2013-04-08 11:37:14 +02:00
André Hentschel 97dbccf5f2 gameux: Avoid double free (coverity). 2012-10-25 11:47:05 +02:00
Marcus Meissner c7355f7921 gameux: Move SysFreeString to success branches (Coverity). 2012-09-03 15:48:22 +02:00
Nikolay Sivov fa4148d2ae gameux: Call interface methods properly. 2012-08-20 10:58:50 +02:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Michael Stefaniuc e5db5b8dfd gameux: Print the debug string and not the pointer to it. 2012-03-26 18:15:20 +02:00
Frédéric Delanoy 46229acde9 gameux: Do not use RegCloseKey on invalid/uninitialized registry key handle (Coverity). 2011-12-01 14:59:46 +01:00
Frédéric Delanoy 5a04819709 gameux: Remove duplicate "if" condition. 2011-11-30 11:44:20 +01:00
Henri Verbeet a4ee6226ae gameux: Don't shadow hr in GAMEUX_RegisterGame(). 2011-10-14 13:12:27 +02:00
Henri Verbeet 7679d96c86 gameux/tests: Run the game explorer tests in a multithreaded apartment as well. 2011-10-11 19:43:31 +02:00
Henri Verbeet 95ede76673 gameux: Parse GDFs in a separate thread.
The res protocol handler dislikes running from a multithreaded apartment.
2011-10-11 19:43:26 +02:00
Michael Stefaniuc f93252aa9a gameux: Don't compare with TRUE. 2011-10-03 09:43:24 -05:00
Marcus Meissner 4f704760e1 gameux: Initialize a variable (Coverity). 2011-08-30 17:27:12 +02:00
Francois Gouget c992ca277d Assorted spelling fixes. 2011-08-24 19:07:46 +02:00
Michael Stefaniuc ce9546f268 gameux: COM cleanup in gamestatistics.c. 2011-08-22 16:14:34 +02:00
Michael Stefaniuc 75ba717967 gameux: COM cleanup in gameexplorer.c. 2011-08-22 16:14:34 +02:00
Frédéric Delanoy 760faf01a9 tests: Assorted spelling fixes. 2011-08-04 18:27:37 +02:00
Frédéric Delanoy b5a33dab88 dlls: Assorted spelling fixes. 2011-08-02 20:47:51 +02:00
Alexandre Julliard b56dc9a6f7 winecrt0: Remove the clsid parameter in __wine_(un)register_resources. 2011-08-02 20:47:49 +02:00
Alexandre Julliard c091a3fc83 makefiles: Remove some redundant registration scripts. 2011-08-02 20:47:48 +02:00