On Thu, May 20, 2021 at 03:56:13PM +0800, Jactry Zeng wrote:
Signed-off-by: Jactry Zeng jzeng@codeweavers.com
dlls/riched20/tests/txtsrv.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+)
diff --git a/dlls/riched20/tests/txtsrv.c b/dlls/riched20/tests/txtsrv.c index 1f789da8a37..741e3d0baf2 100644 --- a/dlls/riched20/tests/txtsrv.c +++ b/dlls/riched20/tests/txtsrv.c @@ -1169,6 +1169,11 @@ static void test_notifications( void ) HRESULT hr; RECT client = { 0, 0, 100, 100 }; ITextHostTestImpl *host_impl;
- const WCHAR *expected_string;
- IOleClientSite *clientsite;
- IRichEditOle *reole;
- WCHAR buffer[1024];
- REOBJECT reobject;
This should be moved to a new function since it has nothing to do with notifications. Something like test_TxSendMessage_gettext(). You might as well also test sending EM_GETTEXTEX while you're at it (in the same function).
Huw.