Alexandre Julliard : user32/tests: Remove tests for internal DDE handle format, we don' t care how the handles are implemented.

Alexandre Julliard julliard at winehq.org
Mon Jun 1 10:01:04 CDT 2009


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Jun  1 14:39:48 2009 +0200

user32/tests: Remove tests for internal DDE handle format, we don't care how the handles are implemented.

---

 dlls/user32/tests/dde.c |   36 ------------------------------------
 1 files changed, 0 insertions(+), 36 deletions(-)

diff --git a/dlls/user32/tests/dde.c b/dlls/user32/tests/dde.c
index 840406e..6625837 100644
--- a/dlls/user32/tests/dde.c
+++ b/dlls/user32/tests/dde.c
@@ -1615,12 +1615,6 @@ static void test_DdeCreateDataHandle(void)
     ok(hdata != NULL, "Expected non-NULL hdata\n");
     ok(err == DMLERR_NO_ERROR, "Expected DMLERR_NO_ERROR, got %d\n", err);
 
-    ptr = GlobalLock(hdata);
-    todo_wine
-    {
-        ok(ptr == NULL, "Expected NULL, got %p\n", ptr);
-    }
-
     ptr = DdeAccessData(hdata, &size);
     ok(ptr != NULL, "Expected non-NULL ptr\n");
     ok(size == 260, "Expected 260, got %d\n", size);
@@ -1638,12 +1632,6 @@ static void test_DdeCreateDataHandle(void)
     ok(hdata != NULL, "Expected non-NULL hdata\n");
     ok(err == DMLERR_NO_ERROR, "Expected DMLERR_NO_ERROR, got %d\n", err);
 
-    ptr = GlobalLock(hdata);
-    todo_wine
-    {
-        ok(ptr == NULL, "Expected NULL, got %p\n", ptr);
-    }
-
     ptr = DdeAccessData(hdata, &size);
     ok(ptr != NULL, "Expected non-NULL ptr\n");
     ok(size == 0, "Expected 0, got %d\n", size);
@@ -1661,12 +1649,6 @@ static void test_DdeCreateDataHandle(void)
     ok(hdata != NULL, "Expected non-NULL hdata\n");
     ok(err == DMLERR_NO_ERROR, "Expected DMLERR_NO_ERROR, got %d\n", err);
 
-    ptr = GlobalLock(hdata);
-    todo_wine
-    {
-        ok(ptr == NULL, "Expected NULL, got %p\n", ptr);
-    }
-
     ptr = DdeAccessData(hdata, &size);
     ok(ptr != NULL, "Expected non-NULL ptr\n");
     ok(size == 262, "Expected 262, got %d\n", size);
@@ -1688,12 +1670,6 @@ static void test_DdeCreateDataHandle(void)
     ok(hdata != NULL, "Expected non-NULL hdata\n");
     ok(err == DMLERR_NO_ERROR, "Expected DMLERR_NO_ERROR, got %d\n", err);
 
-    ptr = GlobalLock(hdata);
-    todo_wine
-    {
-        ok(ptr == NULL, "Expected NULL, got %p\n", ptr);
-    }
-
     ptr = DdeAccessData(hdata, &size);
     ok(ptr != NULL, "Expected non-NULL ptr\n");
     ok(!lstrcmpA((LPSTR)ptr, "data"), "Expected data, got %s\n", ptr);
@@ -1712,12 +1688,6 @@ static void test_DdeCreateDataHandle(void)
     ok(hdata != NULL, "Expected non-NULL hdata\n");
     ok(err == DMLERR_NO_ERROR, "Expected DMLERR_NO_ERROR, got %d\n", err);
 
-    ptr = GlobalLock(hdata);
-    todo_wine
-    {
-        ok(ptr == NULL, "Expected NULL, got %p\n", ptr);
-    }
-
     ptr = DdeAccessData(hdata, &size);
     ok(ptr != NULL, "Expected non-NULL ptr\n");
     ok(!lstrcmpA((LPSTR)ptr, "data"), "Expected data, got %s\n", ptr);
@@ -1736,12 +1706,6 @@ static void test_DdeCreateDataHandle(void)
     ok(hdata != NULL, "Expected non-NULL hdata\n");
     ok(err == DMLERR_NO_ERROR, "Expected DMLERR_NO_ERROR, got %d\n", err);
 
-    ptr = GlobalLock(hdata);
-    todo_wine
-    {
-        ok(ptr == NULL, "Expected NULL, got %p\n", ptr);
-    }
-
     ptr = DdeAccessData(hdata, &size);
     ok(ptr != NULL, "Expected non-NULL ptr\n");
     ok(!lstrcmpA((LPSTR)ptr, "data"), "Expected data, got %s\n", ptr);




More information about the wine-cvs mailing list