ReactOS 0.4.16-dev-1007-g2e85425
|
#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 |
#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 test_dm_messages | ( | wmclose, | |
wmgetdefid, | |||
wmnextdlgctl | |||
) |
|
static |
Definition at line 8542 of file editor.c.
Definition at line 258 of file editor.c.
Referenced by check_EM_FINDTEXT(), and check_EM_FINDTEXTEX().
Definition at line 1951 of file editor.c.
Referenced by test_EM_AUTOURLDETECT().
Definition at line 1942 of file editor.c.
Referenced by check_CFE_LINK_rcvd(), and test_EM_AUTOURLDETECT().
Definition at line 4950 of file editor.c.
Referenced by test_EM_EXSETSEL().
|
static |
Definition at line 268 of file editor.c.
Referenced by run_tests_EM_FINDTEXT().
|
static |
Definition at line 304 of file editor.c.
Referenced by run_tests_EM_FINDTEXT().
Definition at line 5007 of file editor.c.
Referenced by test_EM_SETSEL().
Definition at line 3828 of file editor.c.
Referenced by test_EM_STREAMOUT().
Definition at line 7083 of file editor.c.
Referenced by customWordBreakProc(), and test_word_movement().
|
static |
Definition at line 7931 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(), test_undo_coalescing(), and test_WM_CHAR().
|
static |
Definition at line 5732 of file editor.c.
Referenced by test_EM_StreamIn_Undo().
|
static |
Definition at line 6769 of file editor.c.
Referenced by test_EN_LINK().
|
static |
Definition at line 8317 of file editor.c.
Referenced by test_enter().
Definition at line 547 of file editor.c.
Referenced by test_EM_SCROLLCARET().
Definition at line 146 of file editor.c.
Referenced by send_ctrl_key(), test_WM_GETDLGCODE(), test_WM_PASTE(), and test_zoom().
Definition at line 115 of file editor.c.
Referenced by START_TEST().
|
static |
Definition at line 6778 of file editor.c.
Referenced by test_EN_LINK().
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_FORMATRANGE(), 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_REPLACESEL(), 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_StreamIn_Undo(), 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_PASTE(), test_WM_SETFONT(), test_WM_SETTEXT(), test_word_movement(), and test_zoom().
Definition at line 105 of file editor.c.
Referenced by test_EM_REPLACESEL(), test_EM_SETTEXTEX(), test_EM_STREAMIN(), test_WM_PASTE(), 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 1966 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_open_window(), and test_scrollbar_visibility().
Definition at line 91 of file editor.c.
Referenced by new_richeditW(), and test_alignment_style().
|
static |
Definition at line 160 of file editor.c.
Referenced by send_ctrl_key(), test_WM_GETDLGCODE(), test_WM_PASTE(), and test_zoom().
|
static |
Definition at line 2899 of file editor.c.
Referenced by test_scrollbar_visibility().
|
static |
Definition at line 350 of file editor.c.
Referenced by test_EM_FINDTEXT().
Definition at line 5440 of file editor.c.
Referenced by test_WM_PASTE(), and test_word_movement().
Definition at line 133 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 9057 of file editor.c.
Definition at line 8629 of file editor.c.
Referenced by START_TEST().
Definition at line 7358 of file editor.c.
Referenced by START_TEST().
Definition at line 8821 of file editor.c.
Referenced by START_TEST().
Definition at line 7949 of file editor.c.
Referenced by START_TEST().
Definition at line 1970 of file editor.c.
Referenced by START_TEST().
Definition at line 7209 of file editor.c.
Referenced by START_TEST().
Definition at line 4519 of file editor.c.
Referenced by START_TEST().
Definition at line 4968 of file editor.c.
Referenced by START_TEST().
Definition at line 361 of file editor.c.
Definition at line 8284 of file editor.c.
Referenced by START_TEST().
Definition at line 8240 of file editor.c.
Referenced by START_TEST().
Definition at line 5614 of file editor.c.
Referenced by START_TEST().
Definition at line 4650 of file editor.c.
Referenced by START_TEST().
Definition at line 419 of file editor.c.
Referenced by START_TEST().
Definition at line 4747 of file editor.c.
Referenced by START_TEST().
|
static |
Definition at line 1830 of file editor.c.
Referenced by START_TEST().
Definition at line 6409 of file editor.c.
Referenced by START_TEST().
Definition at line 1746 of file editor.c.
Referenced by START_TEST().
Definition at line 4479 of file editor.c.
Referenced by START_TEST().
Definition at line 491 of file editor.c.
Referenced by START_TEST().
Definition at line 626 of file editor.c.
Referenced by START_TEST().
Definition at line 5065 of file editor.c.
Referenced by START_TEST().
Definition at line 2760 of file editor.c.
Referenced by START_TEST().
Definition at line 568 of file editor.c.
Referenced by START_TEST().
Definition at line 8954 of file editor.c.
Referenced by START_TEST().
Definition at line 779 of file editor.c.
Referenced by START_TEST().
Definition at line 8562 of file editor.c.
Referenced by START_TEST().
Definition at line 1869 of file editor.c.
Referenced by START_TEST().
Definition at line 8516 of file editor.c.
Referenced by START_TEST().
Definition at line 5022 of file editor.c.
Referenced by START_TEST().
Definition at line 4016 of file editor.c.
Referenced by START_TEST().
Definition at line 1393 of file editor.c.
Referenced by START_TEST().
Definition at line 3606 of file editor.c.
Referenced by START_TEST().
Definition at line 5846 of file editor.c.
Referenced by START_TEST().
|
static |
Definition at line 5756 of file editor.c.
Referenced by test_alignment_style(), test_EM_STREAMIN(), test_eop_char_fmt(), test_para_numbering(), and test_rtf().
|
static |
|
static |
Definition at line 5774 of file editor.c.
Referenced by test_EM_STREAMIN().
|
static |
Definition at line 5797 of file editor.c.
Referenced by test_EM_STREAMIN().
Definition at line 6120 of file editor.c.
Referenced by START_TEST().
Definition at line 3841 of file editor.c.
Referenced by START_TEST().
Definition at line 3996 of file editor.c.
Referenced by START_TEST().
Definition at line 3943 of file editor.c.
Referenced by START_TEST().
Definition at line 6840 of file editor.c.
Referenced by START_TEST().
Definition at line 8333 of file editor.c.
Referenced by START_TEST().
Definition at line 8833 of file editor.c.
Referenced by START_TEST().
Definition at line 3670 of file editor.c.
Referenced by START_TEST().
|
static |
Definition at line 3812 of file editor.c.
Referenced by test_EM_STREAMOUT().
Definition at line 6575 of file editor.c.
Referenced by START_TEST().
Definition at line 7417 of file editor.c.
Referenced by START_TEST().
Definition at line 8869 of file editor.c.
Referenced by START_TEST().
Definition at line 8484 of file editor.c.
Referenced by START_TEST().
Definition at line 8759 of file editor.c.
Referenced by START_TEST().
Definition at line 2926 of file editor.c.
Referenced by START_TEST().
Definition at line 1535 of file editor.c.
Referenced by START_TEST().
Definition at line 1569 of file editor.c.
Referenced by START_TEST().
Definition at line 6965 of file editor.c.
Referenced by START_TEST().
Definition at line 6199 of file editor.c.
Referenced by START_TEST().
Definition at line 9025 of file editor.c.
Referenced by START_TEST().
Definition at line 6357 of file editor.c.
Referenced by START_TEST().
Definition at line 8443 of file editor.c.
Referenced by START_TEST().
Definition at line 7593 of file editor.c.
Referenced by START_TEST().
Definition at line 1679 of file editor.c.
Referenced by START_TEST().
Definition at line 8728 of file editor.c.
Referenced by START_TEST().
Definition at line 6669 of file editor.c.
Referenced by START_TEST().
Definition at line 5449 of file editor.c.
Referenced by START_TEST().
Definition at line 4665 of file editor.c.
Referenced by START_TEST().
Definition at line 3713 of file editor.c.
Referenced by START_TEST().
|
static |
Definition at line 3698 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 7120 of file editor.c.
Referenced by START_TEST().
Definition at line 7262 of file editor.c.
Referenced by START_TEST().
Definition at line 7774 of file editor.c.
Referenced by START_TEST().
Definition at line 8535 of file editor.c.
Referenced by _test_font_size(), and test_EM_SETFONTSIZE().
|
static |
Definition at line 6658 of file editor.c.
Referenced by test_WM_NOTIFY().
Definition at line 2896 of file editor.c.
Referenced by RicheditStupidOverrideProcA(), and test_scrollbar_visibility().
|
static |
Definition at line 7921 of file editor.c.
Referenced by dialog_mode_wnd_proc(), and test_dialogmode().
|
static |
Definition at line 6763 of file editor.c.
Referenced by EN_LINK_ParentMsgCheckProcA(), and link_notify_test().
|
static |
Definition at line 6560 of file editor.c.
Referenced by ParentMsgCheckProcA(), and test_eventMask().
|
static |
Definition at line 4921 of file editor.c.
Referenced by test_EM_EXSETSEL(), and test_EM_SETSEL().
Definition at line 6655 of file editor.c.
Referenced by test_WM_NOTIFY(), and WM_NOTIFY_ParentMsgCheckProcA().
Definition at line 195 of file editor.c.
Referenced by test_EM_FINDTEXT().
Referenced by test_EM_GETLINE().
Definition at line 174 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_WM_GETDLGCODE(), test_WM_SETTEXT(), test_word_movement(), and test_word_wrap().
|
static |
Definition at line 6656 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_REPLACESEL(), test_EM_SETSEL(), test_EM_SETTEXTEX(), and test_WM_GETTEXTLENGTH().
|
static |
Definition at line 6654 of file editor.c.
Referenced by test_WM_NOTIFY(), and WM_NOTIFY_ParentMsgCheckProcA().
|
static |
Definition at line 5730 of file editor.c.
Referenced by EditStreamCallback(), and test_EM_StreamIn_Undo().
|
static |
Definition at line 6561 of file editor.c.
Referenced by ParentMsgCheckProcA(), and test_eventMask().
|
static |
Definition at line 6653 of file editor.c.
Referenced by test_WM_NOTIFY(), and WM_NOTIFY_ParentMsgCheckProcA().
Definition at line 2894 of file editor.c.
Referenced by RicheditStupidOverrideProcA(), and test_scrollbar_visibility().
LONG streamout_written = 0 |
Definition at line 3696 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 6562 of file editor.c.
Referenced by ParentMsgCheckProcA(), and test_eventMask().
Definition at line 2895 of file editor.c.
Referenced by RicheditStupidOverrideProcA(), and test_scrollbar_visibility().