Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
30041c28
Commit
30041c28
authored
Apr 03, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
Apr 03, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20/tests: Remove the todo_wine logic where appropriate.
parent
7e47d19d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
22 deletions
+15
-22
editor.c
dlls/riched20/tests/editor.c
+15
-22
No files found.
dlls/riched20/tests/editor.c
View file @
30041c28
...
...
@@ -4216,32 +4216,31 @@ struct exsetsel_s {
long
expected_retval
;
int
expected_getsel_start
;
int
expected_getsel_end
;
int
_exsetsel_todo_wine
;
int
_getsel_todo_wine
;
};
const
struct
exsetsel_s
exsetsel_tests
[]
=
{
/* sanity tests */
{
5
,
10
,
10
,
5
,
10
,
0
,
0
},
{
15
,
17
,
17
,
15
,
17
,
0
,
0
},
{
5
,
10
,
10
,
5
,
10
,
0
},
{
15
,
17
,
17
,
15
,
17
,
0
},
/* test cpMax > strlen() */
{
0
,
100
,
18
,
0
,
18
,
0
,
1
},
{
0
,
100
,
18
,
0
,
18
,
1
},
/* test cpMin == cpMax */
{
5
,
5
,
5
,
5
,
5
,
0
,
0
},
{
5
,
5
,
5
,
5
,
5
,
0
},
/* test cpMin < 0 && cpMax >= 0 (bug 4462) */
{
-
1
,
0
,
5
,
5
,
5
,
0
,
0
},
{
-
1
,
17
,
5
,
5
,
5
,
0
,
0
},
{
-
1
,
18
,
5
,
5
,
5
,
0
,
0
},
{
-
1
,
0
,
5
,
5
,
5
,
0
},
{
-
1
,
17
,
5
,
5
,
5
,
0
},
{
-
1
,
18
,
5
,
5
,
5
,
0
},
/* test cpMin < 0 && cpMax < 0 */
{
-
1
,
-
1
,
17
,
17
,
17
,
0
,
0
},
{
-
4
,
-
5
,
17
,
17
,
17
,
0
,
0
},
{
-
1
,
-
1
,
17
,
17
,
17
,
0
},
{
-
4
,
-
5
,
17
,
17
,
17
,
0
},
/* test cMin >=0 && cpMax < 0 (bug 6814) */
{
0
,
-
1
,
18
,
0
,
18
,
0
,
1
},
{
17
,
-
5
,
18
,
17
,
18
,
0
,
1
},
{
18
,
-
3
,
17
,
17
,
17
,
0
,
0
},
{
0
,
-
1
,
18
,
0
,
18
,
1
},
{
17
,
-
5
,
18
,
17
,
18
,
1
},
{
18
,
-
3
,
17
,
17
,
17
,
0
},
/* test if cpMin > cpMax */
{
15
,
19
,
18
,
15
,
18
,
0
,
1
},
{
19
,
15
,
18
,
15
,
18
,
0
,
1
}
{
15
,
19
,
18
,
15
,
18
,
1
},
{
19
,
15
,
18
,
15
,
18
,
1
}
};
static
void
check_EM_EXSETSEL
(
HWND
hwnd
,
const
struct
exsetsel_s
*
setsel
,
int
id
)
{
...
...
@@ -4253,13 +4252,7 @@ static void check_EM_EXSETSEL(HWND hwnd, const struct exsetsel_s *setsel, int id
cr
.
cpMax
=
setsel
->
max
;
result
=
SendMessage
(
hwnd
,
EM_EXSETSEL
,
0
,
(
LPARAM
)
&
cr
);
if
(
setsel
->
_exsetsel_todo_wine
)
{
todo_wine
{
ok
(
result
==
setsel
->
expected_retval
,
"EM_EXSETSEL(%d): expected: %ld actual: %ld
\n
"
,
id
,
setsel
->
expected_retval
,
result
);
}
}
else
{
ok
(
result
==
setsel
->
expected_retval
,
"EM_EXSETSEL(%d): expected: %ld actual: %ld
\n
"
,
id
,
setsel
->
expected_retval
,
result
);
}
ok
(
result
==
setsel
->
expected_retval
,
"EM_EXSETSEL(%d): expected: %ld actual: %ld
\n
"
,
id
,
setsel
->
expected_retval
,
result
);
SendMessage
(
hwnd
,
EM_GETSEL
,
(
WPARAM
)
&
start
,
(
LPARAM
)
&
end
);
...
...
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