Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
d32d8ac8
Commit
d32d8ac8
authored
Sep 27, 2007
by
Francois Gouget
Committed by
Alexandre Julliard
Sep 27, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20/tests: Add '\n's to ok() calls.
parent
02b1ef89
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
editor.c
dlls/riched20/tests/editor.c
+4
-4
No files found.
dlls/riched20/tests/editor.c
View file @
d32d8ac8
...
...
@@ -1290,7 +1290,7 @@ static void test_EM_EXLIMITTEXT(void)
/* try inserting more text at end */
i
=
SendMessage
(
hwndRichEdit
,
WM_CHAR
,
'A'
,
0
);
ok
(
0
==
i
,
"WM_CHAR wasn't processed"
);
ok
(
0
==
i
,
"WM_CHAR wasn't processed
\n
"
);
SendMessage
(
hwndRichEdit
,
WM_GETTEXT
,
1024
,
(
LPARAM
)
buffer
);
i
=
strlen
(
buffer
);
ok
(
10
==
i
,
"expected 10 chars, got %i
\n
"
,
i
);
...
...
@@ -1300,7 +1300,7 @@ static void test_EM_EXLIMITTEXT(void)
/* try inserting text at beginning */
SendMessage
(
hwndRichEdit
,
EM_SETSEL
,
0
,
0
);
i
=
SendMessage
(
hwndRichEdit
,
WM_CHAR
,
'A'
,
0
);
ok
(
0
==
i
,
"WM_CHAR wasn't processed"
);
ok
(
0
==
i
,
"WM_CHAR wasn't processed
\n
"
);
SendMessage
(
hwndRichEdit
,
WM_GETTEXT
,
1024
,
(
LPARAM
)
buffer
);
i
=
strlen
(
buffer
);
ok
(
10
==
i
,
"expected 10 chars, got %i
\n
"
,
i
);
...
...
@@ -1312,9 +1312,9 @@ static void test_EM_EXLIMITTEXT(void)
SendMessage
(
hwndRichEdit
,
EM_EXLIMITTEXT
,
0
,
textlimit
);
SendMessage
(
hwndRichEdit
,
EM_SETSEL
,
0
,
-
1
);
/* select everything */
i
=
SendMessage
(
hwndRichEdit
,
WM_CHAR
,
'A'
,
0
);
ok
(
0
==
i
,
"WM_CHAR wasn't processed"
);
ok
(
0
==
i
,
"WM_CHAR wasn't processed
\n
"
);
i
=
SendMessage
(
hwndRichEdit
,
WM_CHAR
,
'A'
,
0
);
ok
(
0
==
i
,
"WM_CHAR wasn't processed"
);
ok
(
0
==
i
,
"WM_CHAR wasn't processed
\n
"
);
SendMessage
(
hwndRichEdit
,
WM_GETTEXT
,
1024
,
(
LPARAM
)
buffer
);
i
=
strlen
(
buffer
);
ok
(
1
==
i
,
"expected 1 chars, got %i instead
\n
"
,
i
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment