Commit Graph

75 Commits

Author SHA1 Message Date
Michael Stefaniuc d8b26261e9 mscms/tests: Inline a simple string.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-16 11:25:18 +01:00
Michael Stefaniuc e32d62df43 mscms: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-16 11:25:18 +01:00
Alexandre Julliard 42cb8e8027 mscms/tests: Avoid depending on the exact Microsoft color profile.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-11 11:05:39 +01:00
Hans Leidekker 0a1362498d mscms: Set last error on insufficient buffer in EnumColorProfilesA/W.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-25 12:51:21 +01:00
Frédéric Delanoy 6ef5ae801d mscms/tests: Use todo_wine_if() in tests.
Signed-off-by: Frédéric Delanoy <frederic.delanoy@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-18 00:22:04 +09:00
Hans Leidekker d2c9e5560a mscms: Let liblcms2 determine input and output format for transform profiles. 2015-08-06 23:36:03 +09:00
Michael Stefaniuc de092c6bd3 mscms/tests: Simplify the check for an empty string (PVS-Studio). 2014-11-17 19:30:22 +09:00
Hans Leidekker 5752d48353 mscms/tests: Fix test failures on Wine when color profiles are present. 2014-03-21 20:31:57 +01:00
Hans Leidekker fcd4527ea9 mscms/tests: Compile with -D__WINESRC__. 2013-10-14 16:05:31 +02:00
Hans Leidekker d40c91262b mscms: Port to liblcms2. 2013-07-29 14:27:52 +02:00
Hans Leidekker 2cbb384440 mscms/tests: Pass profiles names as parameters instead of using global variables. 2012-02-05 09:37:53 -06:00
Hans Leidekker 7200072622 mscms: Fix OpenColorProfile to handle relative file names. 2011-09-20 16:21:41 +02:00
André Hentschel 39c4aa1168 mscms/tests: Fix test message. 2010-12-31 11:43:07 +01:00
Alexandre Julliard 730f01801f tests: Make some variables static. 2010-10-01 13:41:42 +02:00
Hans Leidekker 46fb926501 mscms/tests: Mark some win98 test results as broken. 2010-08-18 15:29:38 +02:00
Hans Leidekker 7c05c62419 mscms/tests: Avoid accessing uninitialized memory.
Found by valgrind.
2009-10-21 17:04:12 +02:00
Alexandre Julliard fa6ffb4d5d Fix empty function prototypes. 2009-10-07 12:24:53 +02:00
Paul Vriens 2c2d0a4160 mscms/tests: Fix some test failures on Win98 and WinME. 2009-09-10 10:50:40 +02:00
Hans Leidekker 82aa18f666 mscms/tests: Remove code that mixes up color space IDs and standard color space IDs. 2009-09-02 14:40:59 +02:00
Hans Leidekker ec87dfde50 mscms: Accept REG_DWORD values when enumerating registered color profiles.
Fixes test failures on Vista.
2009-03-04 13:06:16 +01:00
Ge van Geldorp 1f62d85496 mscms/tests: Pass correct device name to AssociateColorProfileWithDevice(). 2009-01-05 16:43:10 +01:00
Paul Vriens 2188248598 mscms/tests: Fix a typo. 2008-10-21 11:43:22 +02:00
James Hawkins f564ed5f1f mscms: Only check the first three characters of the color space name. 2008-06-25 10:42:50 +02:00
James Hawkins 00394486df janitorial: Remove links to any microsoft site. 2008-03-01 12:03:59 +01:00
Alexandre Julliard 5ddcb2c1d3 mscms/tests: The tests shouldn't fail if we have some ICM files. 2008-02-27 14:52:26 +01:00
Hans Leidekker dbdf9278e8 mscms: Add tests for AssociateColorProfileWithDevice and DisassociateColorProfileFromDevice. 2008-02-25 11:54:39 +01:00
Francois Gouget 331bac4d00 mscms/tests: The presence of an ICM file in the color directory has nothing to do with the presence of a registered RGB profile. 2008-02-18 14:10:44 +01:00
Francois Gouget e681508591 mscms/tests: EnumColorProfiles() should not fail even if there are no ICM files in the 'color directory'. 2008-02-18 14:10:41 +01:00
Alexandre Julliard 106b900113 mscms/tests: Allocate the profile buffer dynamically to make sure it's large enough. 2007-08-17 12:01:37 +02:00
Paul Vriens 35a10f05bc mscms/tests: Skip tests if we don't have enough rights. 2007-07-13 14:59:52 +02:00
Paul Vriens 761ec5e52b mscms/tests: Fix wrong test for failure. 2007-06-25 11:41:52 +02:00
Paul Vriens 688623d3cb mscms/tests: Don't crash on Vista. 2007-06-25 11:41:37 +02:00
Eric Pouech 4b88fd842a mscms: GetColorDirectory: fixed incorrect A -> W conversions. 2006-11-09 17:05:39 +01:00
Hans Leidekker 55e3ecf675 mscms/tests: Win64 printf format warning fixes. 2006-10-12 14:59:21 +02:00
Andrew Talbot dc3dd4784d mscms/tests: Write-strings warnings fix. 2006-07-21 10:52:50 +02:00
Alexandre Julliard 1369719d2c mscms/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings. 2006-06-13 13:57:27 +02:00
Saulius Krasuckas 3692219db4 mscms: Eliminate complex test macro to make source navigation easier. 2006-06-13 11:40:21 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Hans Leidekker 1d491aedba mscms: Add tests for EnumColorProfiles{A,W}. 2006-03-08 11:32:26 +01:00
Saulius Krasuckas 9f19f75a54 mscms: One more LastError code fixed. 2006-02-27 12:18:46 +01:00
Saulius Krasuckas ecebfb49ea mscms: Fix four todos for GetStandardColorSpaceProfile[AW]. 2006-02-20 11:13:28 +01:00
Saulius Krasuckas 44e942fbb1 mscms: Branching fixes for some test routines 2006-02-20 11:12:53 +01:00
Saulius Krasuckas 76f66cc78f mscms: Distinguish between registered and unregistered profile IDs. 2006-02-16 19:32:58 +01:00
Saulius Krasuckas 8aee2f2951 mscms: Move 4 test macros into a single one. 2006-02-14 17:12:32 +01:00
Saulius Krasuckas 2f7504e717 mscms: Check an appropriate registry key. 2006-01-19 12:44:02 +01:00
Saulius Krasuckas 191f21c7d4 mscms: Collect some data during profile enumeration. 2006-01-16 20:42:24 +01:00
Saulius Krasuckas f107125b3b mscms: Fix some wine_todo for GetStandardColorSpaceProfile(). 2006-01-13 14:09:04 +01:00
Saulius Krasuckas 7a044cb365 mscms: Make two checks more strict in the case of success. 2006-01-13 14:08:45 +01:00
Saulius Krasuckas d37d5cd51d mscms: Make enumerating more verbose. 2006-01-13 13:52:21 +01:00
Saulius Krasuckas 6aa3d8a443 mscms: Null ID can make GetStandardColorSpaceProfile*() succeed. 2006-01-12 11:53:12 +01:00