Commit 750fceba authored by Alexandre Julliard's avatar Alexandre Julliard

user32/tests: Remove tests for internal DDE handle format, we don't care how the…

user32/tests: Remove tests for internal DDE handle format, we don't care how the handles are implemented.
parent 2c1b94bd
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment