Commit Graph

84 Commits

Author SHA1 Message Date
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
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Hans Leidekker fcd4527ea9 mscms/tests: Compile with -D__WINESRC__. 2013-10-14 16:05:31 +02:00
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +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
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
Hans Leidekker 46fb926501 mscms/tests: Mark some win98 test results as broken. 2010-08-18 15:29:38 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01: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
Michael Stefaniuc 85ce5117c5 Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int. 2006-09-29 16:08:30 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Andrew Talbot dc3dd4784d mscms/tests: Write-strings warnings fix. 2006-07-21 10:52:50 +02:00
Alexandre Julliard 0fa8baafcb make_dlls: Recursively ignore .ok files in all tests directories. 2006-07-10 21:26:50 +02:00
Alexandre Julliard edd100b899 make_dlls: Recursively ignore testlist.c in all tests directories. 2006-07-10 21:19:42 +02:00
Alexandre Julliard cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +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