mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 11:11:44 +00:00
[GDIPLUS_WINETEST] Sync with Wine 3.0. CORE-14225
This commit is contained in:
parent
007122e774
commit
70c9f30747
11 changed files with 847 additions and 570 deletions
|
@ -78,7 +78,8 @@ static void test_hascurve(void)
|
|||
|
||||
GdipDeletePathIter(iter);
|
||||
|
||||
GdipAddPathEllipse(path, 0.0, 0.0, 35.0, 70.0);
|
||||
stat = GdipAddPathEllipse(path, 0.0, 0.0, 35.0, 70.0);
|
||||
expect(Ok, stat);
|
||||
|
||||
stat = GdipCreatePathIter(&iter, path);
|
||||
expect(Ok, stat);
|
||||
|
@ -328,9 +329,12 @@ static void test_isvalid(void)
|
|||
GdipDeletePathIter(iter);
|
||||
|
||||
/* no markers */
|
||||
GdipAddPathLine(path, 50.0, 50.0, 110.0, 40.0);
|
||||
GdipCreatePathIter(&iter, path);
|
||||
GdipPathIterNextMarker(iter, &result, &start, &end);
|
||||
stat = GdipAddPathLine(path, 50.0, 50.0, 110.0, 40.0);
|
||||
expect(Ok, stat);
|
||||
stat = GdipCreatePathIter(&iter, path);
|
||||
expect(Ok, stat);
|
||||
stat = GdipPathIterNextMarker(iter, &result, &start, &end);
|
||||
expect(Ok, stat);
|
||||
isvalid = FALSE;
|
||||
stat = GdipPathIterIsValid(iter, &isvalid);
|
||||
expect(Ok, stat);
|
||||
|
@ -525,7 +529,8 @@ static void test_nextpathtype(void)
|
|||
todo_wine expect(0, result);
|
||||
GdipDeletePathIter(iter);
|
||||
|
||||
GdipAddPathEllipse(path, 0.0, 0.0, 35.0, 70.0);
|
||||
stat = GdipAddPathEllipse(path, 0.0, 0.0, 35.0, 70.0);
|
||||
expect(Ok, stat);
|
||||
GdipCreatePathIter(&iter, path);
|
||||
start = end = result = (INT)0xdeadbeef;
|
||||
type = 255; /* out of range */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue