Commit Graph

98 Commits

Author SHA1 Message Date
Alexandre Julliard 8148b99e3e advapi32/tests: Fix another test failure. 2013-01-24 17:00:13 +01:00
Marcus Meissner a422d6b382 advapi32: Close scm_handle on error exit (Coverity). 2013-01-08 12:31:54 +01:00
Alexandre Julliard 2c0b470019 advapi32/tests: Fix test failures on older Windows versions. 2013-01-03 11:58:49 +01:00
Marcus Meissner 7750dd8ec4 advapi32: Do not use invalid pSD value (Coverity). 2012-12-28 11:26:09 +01:00
Erich Hoover 331b99cf19 advapi32: Support service objects in GetSecurityInfo. 2012-12-14 12:25:57 +01:00
Piotr Caban e2172edca2 advapi32: Added support for SERVICE_CONFIG_PRESHUTDOWN_INFO. 2011-11-30 16:32:09 +01:00
Thomas Faber c432514b39 advapi32/tests: Do not assume the test is called with an absolute path. 2011-11-16 09:47:07 +01:00
Thomas Faber 087ff0644f advapi32/tests: Use already existing static string instead of literal. 2011-11-16 09:46:36 +01:00
Nikolay Sivov cd919f60cf advapi32/tests: Add one more QueryServiceStatusEx() test. 2011-10-06 12:23:43 -05:00
Francois Gouget fe3f2e3258 services: If a service is not started, then say so when ControlService() is called on it. 2011-08-30 11:47:37 +02:00
Francois Gouget eafb44d4e1 services: Refuse to start disabled services. 2011-08-30 11:47:35 +02:00
Francois Gouget 9183a171f1 services: Cleanup when a service fails to start so it is still fully considered to be stopped. 2011-08-30 11:47:32 +02:00
Francois Gouget ac1a0d96e1 advapi32/tests: Tweak the service start/stop tests so they work on NT4. 2011-08-29 12:08:19 +02:00
Alexandre Julliard d34ff26230 advapi32/tests: Skip some tests if EnumServicesStatusExA is missing. 2011-08-25 11:31:55 +02:00
Alexandre Julliard 608b57ea4f advapi32/tests: Skip some tests if QueryServiceStatusEx is missing. 2011-08-24 15:25:16 +02:00
Francois Gouget 87035e5274 advapi32/tests: Test what happens when a service fails to or cannot start. 2011-08-23 16:53:49 +02:00
Alexandre Julliard 519fbf6202 advapi32: Fix the parameter checks in QueryServiceStatusEx. 2011-06-09 23:42:41 +02:00
Austin English 33db33d474 advapi32/tests: Make sure to use return value (LLVM/Clang). 2011-02-17 17:27:47 +01:00
André Hentschel 92f9cb6c5d advapi32/tests: Don't test function directly when reporting GetLastError(). 2010-12-31 11:42:52 +01:00
Damian Dixon fd0bec1f96 advapi32: Added check for NULL pointer being passed to QueryServiceStatus for either parameter. 2010-12-21 16:56:00 +01:00
Paul Vriens 10df397871 advapi32/tests: Add a test for driver services. 2010-11-24 12:07:13 +01:00
Hans Leidekker 7135ac7641 advapi32: Implement EnumServicesStatusExA/W. 2010-10-29 14:33:57 +02:00
Hans Leidekker ae7d41bfa2 advapi32: Implement EnumServicesStatusA/W. 2010-10-27 13:31:04 +02:00
Marko Nikolic 5fe2fc20fd advapi32/tests: Removed sign comparison warning in service.c. 2010-07-19 11:09:53 +02:00
Alexandre Julliard 823edff312 advapi32/tests: Fix the service inactive state check to match the documentation. 2010-02-02 23:44:32 +01:00
Paul Vriens a29581ba36 advapi32/tests: Add some EnumServicesStatus*W tests. 2009-11-30 13:13:38 +01:00
Stefan Leichter 08e7a1bfe7 advapi32: Test a combination of CreateServiceA and GetSecurityInfo. 2009-07-21 10:46:45 +02:00
Alexandre Julliard 66df782b11 advapi32/tests: Fix a couple of test failures on Vista. 2009-04-24 12:17:31 +02:00
Francois Gouget e3b00de35f advapi32/tests: Use win_skip() to skip over unimplemented functionality. 2009-02-26 12:18:46 +01:00
Alexandre Julliard 05a840dfc9 advapi32: Fix GetServiceDisplayNameW behavior to pass the tests. 2009-01-21 23:35:35 +01:00
Alexandre Julliard c795150932 advapi32: Fix GetServiceKeyNameW behavior to pass the tests. 2009-01-21 23:32:29 +01:00
Alexandre Julliard a882bb6a2c advapi32/tests: Add some more tests for GetServiceDisplayName. 2009-01-21 23:31:12 +01:00
Alexandre Julliard fe3ba1295b advapi32/tests: Add some more tests for GetServiceKeyName. 2009-01-20 19:51:08 +01:00
Alexandre Julliard df671256f8 advapi32/tests: Improve error reporting in the service test. Don't check last error on success. 2009-01-20 17:50:11 +01:00
Alexandre Julliard fc26627cdc advapi32/tests: Fix some service test failures on NT4 and Win64. 2009-01-19 23:53:54 +01:00
Alexandre Julliard 540fe92842 advapi32: Get rid of the client-side service handle management. 2009-01-19 20:34:02 +01:00
Paul Vriens bf8ca52abf advapi32/tests: Fix valgrind warning. 2008-11-11 11:41:00 +01:00
Paul Vriens b27db86ca4 advapi2/tests: Compare instead of assign. 2008-10-08 12:20:21 +02:00
Rob Shearman 637c3125ba advapi32: Output the last error when services tests fail. 2008-09-30 10:57:15 -05:00
Francois Gouget 4823b2c7bf Assorted spelling fixes. 2008-09-02 13:58:21 +02:00
Paul Vriens 3a7111e0de advapi32/tests: Remove tests for calculation with drivers. 2008-08-27 13:21:23 +02:00
Paul Vriens e3bd938bd1 advapi32/tests: SC_MANAGER_ENUMERATE_SERVICE is enough. 2008-08-26 10:56:46 +02:00
Paul Vriens 60f3e577c2 advapi32/tests: Fix a crash. 2008-08-25 11:39:41 +02:00
Paul Vriens 10217fae29 advapi32/tests: Remove duplicate test. 2008-08-25 11:39:31 +02:00
Paul Vriens f0a821a1ae advapi32/tests: Add tests for EnumServicesStatusExA. 2008-08-22 11:32:09 +02:00
Paul Vriens 0539b463e6 advapi32/tests: Add tests for EnumServicesStatusA. 2008-08-22 11:32:09 +02:00
Paul Vriens 7947522001 advapi32/tests: Add tests for QueryServiceStatusEx. 2008-08-22 11:32:09 +02:00
Paul Vriens 9d906d0df8 advapi32/tests: Add tests for QueryServiceStatus. 2008-08-22 11:32:09 +02:00
Paul Vriens 6381303c01 advapi32/tests: Add helper function to get function pointers. 2008-08-22 11:32:09 +02:00
Alistair Leslie-Hughes 905817a589 advapi32: Fix test under w2k8. 2008-08-18 17:15:55 +02:00