mirror of
https://github.com/reactos/reactos.git
synced 2025-06-01 15:38:37 +00:00
[GDI32_APITEST]
Fix build svn path=/trunk/; revision=56394
This commit is contained in:
parent
3f8f2a7550
commit
cc8ff50175
2 changed files with 9 additions and 5 deletions
|
@ -17,11 +17,11 @@
|
||||||
|
|
||||||
#define ok_int(x, exp) \
|
#define ok_int(x, exp) \
|
||||||
ok((x) == (exp), "Failed test in line %d: value %s expected 0x%x, got 0x%x\n", \
|
ok((x) == (exp), "Failed test in line %d: value %s expected 0x%x, got 0x%x\n", \
|
||||||
__LINE__, #x, exp, x)
|
(int)__LINE__, #x, (int)(exp), (int)(x))
|
||||||
|
|
||||||
#define ok_long(x, exp) \
|
#define ok_long(x, exp) \
|
||||||
ok((x) == (exp), "Failed test in line %d: value %s expected 0x%lx, got 0x%lx\n", \
|
ok((x) == (exp), "Failed test in line %d: value %s expected 0x%x, got 0x%x\n", \
|
||||||
__LINE__, #x, exp, x)
|
(int)__LINE__, #x, (int)(exp), (int)(x))
|
||||||
|
|
||||||
HWND ghwnd;
|
HWND ghwnd;
|
||||||
HDC ghdcWindow;
|
HDC ghdcWindow;
|
||||||
|
|
|
@ -13,9 +13,13 @@ HBITMAP ghbmpTarget;
|
||||||
PULONG gpulTargetBits;
|
PULONG gpulTargetBits;
|
||||||
HDC hdcTarget;
|
HDC hdcTarget;
|
||||||
|
|
||||||
|
#define ok_int(x, exp) \
|
||||||
|
ok((x) == (exp), "Failed test in line %d: value %s expected 0x%x, got 0x%x\n", \
|
||||||
|
(int)__LINE__, #x, (int)(exp), (int)(x))
|
||||||
|
|
||||||
#define ok_long(x, exp) \
|
#define ok_long(x, exp) \
|
||||||
ok((x) == (exp), "Failed test in line %d: value %s expected 0x%lx, got 0x%lx\n", \
|
ok((x) == (exp), "Failed test in line %d: value %s expected 0x%x, got 0x%x\n", \
|
||||||
__LINE__, #x, exp, x)
|
(int)__LINE__, #x, (int)(exp), (int)(x))
|
||||||
|
|
||||||
void Test_BrushOrigin()
|
void Test_BrushOrigin()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue