ReactOS 0.4.15-dev-6054-gbddd8b0
|
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include <windows.h>
Go to the source code of this file.
Macros | |
#define | ok(value, ...) |
#define | ok_(x1, x2) atltest_set_location(x1,x2); atltest_ok |
#define | skip(...) |
#define | trace printf |
#define | START_TEST(x) |
#define | ok_hex(expression, result) |
#define | ok_dec(expression, result) |
#define | ok_ptr(expression, result) |
#define | ok_size_t(expression, result) |
#define | ok_char(expression, result) ok_hex(expression, result) |
#define | ok_err(error) ok(GetLastError() == (error), "Wrong last error. Expected " #error ", got 0x%lx\n", GetLastError()) |
#define | ok_str(x, y) ok(strcmp(x, y) == 0, "Wrong string. Expected '%s', got '%s'\n", y, x) |
#define | ok_wstr(x, y) ok(wcscmp(x, y) == 0, "Wrong string. Expected '%S', got '%S'\n", y, x) |
#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 |
Functions | |
void | atltest_set_location (const char *file, int line) |
void | atltest_ok (int value, const char *fmt,...) |
void | atltest_skip (const char *fmt,...) |
static void | atltest_start_test (void) |
int | main (void) |
char * | wine_dbgstr_w (const wchar_t *wstr) |
Variables | |
int | g_atltest_executed = 0 |
int | g_atltest_failed = 0 |
int | g_atltest_skipped = 0 |
const char * | g_atltest_file = NULL |
int | g_atltest_line = 0 |
const char * | g_atltest_name |
#define ok_ | ( | x1, | |
x2 | |||
) | atltest_set_location(x1,x2); atltest_ok |
#define ok_err | ( | error | ) | ok(GetLastError() == (error), "Wrong last error. Expected " #error ", got 0x%lx\n", GetLastError()) |
#define skip | ( | ... | ) |
Definition at line 32 of file atltest.h.
int g_atltest_executed = 0 |
Definition at line 19 of file atltest.h.
Referenced by atltest_ok(), and main().
int g_atltest_failed = 0 |
Definition at line 20 of file atltest.h.
Referenced by atltest_ok(), and main().
Definition at line 23 of file atltest.h.
Referenced by atltest_ok(), atltest_set_location(), and atltest_skip().
int g_atltest_line = 0 |
Definition at line 24 of file atltest.h.
Referenced by atltest_ok(), atltest_set_location(), and atltest_skip().
int g_atltest_skipped = 0 |
Definition at line 21 of file atltest.h.
Referenced by atltest_skip(), and main().