Module: wine
Branch: master
Commit: 347b3b42fe548ed6190570d86b7ca2c900cdb7f4
URL: https://source.winehq.org/git/wine.git/?a=commit;h=347b3b42fe548ed6190570d8…
Author: Zebediah Figura <z.figura12(a)gmail.com>
Date: Thu Dec 26 14:40:02 2019 -0600
ntdll/tests: Remove a no longer reliable test.
On Windows 10 version 1607, a process called "Memory Compression" violates this
invariant.
Signed-off-by: Zebediah Figura <z.figura12(a)gmail.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/ntdll/tests/info.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/dlls/ntdll/tests/info.c b/dlls/ntdll/tests/info.c
index caa123e982..76de56810c 100644
--- a/dlls/ntdll/tests/info.c
+++ b/dlls/ntdll/tests/info.c
@@ -363,8 +363,6 @@ static void test_query_process(void)
last_pid = (DWORD_PTR)spi->UniqueProcessId;
- ok( spi->dwThreadCount > 0, "Expected some threads for this process, got 0\n");
-
/* Loop through the threads, skip NT4 for now */
if (!is_nt)
Module: wine
Branch: master
Commit: c7fa6e8e2d2cb85cabe1461cf59738fd2ada9e3c
URL: https://source.winehq.org/git/wine.git/?a=commit;h=c7fa6e8e2d2cb85cabe1461c…
Author: Zebediah Figura <z.figura12(a)gmail.com>
Date: Thu Dec 26 10:49:32 2019 -0600
oleaut32/tests: Avoid testing that GDI objects are invalid.
This is not consistent across Windows versions.
Signed-off-by: Zebediah Figura <z.figura12(a)gmail.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/oleaut32/tests/olefont.c | 15 ---------------
1 file changed, 15 deletions(-)
diff --git a/dlls/oleaut32/tests/olefont.c b/dlls/oleaut32/tests/olefont.c
index 10e2a4cf2f..9c8d255af1 100644
--- a/dlls/oleaut32/tests/olefont.c
+++ b/dlls/oleaut32/tests/olefont.c
@@ -1033,9 +1033,6 @@ static void test_hfont_lifetime(void)
hr = IFont_get_hFont(font, &hfont);
EXPECT_HR(hr, S_OK);
-
- obj_type = GetObjectType(last_hfont);
- ok(obj_type == 0, "%d: got obj type %d\n", i, obj_type);
}
/* now show that if we take a reference on the hfont, it persists
@@ -1063,9 +1060,6 @@ static void test_hfont_lifetime(void)
IFont_Release(font);
- obj_type = GetObjectType(first_hfont);
- ok(obj_type == 0, "got obj type %d\n", obj_type);
-
/* An AddRefHfont followed by a ReleaseHfont means the font doesn't not persist
through re-realization */
@@ -1099,9 +1093,6 @@ static void test_hfont_lifetime(void)
hr = IFont_ReleaseHfont(font, hfont);
EXPECT_HR(hr, S_OK);
-
- obj_type = GetObjectType(last_hfont);
- ok(obj_type == 0, "%d: got obj type %d\n", i, obj_type);
}
/* Interestingly if we release a nonexistent reference on the hfont,
@@ -1130,9 +1121,6 @@ static void test_hfont_lifetime(void)
IFont_Release(font);
- obj_type = GetObjectType(first_hfont);
- ok(obj_type == 0, "got obj type %d\n", obj_type);
-
/* If we take two internal references on a hfont then we can release
it twice. So it looks like there's a total reference count
that includes internal and external references */
@@ -1165,9 +1153,6 @@ todo_wine
ok(obj_type == OBJ_FONT, "got obj type %d\n", obj_type);
IFont_Release(font2);
-
- obj_type = GetObjectType(hfont);
- ok(obj_type == 0, "got obj type %d\n", obj_type);
}
static void test_realization(void)
Module: wine
Branch: master
Commit: 91d4caa4cda882dc33c12ce9bb9523a36a418b5d
URL: https://source.winehq.org/git/wine.git/?a=commit;h=91d4caa4cda882dc33c12ce9…
Author: Zebediah Figura <z.figura12(a)gmail.com>
Date: Thu Dec 26 10:32:26 2019 -0600
ole32/tests: Rewrite and expand test_data_cache_updatecache().
Instead of testing calls to IDataObject::GetData() and
IDataObject::QueryGetData(), actually test whether the cache contains the
updated data that we expose after calling IOleCache2::UpdateCache(). Fixes
test failures with Windows 10.
Signed-off-by: Zebediah Figura <z.figura12(a)gmail.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/ole32/tests/ole2.c | 511 +++++++++++++++++++++++-------------------------
1 file changed, 242 insertions(+), 269 deletions(-)
Diff: https://source.winehq.org/git/wine.git/?a=commitdiff;h=91d4caa4cda882dc33c1…