mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 06:26:00 +00:00
[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:
parent
081e778c2d
commit
1e4af3fa18
8 changed files with 18 additions and 18 deletions
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue