Module: wine Branch: master Commit: 6ea5a664dd8111923aaa01d4d6c7d05449a1949f URL: http://source.winehq.org/git/wine.git/?a=commit;h=6ea5a664dd8111923aaa01d4d6...
Author: Mike McCormack mike@codeweavers.com Date: Fri Nov 10 15:41:53 2006 +0900
riched20: Remember to close windows after tests.
---
dlls/riched20/tests/editor.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/riched20/tests/editor.c b/dlls/riched20/tests/editor.c index 98aa32c..17ccfcc 100644 --- a/dlls/riched20/tests/editor.c +++ b/dlls/riched20/tests/editor.c @@ -570,6 +570,7 @@ static void test_WM_GETTEXT(void) result = strcmp(buffer,text); ok(result == 0, "WM_GETTEXT: settext and gettext differ. strcmp: %d\n", result); + DestroyWindow(hwndRichEdit); }
/* FIXME: need to test unimplemented options and robustly test wparam */ @@ -897,6 +898,7 @@ static void test_ES_PASSWORD() result = SendMessage(hwndRichEdit, EM_GETPASSWORDCHAR, 0, 0); ok (result == 1234, "EM_GETPASSWORDCHAR returned %c (%d) when set to 'x', instead of x (120)\n",result,result); + DestroyWindow(hwndRichEdit); }
static void test_EM_SETTEXTEX() @@ -1311,7 +1313,6 @@ static void test_EM_GETMODIFY(void) "EM_GETMODIFY returned zero, instead of non-zero for EM_STREAM\n"); }
- DestroyWindow(hwndRichEdit); }