Author: tkreuzer
Date: Sat Sep 27 10:57:50 2014
New Revision: 64332
URL:
http://svn.reactos.org/svn/reactos?rev=64332&view=rev
Log:
[GDI32_APITEST]
Add another test case for ExcludeClipRect
Modified:
trunk/rostests/apitests/gdi32/ExcludeClipRect.c
Modified: trunk/rostests/apitests/gdi32/ExcludeClipRect.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/gdi32/ExcludeCli…
==============================================================================
--- trunk/rostests/apitests/gdi32/ExcludeClipRect.c [iso-8859-1] (original)
+++ trunk/rostests/apitests/gdi32/ExcludeClipRect.c [iso-8859-1] Sat Sep 27 10:57:50 2014
@@ -51,7 +51,12 @@
ok_int(GetRandomRgn(hdc, hrgn2, CLIPRGN), 1);
ok_int(CombineRgn(hrgn2, hrgn2, hrgn, RGN_XOR), NULLREGION);
- /* Now exclude something for real */
+ /* Exclude something on one side of the clip rect */
+ ok_int(ExcludeClipRect(hdc, 0, 0, 13, 50), COMPLEXREGION);
+ ok_int(GetRandomRgn(hdc, hrgn2, CLIPRGN), 1);
+ ok_int(CombineRgn(hrgn, hrgn2, NULL, RGN_COPY), SIMPLEREGION);
+
+ /* Exclude something on the edge of the clip rect */
ok_int(ExcludeClipRect(hdc, 0, 0, 15, 15), COMPLEXREGION);
ok_int(GetRandomRgn(hdc, hrgn2, CLIPRGN), 1);
ok_int(CombineRgn(hrgn, hrgn2, NULL, RGN_COPY), COMPLEXREGION);