ReactOS 0.4.16-dev-329-g9223134
|
#include <stdio.h>
#include <windows.h>
#include <objidl.h>
#include <msi.h>
#include <msidefs.h>
#include <msiquery.h>
#include "wine/test.h"
#include "utils.h"
Go to the source code of this file.
Macros | |
#define | COBJMACROS |
#define | check_record(rec, ...) check_record_(__LINE__, rec, __VA_ARGS__) |
#define | add_component_entry(hdb, values) |
#define | add_custom_action_entry(hdb, values) |
#define | add_feature_components_entry(hdb, values) |
#define | add_std_dlls_entry(hdb, values) |
#define | add_binary_entry(hdb, values) |
#define | MY_NVIEWS 4000 /* Largest installer I've seen uses < 2000 */ |
Variables | |
static const char * | msifile = "winetest-db.msi" |
static const char * | msifile2 = "winetst2-db.msi" |
static const char * | mstfile = "winetst-db.mst" |
static const WCHAR | msifileW [] = L"winetest-db.msi" |
static const WCHAR | msifile2W [] = L"winetst2-db.msi" |
static const CHAR | test_data [] |
static const CHAR | two_primary [] |
static const CHAR | endlines1 [] |
static const CHAR | endlines2 [] |
static const CHAR | suminfo [] |
static const CHAR | bin_import_dat [] |
static const WCHAR | name1 [] = { 0x4840, 0x3a8a, 0x481b, 0 } |
static const WCHAR | name2 [] = { 0x4840, 0x3b3f, 0x43f2, 0x4438, 0x45b1, 0 } |
static const WCHAR | name3 [] = { 0x4840, 0x3f7f, 0x4164, 0x422f, 0x4836, 0 } |
static const WCHAR | name4 [] = { 0x4840, 0x3f3f, 0x4577, 0x446c, 0x3b6a, 0x45e4, 0x4824, 0 } |
static const WCHAR | name5 [] = { 0x4840, 0x3f3f, 0x4577, 0x446c, 0x3e6a, 0x44b2, 0x482f, 0 } |
static const WCHAR | name6 [] = { 0x4840, 0x3e16, 0x4818, 0} |
static const WCHAR | name7 [] = { 0x4840, 0x3c8b, 0x3a97, 0x409b, 0 } |
static const WCHAR | name8 [] = { 0x3c8b, 0x3a97, 0x409b, 0x387e, 0 } |
static const WCHAR | name9 [] = { 0x4840, 0x4559, 0x44f2, 0x4568, 0x4737, 0 } |
static const WCHAR | data1 [] |
static const WCHAR | data2 [] |
static const WCHAR | data3 [] |
static const char | data4 [] |
static const WCHAR | data5 [] |
static const WCHAR | data6 [] |
static const WCHAR | data7 [] |
static const char | data8 [] |
static const WCHAR | data9 [] |
struct { | |
LPCWSTR name | |
const void * data | |
DWORD size | |
} | table_transform_data [] |
static const char * | join_res_first [][2] |
static const char * | join_res_second [][2] |
static const char * | join_res_third [][2] |
static const char * | join_res_fourth [][2] |
static const char * | join_res_fifth [][2] |
static const char * | join_res_sixth [][2] |
static const char * | join_res_seventh [][2] |
static const char * | join_res_eighth [][4] |
static const char * | join_res_ninth [][6] |
static const WCHAR | data10 [] |
static const WCHAR | data11 [] |
static const char | data12 [] |
static const WCHAR | data13 [] |
static const WCHAR | _Tables [] = {0x4840, 0x3f7f, 0x4164, 0x422f, 0x4836, 0} |
static const WCHAR | _StringData [] = {0x4840, 0x3f3f, 0x4577, 0x446c, 0x3b6a, 0x45e4, 0x4824, 0} |
static const WCHAR | _StringPool [] = {0x4840, 0x3f3f, 0x4577, 0x446c, 0x3e6a, 0x44b2, 0x482f, 0} |
static const WCHAR | data14 [] |
struct { | |
LPCWSTR name | |
const void * data | |
DWORD size | |
} | database_table_data [] |
static const CHAR | import_dat [] |
static const UINT | ordervals [6][3] |
#define check_record | ( | rec, | |
... | |||
) | check_record_(__LINE__, rec, __VA_ARGS__) |
|
inlinestatic |
Definition at line 305 of file db.c.
Definition at line 2194 of file db.c.
Referenced by test_msiimport(), and test_suminfo_import().
Definition at line 40 of file db.c.
Definition at line 294 of file db.c.
Referenced by test_join().
Definition at line 232 of file db.c.
Referenced by test_join().
Definition at line 247 of file db.c.
Referenced by test_dbtopackage().
Definition at line 1148 of file db.c.
Referenced by test_alter(), test_columnorder(), test_createtable(), test_getcolinfo(), test_handle_limit(), test_insertorder(), test_join(), test_markers(), test_order(), test_primary_keys(), test_select_markers(), test_select_with_tablenames(), test_storages_table(), test_streamtable(), test_temporary_table(), test_view_get_error(), test_viewgetcolumninfo(), test_viewmodify_insert(), test_viewmodify_merge(), test_where(), and test_where_not_in_selected().
Definition at line 260 of file db.c.
Referenced by create_package_db(), and test_dbtopackage().
Definition at line 272 of file db.c.
Referenced by test_join().
Definition at line 3002 of file db.c.
Definition at line 283 of file db.c.
Referenced by test_join().
Definition at line 7044 of file db.c.
Definition at line 191 of file db.c.
Referenced by test_alter(), test_binary(), test_binary_import(), test_columnorder(), test_dbmerge(), test_droptable(), test_embedded_nulls(), test_integers(), test_msiimport(), test_msiinsert(), test_temporary_table(), test_try_transform(), and test_where().
Definition at line 5845 of file db.c.
Referenced by test_defaultdatabase().
Definition at line 2743 of file db.c.
Referenced by test_try_transform().
Definition at line 2917 of file db.c.
Referenced by test_try_transform().
|
static |
Definition at line 1219 of file db.c.
Referenced by test_storages_table(), test_streamtable(), and test_viewgetcolumninfo().
Definition at line 1238 of file db.c.
Referenced by test_viewgetcolumninfo().
Definition at line 3026 of file db.c.
Referenced by test_try_transform().
Definition at line 6753 of file db.c.
Referenced by test_embedded_nulls(), and test_forcecodepage().
Definition at line 216 of file db.c.
Referenced by test_collation().
Definition at line 2958 of file db.c.
Referenced by create_package_db(), and test_dbtopackage().
START_TEST | ( | db | ) |
Definition at line 9368 of file db.c.
Definition at line 3928 of file db.c.
Referenced by START_TEST().
Definition at line 1813 of file db.c.
Referenced by START_TEST().
Definition at line 2468 of file db.c.
Referenced by START_TEST().
Definition at line 6447 of file db.c.
Referenced by START_TEST().
Definition at line 4755 of file db.c.
Referenced by START_TEST().
Definition at line 8266 of file db.c.
Referenced by START_TEST().
Definition at line 8441 of file db.c.
Referenced by START_TEST().
Definition at line 7490 of file db.c.
Referenced by START_TEST().
Definition at line 7194 of file db.c.
Referenced by START_TEST().
Definition at line 5903 of file db.c.
Referenced by START_TEST().
Definition at line 6295 of file db.c.
Referenced by START_TEST().
Definition at line 7320 of file db.c.
Referenced by START_TEST().
Definition at line 8539 of file db.c.
Referenced by START_TEST().
Definition at line 6764 of file db.c.
Referenced by START_TEST().
Definition at line 1167 of file db.c.
Referenced by START_TEST().
Definition at line 2704 of file db.c.
Referenced by START_TEST().
Definition at line 8130 of file db.c.
Referenced by START_TEST().
Definition at line 4125 of file db.c.