Commit Graph

46 Commits

Author SHA1 Message Date
Hans Leidekker ea7c86a715 advpack/tests: Skip inf install tests if the user doesn't have admin rights.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-19 12:13:42 +01:00
Hugh McMaster 11669fa5e2 Assorted spelling and grammar fixes.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-17 22:56:40 +09:00
Bruno Jesus c1b2fc3c4f advpack/tests: Remove dead assignment (Cppcheck). 2014-10-31 10:50:55 +09:00
Nikolay Sivov ba7f633fc8 advpack/tests: Compile with -D__WINESRC__. 2013-10-15 14:28:20 +02:00
Marko Nikolic 78b020c018 advpack/tests: Removed sign comparison warning in advpack tests. 2010-08-20 13:21:34 +02:00
Francois Gouget 170d647bf8 advpack/tests: Use win_skip() to skip over unimplemented functionality. 2009-02-26 12:18:49 +01:00
James Hawkins 8322bd78e8 advpack: Skip tests for broken functions. 2009-01-26 16:07:48 +01:00
Paul Vriens 53f94c07f8 advpack/tests: Use win_skip instead of trace. 2008-10-21 11:43:12 +02:00
James Hawkins 0dcdbcd3cc advpack: Skip the TranslateInfEx tests in win9x. 2008-08-05 14:09:34 +02:00
Paul Vriens ee69c6141b advpack/tests: Add a FreeLibrary and a skip message. 2008-06-09 12:39:26 +02:00
Austin English 955adcbce9 advpack: Fix a test failure on 9x. 2008-06-04 12:41:09 +02:00
Michael Karcher 98778f486a advpack: Fix buffer sizes for possibly quoted strings. 2008-05-30 09:56:09 +02:00
Paul Vriens d1a3bad723 advpack/tests: Free the library after use. 2008-03-10 12:53:56 +01:00
Paul Vriens 795087bcc1 advpack/tests: Show errors in hex. 2008-02-11 19:55:49 +01:00
James Hawkins 9f50d66276 advpack: Restore the LProgramF string using the acquired Program Files string. 2007-10-26 14:03:47 +02:00
Marcus Meissner 0065387b83 advpack: Handle localized C:\Program Files. 2007-10-09 12:31:47 +02:00
Jason Edmeades 7f901f41f0 setupapi: Remove duplicate backslashes on dirids. 2007-08-13 13:04:16 +02:00
Jason Edmeades 799ef700c4 advpack: Strip single quotes (with tests) on reg keys. 2007-08-13 12:08:03 +02:00
Paul Vriens 618c1fe711 advpack/tests: Create the temporary inf-file in a directory where we are allowed to write. 2007-07-04 13:42:42 +02:00
Stefan Huehner 51a7ca3440 Change some functions arguments from () -> (void). 2007-03-12 12:25:31 +01:00
James Hawkins b3331d1a76 advpack: Fill the output buffer to workaround a bug in IE7s advpack. 2007-01-10 12:00:19 +01:00
Paul Vriens c9f6c4c7cf advpack/tests: Change the output for HRESULT's. 2006-12-08 11:39:38 +01:00
Paul Vriens 9d0b69d130 advpack: Remove test that crashes on systems with IE7. 2006-11-24 11:51:01 +01:00
Michael Ploujnikov d7c0a0e38c advpack/tests: Win64 printf format warning fixes. 2006-10-12 11:37:10 +02:00
Stefan Huehner 998e256c82 Fix some -Wstrict-prototype warnings () -> (void). 2006-08-21 12:06:26 +02:00
Andrew Talbot 719aa10a4b advpack/tests: Write-strings warnings fix. 2006-07-29 11:51:09 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
James Hawkins 6053d265bc advpack: Add initial implementation of SetPerUserSecValues. 2006-04-10 15:43:53 +02:00
James Hawkins d7199a4836 advpack: Add a few more tests for SetPerUserSecValues. 2006-04-07 20:01:04 +02:00
James Hawkins a7e055e0bd advpack: Add initial tests for SetPerUserSecValues. 2006-04-06 22:22:15 +02:00
James Hawkins 1f3028563d advpack: Factor out loading the program files directory. 2006-02-28 12:03:53 +01:00
James Hawkins 7787ca6134 advpack: Add tests for the TranslateInfStringEx trio of functions and
fix the errors.
2006-02-28 12:03:26 +01:00
James Hawkins 790f4523d2 advpack: Factor out the API loading of advpack tests. 2006-02-28 12:02:53 +01:00
James Hawkins dd5ae20dc1 advpack: Load the LDIDs of an install section in TranslateInfString. 2006-02-21 11:18:25 +01:00
Detlef Riekenberg c824e8bc5b advpack/tests: Fixed failure when "ProgramFilesDir" is != "C:\Program Files". 2006-01-23 17:29:41 +01:00
James Hawkins a37bb2a033 Returned versions are always initialized to zero, even on failure.
Function always returns S_OK, even on failure.
Copy the file to the temp directory if the file exists but isn't found
by GetFileVersionInfoSize.
If bVersion is FALSE, return the language and code page identifiers of
the file, not the system.
2005-11-29 11:25:51 +01:00
Francois Gouget bcac03453a Add trailing '\n' to trace() call. 2005-11-23 19:44:20 +01:00
Saulius Krasuckas 426cc7fe3f Exit test after first TranslateInfString() failure, which seems to be
NT3.51 specific.
2005-11-22 11:58:25 +00:00
Saulius Krasuckas 22a314e751 Get the version and language ID of ADVPACK.DLL too. 2005-11-14 12:27:39 +00:00
Saulius Krasuckas 39e11022e8 WinME fixes:
- don't fail on WriteFile(),
- add valid error codes,
- empty buffer to avoid printing garbage,
- remove bogus inf-file which TranslateInfString() creates here.
2005-11-10 11:37:03 +00:00
James Hawkins e2b8b43b7f Implement TranslateInfString with tests. 2005-11-08 12:43:35 +00:00
Saulius Krasuckas 7284e6d419 Remove trailing backslash. 2005-08-15 10:47:31 +00:00
Stefan Huehner ac6f562b52 Fix more -Wstrict-prototypes warnings. 2005-06-20 14:18:03 +00:00
Sami Aario c7bd5fb16d Added initial version of Delnode plus some tests. 2005-04-27 09:37:25 +00:00
Francois Gouget fe2b31a569 Load advpack.dll at runtime to avoid link problems with the platform
sdk.
2005-02-14 11:02:46 +00:00
Robert Reif 97199823bf Added stubs for NeedRebootInit and NeedReboot.
Added implementations for GetVersionFromFile and
GetVersionFromFileEx.
Added test for GetVersionFromFile.
2005-01-20 20:03:13 +00:00