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
9de60b9c
Commit
9de60b9c
authored
Feb 24, 2009
by
Francois Gouget
Committed by
Alexandre Julliard
Feb 24, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32/tests: Use win_skip() to skip over unimplemented functionality.
parent
ca8a2da6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
17 deletions
+17
-17
dc.c
dlls/gdi32/tests/dc.c
+1
-1
font.c
dlls/gdi32/tests/font.c
+9
-9
icm.c
dlls/gdi32/tests/icm.c
+4
-4
path.c
dlls/gdi32/tests/path.c
+3
-3
No files found.
dlls/gdi32/tests/dc.c
View file @
9de60b9c
...
...
@@ -185,7 +185,7 @@ static void test_GdiConvertToDevmodeW(void)
pGdiConvertToDevmodeW
=
(
void
*
)
GetProcAddress
(
GetModuleHandleA
(
"gdi32.dll"
),
"GdiConvertToDevmodeW"
);
if
(
!
pGdiConvertToDevmodeW
)
{
skip
(
"GdiConvertToDevmodeW is not available on this platform
\n
"
);
win_
skip
(
"GdiConvertToDevmodeW is not available on this platform
\n
"
);
return
;
}
...
...
dlls/gdi32/tests/font.c
View file @
9de60b9c
...
...
@@ -839,7 +839,7 @@ static void test_GdiGetCharDimensions(void)
if
(
!
pGdiGetCharDimensions
)
{
skip
(
"GdiGetCharDimensions not available on this platform
\n
"
);
win_
skip
(
"GdiGetCharDimensions not available on this platform
\n
"
);
return
;
}
...
...
@@ -879,7 +879,7 @@ static void test_GetCharABCWidths(void)
if
(
!
pGetCharABCWidthsW
||
!
pGetCharABCWidthsI
)
{
skip
(
"GetCharABCWidthsW/I not available on this platform
\n
"
);
win_
skip
(
"GetCharABCWidthsW/I not available on this platform
\n
"
);
return
;
}
...
...
@@ -944,7 +944,7 @@ static void test_text_extents(void)
GetTextExtentExPointW
(
hdc
,
wt
,
1
,
1
,
&
fit1
,
&
fit2
,
&
sz1
);
if
(
GetLastError
()
==
ERROR_CALL_NOT_IMPLEMENTED
)
{
skip
(
"Skipping remainder of text extents test on a Win9x platform
\n
"
);
win_
skip
(
"Skipping remainder of text extents test on a Win9x platform
\n
"
);
hfont
=
SelectObject
(
hdc
,
hfont
);
DeleteObject
(
hfont
);
ReleaseDC
(
0
,
hdc
);
...
...
@@ -1002,7 +1002,7 @@ static void test_GetGlyphIndices(void)
HFONT
hOldFont
;
if
(
!
pGetGlyphIndicesW
)
{
skip
(
"GetGlyphIndicesW not available on platform
\n
"
);
win_
skip
(
"GetGlyphIndicesW not available on platform
\n
"
);
return
;
}
...
...
@@ -1137,7 +1137,7 @@ static void test_GetKerningPairs(void)
GetKerningPairsW
(
hdc
,
0
,
NULL
);
if
(
GetLastError
()
==
ERROR_CALL_NOT_IMPLEMENTED
)
{
skip
(
"Skipping the GetKerningPairs test on a Win9x platform
\n
"
);
win_
skip
(
"Skipping the GetKerningPairs test on a Win9x platform
\n
"
);
ReleaseDC
(
0
,
hdc
);
return
;
}
...
...
@@ -1561,7 +1561,7 @@ static void test_font_charset(void)
if
(
!
pGetGlyphIndicesA
||
!
pGetGlyphIndicesW
)
{
skip
(
"Skipping the font charset test on a Win9x platform
\n
"
);
win_
skip
(
"Skipping the font charset test on a Win9x platform
\n
"
);
return
;
}
...
...
@@ -1606,7 +1606,7 @@ static void test_GetFontUnicodeRanges(void)
if
(
!
pGetFontUnicodeRanges
)
{
skip
(
"GetFontUnicodeRanges not available before W2K
\n
"
);
win_
skip
(
"GetFontUnicodeRanges not available before W2K
\n
"
);
return
;
}
...
...
@@ -2511,7 +2511,7 @@ static void test_GetTextMetrics(void)
/* Report only once */
if
(
!
pGetGlyphIndicesA
)
skip
(
"GetGlyphIndicesA is unavailable, negative width will not be checked
\n
"
);
win_
skip
(
"GetGlyphIndicesA is unavailable, negative width will not be checked
\n
"
);
hdc
=
GetDC
(
0
);
...
...
@@ -2672,7 +2672,7 @@ static void test_GdiRealizationInfo(void)
if
(
!
pGdiRealizationInfo
)
{
skip
(
"GdiRealizationInfo not available
\n
"
);
win_
skip
(
"GdiRealizationInfo not available
\n
"
);
return
;
}
...
...
dlls/gdi32/tests/icm.c
View file @
9de60b9c
...
...
@@ -39,7 +39,7 @@ static void test_GetICMProfileA( HDC dc )
ret
=
GetICMProfileA
(
NULL
,
NULL
,
NULL
);
if
(
!
ret
&&
(
GetLastError
()
==
ERROR_CALL_NOT_IMPLEMENTED
)
)
{
skip
(
"GetICMProfileA is not implemented
\n
"
);
win_
skip
(
"GetICMProfileA is not implemented
\n
"
);
return
;
}
ok
(
!
ret
,
"GetICMProfileA succeeded
\n
"
);
...
...
@@ -91,7 +91,7 @@ static void test_GetICMProfileW( HDC dc )
ret
=
GetICMProfileW
(
NULL
,
NULL
,
NULL
);
if
(
!
ret
&&
(
GetLastError
()
==
ERROR_CALL_NOT_IMPLEMENTED
)
)
{
skip
(
"GetICMProfileW is not implemented
\n
"
);
win_
skip
(
"GetICMProfileW is not implemented
\n
"
);
return
;
}
ok
(
!
ret
,
"GetICMProfileW succeeded
\n
"
);
...
...
@@ -136,7 +136,7 @@ static void test_SetICMMode( HDC dc )
impl
=
GetICMProfileA
(
NULL
,
NULL
,
NULL
);
if
(
!
impl
&&
(
GetLastError
()
==
ERROR_CALL_NOT_IMPLEMENTED
)
)
{
skip
(
"On NT4 where SetICMMode is not implemented but this is not advertised
\n
"
);
win_
skip
(
"On NT4 where SetICMMode is not implemented but this is not advertised
\n
"
);
return
;
}
...
...
@@ -165,7 +165,7 @@ static void test_SetICMMode( HDC dc )
dc
=
CreateDCW
(
displayW
,
NULL
,
NULL
,
NULL
);
if
(
!
dc
&&
(
GetLastError
()
==
ERROR_CALL_NOT_IMPLEMENTED
)
)
{
skip
(
"CreateDCW is not implemented
\n
"
);
win_
skip
(
"CreateDCW is not implemented
\n
"
);
return
;
}
ok
(
dc
!=
NULL
,
"CreateDCW failed (%d)
\n
"
,
GetLastError
()
);
...
...
dlls/gdi32/tests/path.c
View file @
9de60b9c
...
...
@@ -238,7 +238,7 @@ static void test_arcto(void)
GetLastError
()
==
ERROR_CALL_NOT_IMPLEMENTED
)
{
/* ArcTo is only available on Win2k and later */
skip
(
"ArcTo is not available
\n
"
);
win_
skip
(
"ArcTo is not available
\n
"
);
goto
done
;
}
SetArcDirection
(
hdc
,
AD_COUNTERCLOCKWISE
);
...
...
@@ -282,7 +282,7 @@ static void test_anglearc(void)
GetLastError
()
==
ERROR_CALL_NOT_IMPLEMENTED
)
{
/* AngleArc is only available on Win2k and later */
skip
(
"AngleArc is not available
\n
"
);
win_
skip
(
"AngleArc is not available
\n
"
);
goto
done
;
}
AngleArc
(
hdc
,
300
,
300
,
80
,
150
.
0
,
-
180
.
0
);
...
...
@@ -355,7 +355,7 @@ static void test_polydraw(void)
GetLastError
()
==
ERROR_CALL_NOT_IMPLEMENTED
)
{
/* PolyDraw is only available on Win2k and later */
skip
(
"PolyDraw is not available
\n
"
);
win_
skip
(
"PolyDraw is not available
\n
"
);
goto
done
;
}
expect
(
TRUE
,
retb
);
...
...
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