Author: tkreuzer
Date: Mon Jun 16 08:27:39 2008
New Revision: 33993
URL:
http://svn.reactos.org/svn/reactos?rev=33993&view=rev
Log:
TEST -> RTEST as these succeed on ros now
Modified:
trunk/rostests/apitests/gdi32api/tests/CreateCompatibleDC.c
Modified: trunk/rostests/apitests/gdi32api/tests/CreateCompatibleDC.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/gdi32api/tests/C…
==============================================================================
--- trunk/rostests/apitests/gdi32api/tests/CreateCompatibleDC.c [iso-8859-1] (original)
+++ trunk/rostests/apitests/gdi32api/tests/CreateCompatibleDC.c [iso-8859-1] Mon Jun 16
08:27:39 2008
@@ -10,26 +10,26 @@
/* Test NULL DC handle */
SetLastError(ERROR_SUCCESS);
hDC = CreateCompatibleDC(NULL);
- TEST(hDC != NULL);
- TEST(GetLastError() == ERROR_SUCCESS);
+ RTEST(hDC != NULL);
+ RTEST(GetLastError() == ERROR_SUCCESS);
if(hDC) DeleteDC(hDC);
/* Test invalid DC handle */
SetLastError(ERROR_SUCCESS);
hDC = CreateCompatibleDC((HDC)0x123456);
- TEST(hDC == NULL);
- TEST(GetLastError() == ERROR_SUCCESS);
+ RTEST(hDC == NULL);
+ RTEST(GetLastError() == ERROR_SUCCESS);
if(hDC) DeleteDC(hDC);
hDC = CreateCompatibleDC(hDCScreen);
RTEST(hDC != NULL);
// Test if first selected pen is BLACK_PEN (? or same as screen DC's pen?)
- TEST(SelectObject(hDC, GetStockObject(DC_PEN)) == GetStockObject(BLACK_PEN));
- TEST(SelectObject(hDC, GetStockObject(BLACK_PEN)) == GetStockObject(DC_PEN));
+ RTEST(SelectObject(hDC, GetStockObject(DC_PEN)) == GetStockObject(BLACK_PEN));
+ RTEST(SelectObject(hDC, GetStockObject(BLACK_PEN)) == GetStockObject(DC_PEN));
// Test for the starting Color == RGB(0,0,0)
- TEST(SetDCPenColor(hDC, RGB(1,2,3)) == RGB(0,0,0));
+ RTEST(SetDCPenColor(hDC, RGB(1,2,3)) == RGB(0,0,0));
// Check for reuse counter
hOldDC = hDC;