mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user