Author: tkreuzer
Date: Fri May 4 19:06:15 2012
New Revision: 56500
URL:
http://svn.reactos.org/svn/reactos?rev=56500&view=rev
Log:
[TESTS]
Add missing definition
Modified:
trunk/reactos/include/reactos/wine/test.h
Modified: trunk/reactos/include/reactos/wine/test.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/wine/test.…
==============================================================================
--- trunk/reactos/include/reactos/wine/test.h [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/wine/test.h [iso-8859-1] Fri May 4 19:06:15 2012
@@ -639,6 +639,13 @@
#expression, (int)(result), _value); \
}
+#define ok_ptr(expression, result) \
+ { \
+ void *_value = (expression); \
+ ok(_value == (result), "Wrong value for '%s', expected: "
#result " (%p), got: %p\n", \
+ #expression, (void*)(result), _value); \
+ }
+
#define ok_err(error) \
ok(GetLastError() == (error), "Wrong last error. Expected " #error ",
got %d\n", (int)GetLastError())
@@ -648,5 +655,6 @@
#define ok_long(expression, result) ok_hex(expression, result)
#define ok_int(expression, result) ok_dec(expression, result)
#define ok_ntstatus(status, expected) ok_hex(status, expected)
+#define ok_hdl ok_ptr
#endif /* __WINE_WINE_TEST_H */