[APITESTS]

Fix (R)TEST macros in gdi32_apitest,
ensures correct display and no crash report in testman.

svn path=/trunk/; revision=49182
This commit is contained in:
Sylvain Petreolle 2010-10-17 14:50:02 +00:00
parent 081e778c2d
commit 1e4af3fa18
8 changed files with 18 additions and 18 deletions

View file

@ -9,8 +9,8 @@
#include <wine/test.h>
#include <windows.h>
#define TEST(x) ok(x, #x)
#define RTEST(x) ok(x, #x)
#define TEST(x) ok(x, #x"\n")
#define RTEST(x) ok(x, #x"\n")
void Test_GetDIBits()
{

View file

@ -12,8 +12,8 @@
#include <reactos/win32k/ntgdityp.h>
#include <reactos/win32k/ntgdihdl.h>
#define TEST(x) ok(x, #x)
#define RTEST(x) ok(x, #x)
#define TEST(x) ok(x, #x"\n")
#define RTEST(x) ok(x, #x"\n")
void Test_GetStockObject()
{

View file

@ -9,8 +9,8 @@
#include <wine/test.h>
#include <windows.h>
#define TEST(x) ok(x, #x)
#define RTEST(x) ok(x, #x)
#define TEST(x) ok(x, #x"\n")
#define RTEST(x) ok(x, #x"\n")
void Test_GetTextExtentExPoint()
{

View file

@ -9,8 +9,8 @@
#include <wine/test.h>
#include <windows.h>
#define TEST(x) ok(x, #x)
#define RTEST(x) ok(x, #x)
#define TEST(x) ok(x, #x"\n")
#define RTEST(x) ok(x, #x"\n")
void Test_GetTextFace()
{

View file

@ -12,8 +12,8 @@
#include <reactos/win32k/ntgdityp.h>
#include <reactos/win32k/ntgdihdl.h>
#define TEST(x) ok(x, #x)
#define RTEST(x) ok(x, #x)
#define TEST(x) ok(x, #x"\n")
#define RTEST(x) ok(x, #x"\n")
void Test_SelectObject()
{
@ -101,7 +101,7 @@ void Test_SelectObject()
RTEST((UINT_PTR)SelectObject(hDC, hNewObj) == SIMPLEREGION); // ??? Why this?
DeleteObject(hNewObj);
// TEST(IsHandleValid(hNewObj) == TRUE);
RTEST(GetLastError() == ERROR_SUCCESS);
/* Test BITMAP */

View file

@ -9,8 +9,8 @@
#include <wine/test.h>
#include <windows.h>
#define TEST(x) ok(x, #x)
#define RTEST(x) ok(x, #x)
#define TEST(x) ok(x, #x"\n")
#define RTEST(x) ok(x, #x"\n")
void Test_SetMapMode()
{

View file

@ -9,8 +9,8 @@
#include <wine/test.h>
#include <windows.h>
#define TEST(x) ok(x, #x)
#define RTEST(x) ok(x, #x)
#define TEST(x) ok(x, #x"\n")
#define RTEST(x) ok(x, #x"\n")
#define NUM_SYSCOLORS 31

View file

@ -9,8 +9,8 @@
#include <wine/test.h>
#include <windows.h>
#define TEST(x) ok(x, #x)
#define RTEST(x) ok(x, #x)
#define TEST(x) ok(x, #x"\n")
#define RTEST(x) ok(x, #x"\n")
void Test_SetWindowExtEx()
{
@ -101,7 +101,7 @@ void Test_SetWindowExtEx()
//TEST(WindowExt.cy == 2700);
/* Values should be changed */
ret = SetWindowExtEx(hDC,
ret = SetWindowExtEx(hDC,
4 * GetDeviceCaps(GetDC(0), HORZRES),
-4 * GetDeviceCaps(GetDC(0), VERTRES),
&WindowExt);