96 {
97
102
103
105 boost::filesystem::path storage_folder = tests_folder;
106 storage_folder /= "storages";
107
108
110
113 bool res = epee::StorageNamed::load_struct_from_storage_file(
t2, (storage_folder /+
"valid_storage.bin").
string());
115
116 LOG_PRINT_L0(
"Comparing generated and loaded test struct...");
118 return false;
119
122 res = epee::StorageNamed::load_struct_from_storage_file(
t3, (storage_folder /+
"invalid_storage_1.bin").
string());
124
125
127 res = epee::StorageNamed::load_struct_from_storage_file(
t3, (storage_folder /+
"invalid_storage_2.bin").
string());
129
131 res = epee::StorageNamed::load_struct_from_storage_file(
t3, (storage_folder /+
"invalid_storage_3.bin").
string());
133
135 res = epee::StorageNamed::load_struct_from_storage_file(
t3, (storage_folder /+
"invalid_storage_4.bin").
string());
137
138 return true;
139 }
bool get_value(const std::string &value_name, t_value &val, hsection hparent_section)
hsection open_section(const std::string §ion_name, hsection hparent_section, bool create_if_notexist=false)
#define CHECK_AND_ASSERT_MES(expr, fail_ret_val, message)
test_struct get_test_struct()
unsigned __int64 uint64_t