Home
last modified time | relevance | path

Searched refs:return_if_fail (Results 1 – 25 of 41) sorted by relevance

12

/FileX-v6.2.1/test/regression_test/
Dfilex_fault_tolerant_enable_3_test.c136 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
140 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
148 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
154 return_if_fail( status == FX_IO_ERROR); in ftest_0_entry()
157 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
164 return_if_fail( status == FX_WRITE_PROTECT); in ftest_0_entry()
167 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
184 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
188 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
201 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
[all …]
Dfilex_file_create_delete_test.c135 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
139 return_if_fail( status == FX_MEDIA_NOT_OPEN); in ftest_0_entry()
143 return_if_fail( status == FX_MEDIA_NOT_OPEN); in ftest_0_entry()
147 return_if_fail( status == FX_NOT_OPEN); in ftest_0_entry()
151 return_if_fail( status == FX_NOT_OPEN); in ftest_0_entry()
155 return_if_fail( status == FX_MEDIA_NOT_OPEN); in ftest_0_entry()
159 return_if_fail( status == FX_NOT_OPEN); in ftest_0_entry()
163 return_if_fail( status == FX_MEDIA_NOT_OPEN); in ftest_0_entry()
168 return_if_fail( (status == FX_MEDIA_NOT_OPEN) || (status == FX_PTR_ERROR)); in ftest_0_entry()
172 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
[all …]
Dfilex_directory_rename_test.c131 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
135 return_if_fail( status == FX_MEDIA_NOT_OPEN); in ftest_0_entry()
139 return_if_fail( status == FX_INVALID_NAME); in ftest_0_entry()
143 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
148 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
155 return_if_fail( status == FX_WRITE_PROTECT); in ftest_0_entry()
159 return_if_fail( status != FX_SUCCESS); in ftest_0_entry()
165 return_if_fail( status == FX_NOT_DIRECTORY); in ftest_0_entry()
172 return_if_fail( status == FX_PTR_ERROR); in ftest_0_entry()
179 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
[all …]
Dfilex_fault_tolerant_enable_1_test.c135 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
142 return_if_fail( status == FX_PTR_ERROR); in ftest_0_entry()
146 return_if_fail( status == FX_PTR_ERROR); in ftest_0_entry()
153 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
156 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
174 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
179 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
182 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
200 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
206 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
[all …]
Dfilex_unicode_file_directory_rename_extra_2_test.c110 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
114 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
121 return_if_fail( status == FX_IO_ERROR); in ftest_0_entry()
126 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
144 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
148 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
155 return_if_fail( status == FX_IO_ERROR); in ftest_0_entry()
160 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
181 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
185 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
[all …]
Dfilex_file_name_test.c123 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
127 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
132 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
144 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
148 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
155 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
159 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
165 return_if_fail( memcmp(ram_disk_memory + 1024, "TEST TXT", 4) == 0); in ftest_0_entry()
169 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
173 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
[all …]
Dfilex_directory_duplicate_entries_test.c159 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
163 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
169 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
174 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
177 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
181 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
184 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
191 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
198 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
203 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
[all …]
Dfilex_file_write_seek_test.c122 return_if_fail(FX_SUCCESS == status); in ftest_0_entry()
128 return_if_fail(FX_SUCCESS == status); in ftest_0_entry()
134 return_if_fail(FX_SUCCESS == status); in ftest_0_entry()
145 return_if_fail(FX_SUCCESS == status); in ftest_0_entry()
149 return_if_fail(FX_SUCCESS == status); in ftest_0_entry()
153 return_if_fail(FX_SUCCESS == status); in ftest_0_entry()
157 return_if_fail(FX_SUCCESS == status); in ftest_0_entry()
161 return_if_fail(FX_SUCCESS == status); in ftest_0_entry()
165 return_if_fail(FX_SUCCESS == status); in ftest_0_entry()
169 return_if_fail(FX_SUCCESS == status); in ftest_0_entry()
[all …]
Dfilex_fault_tolerant_file_truncate_release_available_test.c186 return_if_fail(status == FX_SUCCESS); in ftest_0_entry()
190 return_if_fail(status == FX_SUCCESS); in ftest_0_entry()
194 return_if_fail(status == FX_SUCCESS); in ftest_0_entry()
198 return_if_fail(status == FX_SUCCESS); in ftest_0_entry()
202 return_if_fail(status == FX_SUCCESS); in ftest_0_entry()
206 return_if_fail(status == FX_SUCCESS); in ftest_0_entry()
210 return_if_fail(status == FX_SUCCESS); in ftest_0_entry()
214 return_if_fail(status == FX_SUCCESS); in ftest_0_entry()
218 return_if_fail(status == FX_SUCCESS); in ftest_0_entry()
222 return_if_fail(status == FX_SUCCESS); in ftest_0_entry()
[all …]
Dfilex_file_rename_test.c131 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
135 return_if_fail( status == FX_INVALID_NAME); in ftest_0_entry()
139 return_if_fail( status == FX_MEDIA_NOT_OPEN); in ftest_0_entry()
143 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
148 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
155 return_if_fail( status == FX_WRITE_PROTECT); in ftest_0_entry()
159 return_if_fail( status != FX_SUCCESS); in ftest_0_entry()
166 return_if_fail( status == FX_PTR_ERROR); in ftest_0_entry()
173 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
178 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
[all …]
Dfilex_fault_tolerant_enable_test.c175 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
179 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
180 return_if_fail(ram_disk.fx_media_fault_tolerant_enabled != FX_TRUE); in ftest_0_entry()
190 return_if_fail( start_cluster == 0); in ftest_0_entry()
197 return_if_fail( status == FX_MEDIA_INVALID); in ftest_0_entry()
200 return_if_fail( status == FX_NOT_ENOUGH_MEMORY); in ftest_0_entry()
205 return_if_fail( status == FX_BOOT_ERROR); in ftest_0_entry()
211 return_if_fail( status == FX_NO_MORE_SPACE); in ftest_0_entry()
217 return_if_fail( status == FX_NO_MORE_SPACE); in ftest_0_entry()
225 return_if_fail( status == FX_IO_ERROR); in ftest_0_entry()
[all …]
Dfilex_fault_tolerant_enable_2_test.c134 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
138 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
143 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
154 return_if_fail( status == FX_FILE_CORRUPT); in ftest_0_entry()
159 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
164 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
182 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
186 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
195 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
204 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
[all …]
Dfilex_fault_tolerant_log_recover_fat_test.c222 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
226 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
230 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
234 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
238 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
242 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
246 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
253 return_if_fail( (status == FX_SUCCESS) && (actual == 28)); in ftest_0_entry()
257 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
261 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
[all …]
Dfilex_media_volume_directory_entry_test.c118 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
121 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
126 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
130 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
133 return_if_fail( ( status == FX_SUCCESS) && ( 0 == strcmp( (CHAR *)name_buffer, "NO NAME"))); in ftest_0_entry()
136 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
155 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
158 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
161 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
164 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
[all …]
Dfilex_fault_tolerant_file_seek_test.c175 return_if_fail(status == FX_SUCCESS); in ftest_0_entry()
179 return_if_fail(status == FX_SUCCESS); in ftest_0_entry()
183 return_if_fail(status == FX_SUCCESS); in ftest_0_entry()
187 return_if_fail(status == FX_SUCCESS); in ftest_0_entry()
190 return_if_fail(status == FX_ALREADY_CREATED); in ftest_0_entry()
193 return_if_fail(status == FX_SUCCESS); in ftest_0_entry()
197 return_if_fail(status == FX_SUCCESS); in ftest_0_entry()
201 return_if_fail(status == FX_SUCCESS); in ftest_0_entry()
205 return_if_fail(status == FX_SUCCESS); in ftest_0_entry()
208 return_if_fail(status == FX_SUCCESS); in ftest_0_entry()
[all …]
Dfilex_media_check_test.c122 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
126 return_if_fail( status == FX_MEDIA_NOT_OPEN); in ftest_0_entry()
130 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
137 return_if_fail( status == FX_PTR_ERROR); in ftest_0_entry()
143 return_if_fail( (status == FX_SUCCESS) && (errors_detected == 0)); in ftest_0_entry()
148 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
157 return_if_fail((status == FX_SUCCESS) && in ftest_0_entry()
169 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
173 return_if_fail( status == FX_NOT_ENOUGH_MEMORY); in ftest_0_entry()
177 return_if_fail( status == FX_NOT_ENOUGH_MEMORY); in ftest_0_entry()
[all …]
Dfilex_fault_tolerant_media_full_test.c170 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
174 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
178 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
182 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
186 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
190 return_if_fail( (status == FX_SUCCESS) && (available_bytes >= sizeof(ULONG))); in ftest_0_entry()
200 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
211 return_if_fail( (status == FX_SUCCESS) && (j == 0)); in ftest_0_entry()
217 return_if_fail((status == FX_SUCCESS) && (ram_disk.fx_media_sector_cache_dirty_count == 0)); in ftest_0_entry()
224 return_if_fail(ram_disk.fx_media_sector_cache[j].fx_cached_sector_valid == 0); in ftest_0_entry()
[all …]
Dfilex_fault_tolerant_file_truncate_redo_log_interrupt_test.c202 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
206 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
222 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
229 return_if_fail( (status == FX_SUCCESS) && (actual == 28)); in ftest_0_entry()
233 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
240 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
247 return_if_fail( (status == FX_SUCCESS) && (actual == write_buffer_size)); in ftest_0_entry()
251 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
258 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
265 return_if_fail( (status == FX_SUCCESS) && (actual == 19)); in ftest_0_entry()
[all …]
Dfilex_fault_tolerant_file_random_seek_test.c197 return_if_fail(status == FX_SUCCESS); in ftest_0_entry()
201 return_if_fail(status == FX_SUCCESS); in ftest_0_entry()
205 return_if_fail(status == FX_SUCCESS); in ftest_0_entry()
209 return_if_fail(status == FX_SUCCESS); in ftest_0_entry()
212 return_if_fail(status == FX_ALREADY_CREATED); in ftest_0_entry()
215 return_if_fail(status == FX_SUCCESS); in ftest_0_entry()
219 return_if_fail(status == FX_SUCCESS); in ftest_0_entry()
236 return_if_fail(status == FX_SUCCESS); in ftest_0_entry()
242 return_if_fail(status == FX_SUCCESS); in ftest_0_entry()
245 return_if_fail(status == FX_SUCCESS); in ftest_0_entry()
[all …]
Dfilex_fault_tolerant_file_write_data_interrupt_test.c220 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
224 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
228 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
235 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
240 return_if_fail( (status == FX_SUCCESS) && (actual == 28)); in ftest_0_entry()
244 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
249 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
266 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
271 return_if_fail( (status == FX_SUCCESS) && (actual == data_size)); in ftest_0_entry()
275 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
[all …]
Dfilex_file_write_available_cluster_test.c148 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
155 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
161 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
165 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
182 return_if_fail( total_clusters == ram_disk.fx_media_available_clusters + used_clusters); in ftest_0_entry()
195 return_if_fail( status == FX_IO_ERROR); in ftest_0_entry()
201 return_if_fail( status == FX_IO_ERROR); in ftest_0_entry()
207 return_if_fail( status == FX_IO_ERROR); in ftest_0_entry()
213 return_if_fail( status == FX_IO_ERROR); in ftest_0_entry()
220 return_if_fail( status == FX_IO_ERROR); in ftest_0_entry()
[all …]
Dfilex_directory_local_path_test.c598 return_if_fail(status == FX_SUCCESS); in ftest_0_entry()
615 return_if_fail(status == FX_SUCCESS); in ftest_0_entry()
619 return_if_fail(status == FX_MEDIA_NOT_OPEN); in ftest_0_entry()
623 return_if_fail(status == FX_SUCCESS); in ftest_0_entry()
627 return_if_fail(status == FX_SUCCESS); in ftest_0_entry()
630 return_if_fail(status == FX_SUCCESS); in ftest_0_entry()
634 return_if_fail(status == FX_SUCCESS); in ftest_0_entry()
760 return_if_fail(fx_directory_local_path_set(&ram_disk, &root_path, "/") == FX_SUCCESS); in last_character_compare_test()
761 return_if_fail(fx_directory_create(&ram_disk, "test_1") == FX_SUCCESS); in last_character_compare_test()
762 return_if_fail(fx_directory_create(&ram_disk, "test_2") == FX_SUCCESS); in last_character_compare_test()
[all …]
Dfilex_fault_tolerant_file_corruption_test.c129 return_if_fail(status == FX_SUCCESS); in test_application_define()
152 return_if_fail(status == FX_SUCCESS); in ftest_0_entry()
157 return_if_fail(status == FX_SUCCESS); in ftest_0_entry()
182 return_if_fail(status == FX_NOT_FOUND); in ftest_0_entry()
186 return_if_fail(status == FX_SUCCESS); in ftest_0_entry()
202 return_if_fail(first_boot == FX_TRUE); in ftest_0_entry()
210 return_if_fail(first_boot == FX_TRUE); in ftest_0_entry()
215 return_if_fail(status == FX_SUCCESS); in ftest_0_entry()
226 return_if_fail(status == FX_NOT_FOUND); in ftest_0_entry()
230 return_if_fail(status == FX_SUCCESS); in ftest_0_entry()
[all …]
Dfilex_fault_tolerant_recover_fail_test.c148 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
153 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
160 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
165 return_if_fail( (status == FX_SUCCESS) && (actual == 28)); in ftest_0_entry()
169 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
174 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
180 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
185 return_if_fail( (status == FX_SUCCESS) && (actual == data_size)); in ftest_0_entry()
189 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
214 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
[all …]
Dfilex_directory_create_delete_test.c207 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
211 return_if_fail( status == FX_MEDIA_NOT_OPEN); in ftest_0_entry()
215 return_if_fail( status == FX_MEDIA_NOT_OPEN); in ftest_0_entry()
219 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
225 return_if_fail( status == FX_SUCCESS); in ftest_0_entry()
233 return_if_fail( status == FX_PTR_ERROR); in ftest_0_entry()
237 return_if_fail( status == FX_PTR_ERROR); in ftest_0_entry()
243 return_if_fail( status == FX_INVALID_NAME); in ftest_0_entry()
247 return_if_fail( status == FX_INVALID_PATH); in ftest_0_entry()
252 return_if_fail( status == FX_WRITE_PROTECT); in ftest_0_entry()
[all …]

12