Commit Graph

54 Commits

Author SHA1 Message Date
Michael Stefaniuc 323d46fb93 gameux/tests: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-07 11:08:59 +01:00
Francois Gouget c1e282d0f9 gameux/tests: Remove unneeded parentheses around a gamestatistics string.
wine_dbgstr_w() already quotes the string.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-02 11:42:35 +02:00
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 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 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
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
Francois Gouget f8a7d6ed74 Assorted spelling fixes. 2015-08-07 23:50:48 +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
Nikolay Sivov febb3974b5 gameux: Use CLSIDFromString() instead of shell32 equivalent. 2014-10-06 17:34:23 +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
Henri Verbeet 7679d96c86 gameux/tests: Run the game explorer tests in a multithreaded apartment as well. 2011-10-11 19:43:31 +02:00
Frédéric Delanoy 760faf01a9 tests: Assorted spelling fixes. 2011-08-04 18:27:37 +02:00
Andrew Nguyen e6da2aec8f gameux: Free the allocated GameStatisticsImpl object on failure in GameStatisticsMgrImpl::GetGameStatistics.
Spotted with Valgrind.
2011-01-17 14:29:20 +01:00
André Hentschel 9eda42fe94 gameux: Fix Path for the statistics. 2010-12-20 12:47:41 +01:00
Pluciński Mariusz 6b35b5dd37 gameux: Add implementation of IGameStatistics::GetStatistic. 2010-11-05 11:23:46 +01:00
Pluciński Mariusz ff9e31a2b5 gameux: Add implementation of IGameStatistics::GetCategoryTitle. 2010-11-05 11:23:06 +01:00
Pluciński Mariusz 2d6875b035 gameux: Loading of game statistics implemented. 2010-11-05 11:22:59 +01:00
Francois Gouget b990617a95 Assorted spelling fixes. 2010-11-02 13:16:57 +01:00
Francois Gouget 0c7c1de8d7 gameux/tests: Make test_install_uninstall_game() and _isFileExists() static. 2010-09-29 10:05:14 +02:00
Mariusz Pluciński 5cac9d2cb2 gameux: Add implementation of IGameStatisticsMgr::RemoveGameStatistics. 2010-09-27 15:04:38 +02:00
Mariusz Pluciński ef3a1ab53a gameux: IGameStatistics::Save initial implementation. 2010-09-27 15:04:33 +02:00
Mariusz Pluciński ce28a5f262 gameux: Add implementation of IGameStatistics::SetStatistic. 2010-09-27 15:04:29 +02:00
Mariusz Pluciński 35692e40b1 gameux: Add implementation of IGameStatistics::SetCategoryTitle. 2010-09-27 15:04:19 +02:00
Mariusz Pluciński 7cbcbf4577 gameux: IGameStatistics::GetMaxStatsPerCategory implementation. 2010-09-24 15:45:53 +02:00
Mariusz Pluciński 6dfb5f6a33 gameux: IGameStatistics::GetMaxCategories implementation. 2010-09-24 15:45:53 +02:00
Mariusz Pluciński 448ac80fd4 gameux: IGameStatistics::GetMaxValueLength implementation. 2010-09-24 15:45:53 +02:00
Mariusz Pluciński 301433b670 gameux: IGameStatistics::GetMaxNameLength implementation. 2010-09-24 15:45:53 +02:00
Mariusz Pluciński 26552958f8 gameux: IGameStatistics::GetMaxCategoryLength implementation. 2010-09-24 15:45:53 +02:00
Mariusz Pluciński 0ef59050c6 gameux: Add stub of IGameStatistics interface implementation. 2010-09-24 15:45:52 +02:00
Mariusz Pluciński 7c798a4a7d gameux/tests: Add test of storing and reading game statistics. 2010-09-24 15:45:35 +02:00
Mariusz Pluciński 10c39090bd gameux/tests: Add test of creating IGameStatistics instance. 2010-09-21 17:53:55 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Mariusz Pluciński 95a9bc043e gameux: Add UninstallGame implementation. 2010-09-16 10:13:24 -05:00
Mariusz Pluciński 5213d9d07e gameux: Add InstallGame implementation. 2010-09-16 10:13:15 -05:00
Mariusz Pluciński c84cf4189c gameux/tests: Add verification of registry content for InstallGame and UninstallGame. 2010-09-15 11:28:53 -05:00
Mariusz Pluciński 7c121d53ae gameux/tests: Add basic test for InstallGame and UninstallGame. 2010-09-15 11:28:53 -05:00
Mariusz Pluciński bb9a6ea2b0 gameux: IGameExplorer::RemoveGame implementation. 2010-09-09 18:04:57 +02:00
Mariusz Pluciński 9b7347b619 gameux: Add storing Description registry value. 2010-09-09 18:04:48 +02:00
Mariusz Pluciński 3c68877bc5 gameux: Add storing Title registry value. 2010-09-09 18:04:42 +02:00
Mariusz Pluciński 180ac750bb gameux: Add support of loading Application Id into registry. 2010-09-09 18:04:27 +02:00
Mariusz Pluciński 0949e083ec gameux: Initial implementation of IGameExplorer::AddGame. 2010-09-09 18:04:00 +02:00
Mariusz Pluciński 2f398b8c25 gameux/tests: Verify registry values created by GameExplorer. 2010-09-03 16:02:31 +02:00
Francois Gouget cc0818b053 gameux: Use SUBLANG_NEUTRAL for language-independent resources. 2010-08-26 13:44:45 +02:00
Mariusz Pluciński 6cb7658377 gameux/tests: Check presence of GameExplorer registry keys. 2010-08-23 15:41:52 +02:00