https://git.reactos.org/?p=reactos.git;a=commitdiff;h=9e32854998bffb8af580b…
commit 9e32854998bffb8af580b570495c1a25027595db
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Sun Feb 28 13:06:49 2021 +0900
Commit: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
CommitDate: Sun Feb 28 13:13:38 2021 +0900
[ATL_APITEST] Fixup of #3492; fix SubclassWindow testcase
Fix the tests at Line 359 and 403.
CORE-9281
---
modules/rostests/apitests/atl/SubclassWindow.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/rostests/apitests/atl/SubclassWindow.cpp
b/modules/rostests/apitests/atl/SubclassWindow.cpp
index f372b1e7f9e..14b114ea44d 100644
--- a/modules/rostests/apitests/atl/SubclassWindow.cpp
+++ b/modules/rostests/apitests/atl/SubclassWindow.cpp
@@ -356,7 +356,7 @@ START_TEST(SubclassWindow)
hwnd2 = Ctrl2.UnsubclassWindow(TRUE);
ok(hwnd2 == NULL, "hwnd2 was %p\n", hwnd2);
fn2 = Ctrl2.m_pfnSuperWindowProc;
- ok(fn2 == fn1, "fn2 was %p\n", fn2);
+ ok(fn2 == DefWindowProc, "fn2 was %p\n", fn2);
ok(Ctrl2.m_hWnd == NULL, "Ctrl2.m_hWnd was %p\n", Ctrl2.m_hWnd);
DestroyWindow(hwnd2);
ok(Ctrl2.m_hWnd == NULL, "Ctrl2.m_hWnd was %p\n", Ctrl2.m_hWnd);
@@ -400,7 +400,7 @@ START_TEST(SubclassWindow)
hwnd2 = Ctrl2.UnsubclassWindow(TRUE);
ok(hwnd2 == NULL, "hwnd2 was %p\n", hwnd2);
fn2 = Ctrl2.m_pfnSuperWindowProc;
- ok(fn2 != DefWindowProc, "fn2 was %p\n", fn2); //
ntdll.dll!NtdllEditWndProc_W
+ ok(fn2 == DefWindowProc, "fn2 was %p\n", fn2);
ok(Ctrl2.m_hWnd == NULL, "Ctrl2.m_hWnd was %p\n", Ctrl2.m_hWnd);
DestroyWindow(hwnd2);
ok(Ctrl2.m_hWnd == NULL, "Ctrl2.m_hWnd was %p\n", Ctrl2.m_hWnd);