ReactOS 0.4.16-dev-1369-gd4d04c8
|
#include <stdarg.h>
#include <stdio.h>
#include <assert.h>
#include <windef.h>
#include <winbase.h>
#include <wingdi.h>
#include <winuser.h>
#include <winnls.h>
#include <ole2.h>
#include <richedit.h>
#include <richole.h>
#include <imm.h>
#include <textserv.h>
#include <commdlg.h>
#include <time.h>
#include <wine/test.h>
Go to the source code of this file.
Classes | |
struct | find_s |
struct | getline_s |
struct | exsetsel_s |
struct | StringWithLength |
struct | dialog_mode_messages |
Variables | |
static CHAR | string1 [MAX_PATH] |
static CHAR | string2 [MAX_PATH] |
static CHAR | string3 [MAX_PATH] |
static HMODULE | hmoduleRichEdit |
static BOOL | is_lang_japanese |
static const char | haystack [] = "WINEWine wineWine wine WineWine" |
static struct find_s | find_tests [] |
static struct find_s | find_tests2 [] |
static const struct getline_s | gl [] |
static unsigned int | recursionLevel = 0 |
static unsigned int | WM_SIZE_recursionLevel = 0 |
static BOOL | bailedOutOfRecursion = FALSE |
static UINT | message |
static UINT WPARAM | wParam |
static UINT WPARAM LPARAM | lParam |
LONG | streamout_written = 0 |
static const struct exsetsel_s | exsetsel_tests [] |
static int | nCallbackCount = 0 |
static HWND | eventMaskEditHwnd = 0 |
static int | queriedEventMask |
static int | watchForEventMask = 0 |
static int | received_WM_NOTIFY = 0 |
static int | modify_at_WM_NOTIFY = 0 |
static BOOL | filter_on_WM_NOTIFY = FALSE |
static HWND | hwndRichedit_WM_NOTIFY |
static ENLINK | enlink |
static struct dialog_mode_messages | dm_messages |
static BOOL | change_received = FALSE |
#define DISABLE_WS_VSCROLL | ( | hwnd | ) | SetWindowLongA(hwnd, GWL_STYLE, GetWindowLongA(hwnd, GWL_STYLE) & ~WS_VSCROLL) |
#define ENABLE_WS_VSCROLL | ( | hwnd | ) | SetWindowLongA(hwnd, GWL_STYLE, GetWindowLongA(hwnd, GWL_STYLE) | WS_VSCROLL) |
#define MAX_BUF_LEN 1024 |
#define open_clipboard | ( | hwnd | ) | open_clipboard_(__LINE__, hwnd) |
#define test_dm_messages | ( | wmclose, | |
wmgetdefid, | |||
wmnextdlgctl | |||
) |
Definition at line 1418 of file editor.c.
|
static |
Definition at line 8668 of file editor.c.
Definition at line 274 of file editor.c.
Referenced by check_EM_FINDTEXT(), and check_EM_FINDTEXTEX().
|
static |
Definition at line 9093 of file editor.c.
Referenced by test_init_messages().
Definition at line 2029 of file editor.c.
Referenced by test_EM_AUTOURLDETECT().
Definition at line 2020 of file editor.c.
Referenced by check_CFE_LINK_rcvd(), and test_EM_AUTOURLDETECT().
Definition at line 5072 of file editor.c.
Referenced by test_EM_EXSETSEL().
|
static |
Definition at line 284 of file editor.c.
Referenced by run_tests_EM_FINDTEXT().
|
static |
Definition at line 320 of file editor.c.
Referenced by run_tests_EM_FINDTEXT().
Definition at line 5129 of file editor.c.
Referenced by test_EM_SETSEL().
Definition at line 3906 of file editor.c.
Referenced by test_EM_STREAMOUT().
Definition at line 7171 of file editor.c.
Referenced by customWordBreakProc(), and test_word_movement().
|
static |
Definition at line 8066 of file editor.c.
Referenced by test_dialogmode().
Definition at line 63 of file editor.c.
Referenced by new_window(), new_windowW(), test_EM_SETOPTIONS(), and test_undo_coalescing().
|
static |
Definition at line 5846 of file editor.c.
|
static |
Definition at line 6866 of file editor.c.
Referenced by test_EN_LINK().
|
static |
Definition at line 8443 of file editor.c.
Referenced by test_enter().
Definition at line 563 of file editor.c.
Referenced by check_EM_SETSEL_multiline(), and test_EM_SCROLLCARET().
Definition at line 162 of file editor.c.
Referenced by test_WM_GETDLGCODE(), and test_zoom().
Definition at line 131 of file editor.c.
Referenced by START_TEST().
|
static |
Definition at line 6875 of file editor.c.
Referenced by test_EN_LINK().
Definition at line 113 of file editor.c.
Referenced by test_dialogmode(), test_EM_SETTEXTEX(), test_EN_LINK(), test_eventMask(), test_init_messages(), and test_WM_NOTIFY().
Definition at line 101 of file editor.c.
Referenced by test_autoscroll(), test_background(), test_EM_AUTOURLDETECT(), test_EM_CHARFROMPOS(), test_EM_EXLIMITTEXT(), test_EM_EXSETSEL(), test_EM_FINDTEXT(), test_EM_FINDWORDBREAK_A(), test_EM_GETLIMITTEXT(), test_EM_GETLINE(), test_EM_GETMODIFY(), test_EM_GETSELTEXT(), test_EM_GETTEXTRANGE(), test_EM_LIMITTEXT(), test_EM_LINELENGTH(), test_EM_POSFROMCHAR(), test_EM_SCROLL(), test_EM_SELECTIONTYPE(), test_EM_SETCHARFORMAT(), test_EM_SETFONTSIZE(), test_EM_SETSEL(), test_EM_SETTEXTEX(), test_EM_SETTEXTMODE(), test_EM_SETUNDOLIMIT(), test_EM_STREAMIN(), test_EM_STREAMOUT(), test_EM_STREAMOUT_empty_para(), test_EM_STREAMOUT_FONTTBL(), test_EN_LINK(), test_enter(), test_eop_char_fmt(), test_ES_PASSWORD(), test_eventMask(), test_scrollbar_visibility(), test_SETPARAFORMAT(), test_TM_PLAINTEXT(), test_WM_GETTEXT(), test_WM_GETTEXTLENGTH(), test_WM_NOTIFY(), test_WM_SETFONT(), test_WM_SETTEXT(), test_word_movement(), test_word_movement_multiline(), and test_zoom().
Definition at line 105 of file editor.c.
Referenced by test_EM_SETTEXTEX(), and test_WM_SETTEXT().
Definition at line 109 of file editor.c.
Referenced by test_EM_FINDTEXT(), test_EM_FINDWORDBREAK_W(), test_EM_SETREADONLY(), test_para_numbering(), test_reset_default_para_fmt(), and test_rtf().
Definition at line 2044 of file editor.c.
Referenced by test_EM_AUTOURLDETECT().
Definition at line 81 of file editor.c.
Referenced by MDIMainFrame::go_to(), navigate_new_window(), new_richedit(), new_richedit_with_style(), new_static_wnd(), MainFrameBase::Notify(), test_dialogmode(), test_init_messages(), test_open_window(), and test_scrollbar_visibility().
Definition at line 91 of file editor.c.
Referenced by new_richeditW(), and test_alignment_style().
Definition at line 4817 of file editor.c.
|
static |
Definition at line 176 of file editor.c.
Referenced by test_WM_GETDLGCODE(), and test_zoom().
|
static |
Definition at line 2977 of file editor.c.
Referenced by test_scrollbar_visibility().
|
static |
Definition at line 9099 of file editor.c.
Referenced by test_init_messages().
|
static |
Definition at line 366 of file editor.c.
Referenced by test_EM_FINDTEXT().
Definition at line 5581 of file editor.c.
Referenced by test_word_movement(), and test_word_movement_multiline().
Definition at line 149 of file editor.c.
Referenced by test_alignment_style(), test_EM_AUTOURLDETECT(), test_enter(), test_reset_default_para_fmt(), and test_undo_coalescing().
START_TEST | ( | editor | ) |
Definition at line 9235 of file editor.c.
Definition at line 8755 of file editor.c.
Referenced by START_TEST().
Definition at line 7493 of file editor.c.
Referenced by START_TEST().
Definition at line 8958 of file editor.c.
Referenced by START_TEST().
Definition at line 8084 of file editor.c.
Referenced by START_TEST().
Definition at line 2048 of file editor.c.
Referenced by START_TEST().
Definition at line 7342 of file editor.c.
Referenced by START_TEST().
Definition at line 4588 of file editor.c.
Referenced by START_TEST().
Definition at line 5090 of file editor.c.
Referenced by START_TEST().
Definition at line 377 of file editor.c.
Definition at line 8410 of file editor.c.
Referenced by START_TEST().
Definition at line 8366 of file editor.c.
Referenced by START_TEST().
Definition at line 5726 of file editor.c.
Referenced by START_TEST().
Definition at line 4719 of file editor.c.
Referenced by START_TEST().
Definition at line 435 of file editor.c.
Referenced by START_TEST().
Definition at line 4846 of file editor.c.
Referenced by START_TEST().
|
static |
Definition at line 1887 of file editor.c.
Referenced by START_TEST().
Definition at line 6524 of file editor.c.
Referenced by START_TEST().
Definition at line 1803 of file editor.c.
Referenced by START_TEST().
Definition at line 4548 of file editor.c.
Referenced by START_TEST().
Definition at line 507 of file editor.c.
Referenced by START_TEST().
Definition at line 642 of file editor.c.
Referenced by START_TEST().
Definition at line 5206 of file editor.c.
Referenced by START_TEST().
Definition at line 2838 of file editor.c.
Referenced by START_TEST().
Definition at line 584 of file editor.c.
Referenced by START_TEST().
Definition at line 9132 of file editor.c.
Referenced by START_TEST().
Definition at line 795 of file editor.c.
Referenced by START_TEST().
Definition at line 8688 of file editor.c.
Referenced by START_TEST().
Definition at line 1947 of file editor.c.
Referenced by START_TEST().
Definition at line 8642 of file editor.c.
Referenced by START_TEST().
Definition at line 5161 of file editor.c.
Referenced by START_TEST().
Definition at line 4094 of file editor.c.
Referenced by START_TEST().
Definition at line 1446 of file editor.c.
Referenced by START_TEST().
Definition at line 3684 of file editor.c.
Referenced by START_TEST().
Definition at line 5960 of file editor.c.
Referenced by START_TEST().
|
static |
Definition at line 5870 of file editor.c.
Referenced by test_alignment_style(), test_EM_STREAMIN(), test_eop_char_fmt(), test_para_numbering(), and test_rtf().
|
static |
|
static |
|
static |
Definition at line 5911 of file editor.c.
Definition at line 6235 of file editor.c.
Referenced by START_TEST().
Definition at line 3919 of file editor.c.
Referenced by START_TEST().
Definition at line 4074 of file editor.c.
Referenced by START_TEST().
Definition at line 4021 of file editor.c.
Referenced by START_TEST().
Definition at line 6937 of file editor.c.
Referenced by START_TEST().
Definition at line 8459 of file editor.c.
Referenced by START_TEST().
Definition at line 8970 of file editor.c.
Referenced by START_TEST().
Definition at line 3748 of file editor.c.
Referenced by START_TEST().
|
static |
Definition at line 3890 of file editor.c.
Referenced by test_EM_STREAMOUT().
Definition at line 6690 of file editor.c.
Referenced by START_TEST().
Definition at line 7552 of file editor.c.
Referenced by START_TEST().
Definition at line 9106 of file editor.c.
Referenced by START_TEST().
Definition at line 9006 of file editor.c.
Referenced by START_TEST().
Definition at line 8610 of file editor.c.
Referenced by START_TEST().
Definition at line 8885 of file editor.c.
Referenced by START_TEST().
Definition at line 3004 of file editor.c.
Referenced by START_TEST().
Definition at line 1592 of file editor.c.
Referenced by START_TEST().
Definition at line 1626 of file editor.c.
Referenced by START_TEST().
Definition at line 7053 of file editor.c.
Referenced by START_TEST().
Definition at line 6314 of file editor.c.
Referenced by START_TEST().
Definition at line 9203 of file editor.c.
Referenced by START_TEST().
Definition at line 6472 of file editor.c.
Referenced by START_TEST().
Definition at line 8569 of file editor.c.
Referenced by START_TEST().
Definition at line 7728 of file editor.c.
Referenced by START_TEST().
Definition at line 1736 of file editor.c.
Referenced by START_TEST().
Definition at line 8854 of file editor.c.
Referenced by START_TEST().
Definition at line 6775 of file editor.c.
Referenced by START_TEST().
Definition at line 5590 of file editor.c.
Referenced by START_TEST().
Definition at line 4734 of file editor.c.
Referenced by START_TEST().
Definition at line 3791 of file editor.c.
Referenced by START_TEST().
|
static |
Definition at line 3776 of file editor.c.
Referenced by test_EM_SETTEXTEX(), test_EM_STREAMOUT(), test_EM_STREAMOUT_empty_para(), and test_EM_STREAMOUT_FONTTBL().
Definition at line 7208 of file editor.c.
Referenced by START_TEST().
Definition at line 7297 of file editor.c.
Referenced by START_TEST().
Definition at line 7397 of file editor.c.
Referenced by START_TEST().
Definition at line 7909 of file editor.c.
Referenced by START_TEST().
Definition at line 8661 of file editor.c.
Referenced by _test_font_size(), and test_EM_SETFONTSIZE().
|
static |
Definition at line 6764 of file editor.c.
Referenced by test_WM_NOTIFY().
Definition at line 2974 of file editor.c.
Referenced by RicheditStupidOverrideProcA(), and test_scrollbar_visibility().
Definition at line 9091 of file editor.c.
Referenced by ChangeWatcherWndProc(), and test_init_messages().
|
static |
Definition at line 8056 of file editor.c.
Referenced by dialog_mode_wnd_proc(), and test_dialogmode().
|
static |
Definition at line 6860 of file editor.c.
Referenced by EN_LINK_ParentMsgCheckProcA(), and link_notify_test().
|
static |
Definition at line 6675 of file editor.c.
Referenced by ParentMsgCheckProcA(), and test_eventMask().
|
static |
Definition at line 5043 of file editor.c.
Referenced by test_EM_EXSETSEL(), and test_EM_SETSEL().
Definition at line 6761 of file editor.c.
Referenced by test_WM_NOTIFY(), and WM_NOTIFY_ParentMsgCheckProcA().
Definition at line 211 of file editor.c.
Referenced by test_EM_FINDTEXT().
Referenced by test_EM_GETLINE().
Definition at line 190 of file editor.c.
Referenced by ExtractFilesCallback(), my_strstriW(), START_TEST(), test_EM_FINDTEXT(), and test_strstr().
|
static |
Definition at line 53 of file editor.c.
Referenced by disable_beep(), new_window(), new_windowW(), START_TEST(), test_autoscroll(), test_EM_GETOPTIONS(), test_EM_SCROLLCARET(), test_EM_SETOPTIONS(), test_EM_SETTEXTEX(), test_format_rect(), test_init_messages(), test_WM_GETDLGCODE(), test_WM_SETTEXT(), test_word_movement(), and test_word_wrap().
|
static |
Definition at line 6762 of file editor.c.
Referenced by test_WM_NOTIFY(), and WM_NOTIFY_ParentMsgCheckProcA().
|
static |
Definition at line 54 of file editor.c.
Referenced by START_TEST(), test_EM_EXSETSEL(), test_EM_GETSELTEXT(), test_EM_GETTEXTRANGE(), test_EM_LINELENGTH(), test_EM_SETSEL(), test_EM_SETTEXTEX(), and test_WM_GETTEXTLENGTH().
|
static |
Definition at line 6760 of file editor.c.
Referenced by test_WM_NOTIFY(), and WM_NOTIFY_ParentMsgCheckProcA().
|
static |
Definition at line 6676 of file editor.c.
Referenced by ParentMsgCheckProcA(), and test_eventMask().
|
static |
Definition at line 6759 of file editor.c.
Referenced by test_WM_NOTIFY(), and WM_NOTIFY_ParentMsgCheckProcA().
Definition at line 2972 of file editor.c.
Referenced by RicheditStupidOverrideProcA(), and test_scrollbar_visibility().
LONG streamout_written = 0 |
Definition at line 3774 of file editor.c.
Referenced by test_EM_STREAMOUT(), and test_WM_SETTEXT_esCallback().
Definition at line 44 of file editor.c.
Referenced by InternetTimeToSystemTimeW_test().
|
static |
Definition at line 6677 of file editor.c.
Referenced by ParentMsgCheckProcA(), and test_eventMask().
Definition at line 2973 of file editor.c.
Referenced by RicheditStupidOverrideProcA(), and test_scrollbar_visibility().