27#define lok ok_(file,line)
28#define KEY_WINE "Software\\Wine"
29#define KEY_BASE KEY_WINE "\\reg_test"
30#define REG_EXIT_SUCCESS 0
31#define REG_EXIT_FAILURE 1
33#define TODO_REG_TYPE (0x0001u)
34#define TODO_REG_SIZE (0x0002u)
35#define TODO_REG_DATA (0x0004u)
36#define TODO_REG_COMPARE (0x0008u)
39#define run_reg_exe(c,r) run_reg_exe_(__FILE__,__LINE__,c,r)
42#define verify_reg(k,v,t,d,s,todo) verify_reg_(__FILE__,__LINE__,k,v,t,d,s,todo)
46#define verify_reg_nonexist(k,v) verify_reg_nonexist_(__FILE__,__LINE__,k,v)
49#define open_key(r,p,s,k) open_key_(__FILE__,__LINE__,r,p,s,k)
52#define close_key(k) close_key_(__FILE__,__LINE__,k)
55#define verify_key(r,p,s) verify_key_(__FILE__,__LINE__,r,p,s)
58#define verify_key_nonexist(r,p,s) verify_key_nonexist_(__FILE__,__LINE__,r,p,s)
61#define add_key(r,p,s,k) add_key_(__FILE__,__LINE__,r,p,s,k)
64#define delete_key(r,p,s) delete_key_(__FILE__,__LINE__,r,p,s)
67#define delete_tree(r,p,s) delete_tree_(__FILE__,__LINE__,r,p,s)
70#define add_value(k,n,t,d,s) add_value_(__FILE__,__LINE__,k,n,t,d,s)
74#define delete_value(k,n) delete_value_(__FILE__,__LINE__,k,n)
78#define compare_export(f,e,todo) compare_export_(__FILE__,__LINE__,f,e,todo)
97#define delete_file(f) delete_file_(__FILE__,__LINE__,f)
100#define test_import_str(c,r) import_reg(__FILE__,__LINE__,c,FALSE,r)
101#define test_import_wstr(c,r) import_reg(__FILE__,__LINE__,c,TRUE,r)
GLuint GLuint GLsizei GLenum type
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
static const char * contents
const char * empty_hex_test2
const char * hex_types_test
const char * complex_data_test
void delete_key_(const char *file, unsigned line, HKEY root, const char *path, REGSAM sam)
void delete_value_(const char *file, unsigned line, HKEY hkey, const char *name)
const char * escaped_null_test
const char * key_order_test
BOOL run_reg_exe_(const char *file, unsigned line, const char *cmd, DWORD *rc)
LONG delete_tree_(const char *file, unsigned line, HKEY root, const char *path, REGSAM sam)
const char * slashes_test
void add_value_(const char *file, unsigned line, HKEY hkey, const char *name, DWORD type, const void *data, size_t size)
void open_key_(const char *file, unsigned line, HKEY root, const char *path, REGSAM sam, HKEY *hkey)
BOOL compare_export_(const char *file, unsigned line, const char *filename, const char *expected, DWORD todo)
const char * embedded_null_test
const char * simple_data_test
BOOL is_elevated_process(void)
const char * registry_view_test
void verify_reg_(const char *file, unsigned line, HKEY hkey, const char *value, DWORD exp_type, const void *exp_data, DWORD exp_size, DWORD todo)
const char * value_order_test
BOOL delete_file_(const char *file, unsigned line, const char *fname)
BOOL import_reg(const char *file, unsigned line, const char *contents, BOOL unicode, DWORD *rc)
void verify_key_nonexist_(const char *file, unsigned line, HKEY root, const char *path, REGSAM sam)
const char * empty_hex_test
void verify_reg_nonexist_(const char *file, unsigned line, HKEY hkey, const char *value)
const char * empty_key_test
void add_key_(const char *file, unsigned line, const HKEY root, const char *path, REGSAM sam, HKEY *hkey)
void verify_key_(const char *file, unsigned line, HKEY root, const char *path, REGSAM sam)
void close_key_(const char *file, unsigned line, HKEY hkey)
struct ChNotifyTest * exp_data