Commit Graph

29 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
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
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
Thomas Faber 20dcd96de3 gameux/tests: Avoid a variable-length array. 2014-03-25 13:55:44 +01: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 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
Mariusz Pluciński 152fbc1c3f gameux/tests: Add test of IGameStatisticsMgr creation. 2010-08-17 14:41:32 +02:00