Commit Graph

32 Commits

Author SHA1 Message Date
Eric Pouech 339f4a3a70 advapi32/tests: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 10:17:25 +01:00
Andrew Eikum 08306780dd advapi32/tests: Avoid gcc 11 misleading-indentation warning.
dlls/advapi32/tests/cred.c:809:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
    include/wine/test.h:116:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-07 21:41:15 +02:00
Michael Stefaniuc 7b5668a6e7 include: Make ARRAY_SIZE() available in wine/test.h.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-25 12:09:17 +02:00
Gijs Vermeulen 9702de2002 advapi32/tests: Introduce ARRAY_SIZE macro.
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-20 11:37:25 +01:00
Matt Durgavich b573986188 advapi32/tests: Fix for crashes on Mac OS X. 2015-08-27 21:43:46 +09:00
Thomas Faber 6754c35589 advapi32: Fix uneven length handling in CredUnmarshalCredential. 2014-03-31 12:39:35 +02:00
Thomas Faber 309b5366e8 advapi32: Set output type earlier in CredUnmarshalCredential. 2014-03-31 12:39:30 +02:00
Thomas Faber 27c8e9013f advapi32/tests: Use a loop for CredUnmarshalCredential test cases. 2014-03-31 12:39:23 +02:00
Frédéric Delanoy 3e9b7b5992 advapi32/tests: Constify some character strings. 2013-12-20 10:51:41 +01:00
Nikolay Sivov f6b2aa4a01 advapi32/tests: Compile with -D__WINESRC__. 2013-10-15 14:28:20 +02:00
Hans Leidekker bff64e8578 advapi32: Avoid a buffer overflow in CredUnmarshalCredentialW.
Spotted by Stefan Leichter.
2012-11-15 21:22:03 +01:00
Hans Leidekker 860c335b22 advapi32: Only require a domain in the username for CRED_PERSIST_ENTERPRISE credentials. 2012-10-18 19:22:43 +02:00
Detlef Riekenberg d685894a45 advapi32/tests: Add tests for CredIsMarshaledCredential. 2012-07-12 16:08:57 -05:00
Michael Stefaniuc c6aee91759 advapi32/tests: Test the correct error codes. 2012-05-17 10:18:20 +02:00
Hans Leidekker d5d2f01d3e advapi32: Implement CredMarshalCredential and CredUnmarshalCredential. 2012-03-09 11:32:46 +01:00
Hans Leidekker 3440e768dd Revert "advapi32: Fix cred domain according to tests.".
This reverts commit 061eb12ca3.
The patch makes tests for CredRead and CredEnumerate pass but breaks
CredWrite at the same time.
2011-01-10 10:42:29 +01:00
André Hentschel 92f9cb6c5d advapi32/tests: Don't test function directly when reporting GetLastError(). 2010-12-31 11:42:52 +01:00
Alexandre Goujon 061eb12ca3 advapi32: Fix cred domain according to tests. 2010-07-20 17:38:53 +02:00
Austin English addf0c11a0 advapi32/tests: Avoid #if 0, use if(0) instead. 2009-09-15 16:41:26 -05:00
Ge van Geldorp 8bd5619e72 advapi32/tests: Add acceptable error codes for Win7. 2009-08-26 14:55:01 +02:00
Francois Gouget e3b00de35f advapi32/tests: Use win_skip() to skip over unimplemented functionality. 2009-02-26 12:18:46 +01:00
Juan Lang 6991d55796 advapi32: Fix failing tests on a number of systems. 2009-02-16 11:48:15 +01:00
Paul Vriens cd31fd393e advapi32/tests: Fix two test failures on Vista and W2K8. 2009-01-06 10:09:36 +01:00
Francois Gouget 352a1bdb0b advapi32/tests: Add a trailing '\n' to ok() calls. 2008-12-29 11:35:37 +01:00
Andrey Turkin 0b21bb75a0 advapi32: Implement CredReadDomainCredentials stub and tests. 2008-12-26 13:42:38 +01:00
James Hawkins f4c8a0fadd advapi32: ERROR_IO_PENDING is returned in Vista only on success. 2008-09-08 12:47:22 +02:00
James Hawkins 3814d38aa9 advapi32: Fix another set of failures on some Vista systems. 2008-08-29 13:20:40 +02:00
James Hawkins 7b8e8004c8 advapi32: Fix a few failing tests in Vista. 2008-08-29 13:20:36 +02:00
Francois Gouget 79333bd1c0 advapi32/tests: Check that a credential type is supported before testing it. Test CRED_TYPE_DOMAIN_VISIBLE_PASSWORD credentials. Factorize the CredentialBlob checks. 2008-02-15 12:05:39 +01:00
Francois Gouget 6552f86ff9 advapi32/tests: Factorize the password constants. 2008-02-15 12:05:30 +01:00
Reece H. Dunn d4c48db4b0 advapi32: Fix some cred test failures on Vista and prevent it crashing. 2008-01-25 12:30:32 +01:00
Rob Shearman e6f28ebb1a advapi32: Add tests for credential management functions. 2007-10-31 12:39:54 +01:00