Zebediah Figura : ole32/tests: Avoid testing exact sequences of IUnknown methods.

Alexandre Julliard julliard at winehq.org
Tue Dec 24 13:45:08 CST 2019


Module: wine
Branch: master
Commit: e1571a25ca65314b0b5db2b969bc8c3586dcd116
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=e1571a25ca65314b0b5db2b969bc8c3586dcd116

Author: Zebediah Figura <z.figura12 at gmail.com>
Date:   Mon Dec 23 22:37:42 2019 -0600

ole32/tests: Avoid testing exact sequences of IUnknown methods.

Instead, just test that AddRef()/Release() come in balanced pairs by keeping
track of the reference count.

This fixes test failures with recent Windows 10.

Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/ole32/tests/ole2.c | 174 +++++++-----------------------------------------
 1 file changed, 23 insertions(+), 151 deletions(-)

Diff:   https://source.winehq.org/git/wine.git/?a=commitdiff;h=e1571a25ca65314b0b5db2b969bc8c3586dcd116



More information about the wine-cvs mailing list