ReactOS 0.4.15-dev-8621-g4b051b9
|
#include <stdio.h>
#include <windows.h>
#include <objidl.h>
#include <msi.h>
#include <msidefs.h>
#include <msiquery.h>
#include "wine/test.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 | create_file(name) create_file_data(name, name, 0) |
#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 CHAR | CURR_DIR [MAX_PATH] |
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 320 of file db.c.
Definition at line 2234 of file db.c.
Referenced by test_msiimport(), and test_suminfo_import().
Definition at line 39 of file db.c.
Definition at line 309 of file db.c.
Referenced by test_join().
Definition at line 247 of file db.c.
Referenced by test_join().
Definition at line 262 of file db.c.
Referenced by test_dbtopackage().
Definition at line 1163 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 275 of file db.c.
Referenced by create_package_db(), and test_dbtopackage().
Definition at line 287 of file db.c.
Referenced by test_join().
Definition at line 1505 of file db.c.
Referenced by test_binary_import(), test_dbmerge(), and test_forcecodepage().
Definition at line 3042 of file db.c.
Definition at line 298 of file db.c.
Referenced by test_join().
Definition at line 7084 of file db.c.
Definition at line 190 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 5885 of file db.c.
Referenced by test_defaultdatabase().
Definition at line 2783 of file db.c.
Referenced by test_try_transform().
Definition at line 2957 of file db.c.
Referenced by test_try_transform().
|
static |
Definition at line 1234 of file db.c.
Referenced by test_storages_table(), test_streamtable(), and test_viewgetcolumninfo().
Definition at line 1253 of file db.c.
Referenced by test_viewgetcolumninfo().
Definition at line 3066 of file db.c.
Referenced by test_try_transform().
Definition at line 215 of file db.c.
Referenced by add_entry(), create_binary_table(), create_component_table(), create_custom_action_table(), create_directory_table(), create_feature_components_table(), create_std_dlls_table(), generate_transform(), test_alter(), test_binary(), test_carriagereturn(), test_collation(), test_columnorder(), test_dbmerge(), test_deleterow(), test_droptable(), test_forcecodepage(), test_insertorder(), test_join(), test_markers(), test_noquotes(), test_order(), test_primary_keys(), test_quotes(), test_rows_order(), test_select_markers(), test_select_with_tablenames(), test_special_tables(), test_streamtable(), test_stringtable(), test_tables_order(), test_temporary_table(), test_try_transform(), test_update(), test_view_get_error(), test_viewfetch_wraparound(), test_viewgetcolumninfo(), test_viewmodify(), test_viewmodify_assign(), test_viewmodify_delete(), test_viewmodify_delete_temporary(), test_viewmodify_insert(), test_viewmodify_merge(), test_viewmodify_refresh(), test_viewmodify_update(), test_where(), test_where_not_in_selected(), and test_where_viewmodify().
Definition at line 231 of file db.c.
Referenced by test_collation().
Definition at line 2998 of file db.c.
Referenced by create_package_db(), and test_dbtopackage().
START_TEST | ( | db | ) |
Definition at line 9379 of file db.c.
Definition at line 3968 of file db.c.
Referenced by START_TEST().
Definition at line 1851 of file db.c.
Referenced by START_TEST().
Definition at line 2508 of file db.c.
Referenced by START_TEST().
Definition at line 6487 of file db.c.
Referenced by START_TEST().
Definition at line 4795 of file db.c.
Referenced by START_TEST().
Definition at line 8307 of file db.c.
Referenced by START_TEST().
Definition at line 8482 of file db.c.
Referenced by START_TEST().
Definition at line 7530 of file db.c.
Referenced by START_TEST().
Definition at line 7234 of file db.c.
Referenced by START_TEST().
Definition at line 5943 of file db.c.
Referenced by START_TEST().
Definition at line 6335 of file db.c.
Referenced by START_TEST().
Definition at line 7360 of file db.c.
Referenced by START_TEST().
Definition at line 8580 of file db.c.
Referenced by START_TEST().
Definition at line 6804 of file db.c.
Referenced by START_TEST().
Definition at line 1182 of file db.c.
Referenced by START_TEST().
Definition at line 2744 of file db.c.
Referenced by START_TEST().
Definition at line 8171 of file db.c.
Referenced by START_TEST().
Definition at line 4165 of file db.c.