Paul Vriens : advapi32/tests: Remove duplicate test.

Alexandre Julliard julliard at winehq.org
Mon Aug 25 06:20:44 CDT 2008


Module: wine
Branch: master
Commit: 10217fae299db3bf3dbce66de3dc0807c8c57322
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=10217fae299db3bf3dbce66de3dc0807c8c57322

Author: Paul Vriens <paul.vriens.wine at gmail.com>
Date:   Sun Aug 24 17:50:28 2008 +0200

advapi32/tests: Remove duplicate test.

---

 dlls/advapi32/tests/service.c |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)

diff --git a/dlls/advapi32/tests/service.c b/dlls/advapi32/tests/service.c
index 4225e35..4e574b6 100644
--- a/dlls/advapi32/tests/service.c
+++ b/dlls/advapi32/tests/service.c
@@ -1239,18 +1239,6 @@ static void test_enum_svc(void)
     ok(returned == (servicecountactive + servicecountinactive),
        "Something wrong in the calculation\n");
 
-    /* Get the number of all services */
-    EnumServicesStatusA(scm_handle, SERVICE_DRIVER | SERVICE_WIN32, SERVICE_STATE_ALL,
-                        NULL, 0, &needed, &returned, NULL);
-    services = HeapAlloc(GetProcessHeap(), 0, needed);
-    EnumServicesStatusA(scm_handle, SERVICE_DRIVER | SERVICE_WIN32, SERVICE_STATE_ALL,
-                        services, needed, &needed, &returned, NULL);
-
-    /* Check if total is the same as active and inactive win32 services */
-    todo_wine
-    ok(returned == (servicecountactive + servicecountinactive),
-       "Something wrong in the calculation\n");
-
     /* Get the number of all services.
      * Fetch the status of the last call as failing could make the following tests crash
      * on Wine (we don't return anything yet).




More information about the wine-cvs mailing list