]> Kevux Git Server - fll/commitdiff
Cleanup: Existing unit tests, adjust status check behavior.
authorKevin Day <thekevinday@gmail.com>
Tue, 24 May 2022 04:31:37 +0000 (23:31 -0500)
committerKevin Day <thekevinday@gmail.com>
Tue, 24 May 2022 04:38:37 +0000 (23:38 -0500)
I was lazy with the previous behavior and always cleared the error bits when performing the comparison checks.
Change the behavior to properly check the status code for when the error bit is expected and when it is not.

174 files changed:
level_0/f_account/tests/unit/c/test-account-by_id.c
level_0/f_account/tests/unit/c/test-account-by_name.c
level_0/f_account/tests/unit/c/test-account-group_id_by_name.c
level_0/f_account/tests/unit/c/test-account-group_name_by_id.c
level_0/f_account/tests/unit/c/test-account-id_by_name.c
level_0/f_account/tests/unit/c/test-account-name_by_id.c
level_0/f_capability/tests/unit/c/test-capability-ambient_get.c
level_0/f_capability/tests/unit/c/test-capability-ambient_reset.c
level_0/f_capability/tests/unit/c/test-capability-ambient_set.c
level_0/f_capability/tests/unit/c/test-capability-clear.c
level_0/f_capability/tests/unit/c/test-capability-clear_flag.c
level_0/f_capability/tests/unit/c/test-capability-compare.c
level_0/f_capability/tests/unit/c/test-capability-copy.c
level_0/f_capability/tests/unit/c/test-capability-copy_external.c
level_0/f_capability/tests/unit/c/test-capability-copy_internal.c
level_0/f_capability/tests/unit/c/test-capability-delete.c
level_0/f_capability/tests/unit/c/test-capability-file_descriptor_get.c
level_0/f_capability/tests/unit/c/test-capability-file_descriptor_set.c
level_0/f_capability/tests/unit/c/test-capability-file_get.c
level_0/f_capability/tests/unit/c/test-capability-file_set.c
level_0/f_capability/tests/unit/c/test-capability-flag_get.c
level_0/f_capability/tests/unit/c/test-capability-flag_set.c
level_0/f_capability/tests/unit/c/test-capability-from_name.c
level_0/f_capability/tests/unit/c/test-capability-from_text.c
level_0/f_capability/tests/unit/c/test-capability-groups_set.c
level_0/f_capability/tests/unit/c/test-capability-initialize.c
level_0/f_capability/tests/unit/c/test-capability-mode_get.c
level_0/f_capability/tests/unit/c/test-capability-mode_get_name.c
level_0/f_capability/tests/unit/c/test-capability-mode_set.c
level_0/f_capability/tests/unit/c/test-capability-owner_get.c
level_0/f_capability/tests/unit/c/test-capability-owner_set.c
level_0/f_capability/tests/unit/c/test-capability-process_bound_drop.c
level_0/f_capability/tests/unit/c/test-capability-process_bound_get.c
level_0/f_capability/tests/unit/c/test-capability-process_get.c
level_0/f_capability/tests/unit/c/test-capability-process_get_by_id.c
level_0/f_capability/tests/unit/c/test-capability-process_set.c
level_0/f_capability/tests/unit/c/test-capability-security_bits_get.c
level_0/f_capability/tests/unit/c/test-capability-security_bits_set.c
level_0/f_capability/tests/unit/c/test-capability-size.c
level_0/f_capability/tests/unit/c/test-capability-to_name.c
level_0/f_capability/tests/unit/c/test-capability-to_text.c
level_0/f_capability/tests/unit/c/test-capability-user_set.c
level_0/f_color/tests/unit/c/test-color-context_delete.c
level_0/f_color/tests/unit/c/test-color-context_destroy.c
level_0/f_color/tests/unit/c/test-color-load_context.c
level_0/f_color/tests/unit/c/test-color-save_1.c
level_0/f_color/tests/unit/c/test-color-save_2.c
level_0/f_color/tests/unit/c/test-color-save_3.c
level_0/f_color/tests/unit/c/test-color-save_4.c
level_0/f_color/tests/unit/c/test-color-save_5.c
level_0/f_console/tests/unit/c/test-console-environment_process.c
level_0/f_console/tests/unit/c/test-console-identify.c
level_0/f_console/tests/unit/c/test-console-parameter_prioritize_left.c
level_0/f_console/tests/unit/c/test-console-parameter_prioritize_right.c
level_0/f_console/tests/unit/c/test-console-parameter_process.c
level_0/f_console/tests/unit/c/test-console-parameters_delete.c
level_0/f_console/tests/unit/c/test-console-parameters_destroy.c
level_0/f_control_group/tests/unit/c/test-control_group-copy.c
level_0/f_conversion/tests/unit/c/test-conversion-character_to_binary.c
level_0/f_conversion/tests/unit/c/test-conversion-character_to_decimal.c
level_0/f_conversion/tests/unit/c/test-conversion-character_to_duodecimal.c
level_0/f_conversion/tests/unit/c/test-conversion-character_to_hexidecimal.c
level_0/f_conversion/tests/unit/c/test-conversion-character_to_octal.c
level_0/f_conversion/tests/unit/c/test-conversion-number_signed_print.c
level_0/f_conversion/tests/unit/c/test-conversion-number_signed_to_string.c
level_0/f_conversion/tests/unit/c/test-conversion-number_unsigned_print.c
level_0/f_conversion/tests/unit/c/test-conversion-number_unsigned_to_string.c
level_0/f_directory/tests/unit/c/test-directory-create.c
level_0/f_directory/tests/unit/c/test-directory-create_at.c
level_0/f_directory/tests/unit/c/test-directory-exists.c
level_0/f_directory/tests/unit/c/test-directory-exists_at.c
level_0/f_directory/tests/unit/c/test-directory-is.c
level_0/f_directory/tests/unit/c/test-directory-is_at.c
level_0/f_directory/tests/unit/c/test-directory-list.c
level_0/f_directory/tests/unit/c/test-directory-open.c
level_0/f_directory/tests/unit/c/test-directory-open_at.c
level_0/f_directory/tests/unit/c/test-directory-remove.c
level_0/f_directory/tests/unit/c/test-directory-remove_custom.c
level_0/f_directory/tests/unit/c/test-directory-touch.c
level_0/f_directory/tests/unit/c/test-directory-touch_at.c
level_0/f_environment/tests/unit/c/test-environment-get.c
level_0/f_environment/tests/unit/c/test-environment-secure_is.c
level_0/f_environment/tests/unit/c/test-environment-set.c
level_0/f_environment/tests/unit/c/test-environment-unset.c
level_0/f_file/tests/unit/c/test-file-clone.c
level_0/f_file/tests/unit/c/test-file-close.c
level_0/f_file/tests/unit/c/test-file-close_flush.c
level_0/f_file/tests/unit/c/test-file-copy.c
level_0/f_file/tests/unit/c/test-file-create.c
level_0/f_file/tests/unit/c/test-file-create_at.c
level_0/f_file/tests/unit/c/test-file-create_device.c
level_0/f_file/tests/unit/c/test-file-create_device_at.c
level_0/f_file/tests/unit/c/test-file-create_fifo.c
level_0/f_file/tests/unit/c/test-file-create_fifo_at.c
level_0/f_file/tests/unit/c/test-file-create_node.c
level_0/f_file/tests/unit/c/test-file-create_node_at.c
level_0/f_file/tests/unit/c/test-file-descriptor.c
level_0/f_file/tests/unit/c/test-file-exists.c
level_0/f_file/tests/unit/c/test-file-exists_at.c
level_0/f_file/tests/unit/c/test-file-flush.c
level_0/f_file/tests/unit/c/test-file-group_read.c
level_0/f_file/tests/unit/c/test-file-is.c
level_0/f_file/tests/unit/c/test-file-is_at.c
level_0/f_file/tests/unit/c/test-file-link.c
level_0/f_file/tests/unit/c/test-file-link_at.c
level_0/f_file/tests/unit/c/test-file-link_hard.c
level_0/f_file/tests/unit/c/test-file-link_hard_at.c
level_0/f_file/tests/unit/c/test-file-link_read.c
level_0/f_file/tests/unit/c/test-file-link_read_at.c
level_0/f_file/tests/unit/c/test-file-mode_determine.c
level_0/f_file/tests/unit/c/test-file-mode_from_string.c
level_0/f_file/tests/unit/c/test-file-mode_read.c
level_0/f_file/tests/unit/c/test-file-mode_read_at.c
level_0/f_file/tests/unit/c/test-file-mode_set.c
level_0/f_file/tests/unit/c/test-file-mode_set_at.c
level_0/f_file/tests/unit/c/test-file-mode_to_mode.c
level_0/f_file/tests/unit/c/test-file-name_base.c
level_0/f_file/tests/unit/c/test-file-name_directory.c
level_0/f_file/tests/unit/c/test-file-open.c
level_0/f_file/tests/unit/c/test-file-open_at.c
level_0/f_file/tests/unit/c/test-file-owner_read.c
level_0/f_file/tests/unit/c/test-file-read.c
level_0/f_file/tests/unit/c/test-file-read_block.c
level_0/f_file/tests/unit/c/test-file-read_until.c
level_0/f_file/tests/unit/c/test-file-remove.c
level_0/f_file/tests/unit/c/test-file-remove_at.c
level_0/f_file/tests/unit/c/test-file-rename.c
level_0/f_file/tests/unit/c/test-file-rename_at.c
level_0/f_file/tests/unit/c/test-file-seek.c
level_0/f_file/tests/unit/c/test-file-size.c
level_0/f_file/tests/unit/c/test-file-size_at.c
level_0/f_file/tests/unit/c/test-file-size_by_id.c
level_0/f_file/tests/unit/c/test-file-stat.c
level_0/f_file/tests/unit/c/test-file-stat_at.c
level_0/f_file/tests/unit/c/test-file-stat_by_id.c
level_0/f_file/tests/unit/c/test-file-stream_close.c
level_0/f_file/tests/unit/c/test-file-stream_open.c
level_0/f_file/tests/unit/c/test-file-stream_open_descriptor.c
level_0/f_file/tests/unit/c/test-file-stream_read.c
level_0/f_file/tests/unit/c/test-file-stream_read_block.c
level_0/f_file/tests/unit/c/test-file-stream_read_until.c
level_0/f_file/tests/unit/c/test-file-stream_reopen.c
level_0/f_file/tests/unit/c/test-file-stream_write.c
level_0/f_file/tests/unit/c/test-file-stream_write_block.c
level_0/f_file/tests/unit/c/test-file-stream_write_range.c
level_0/f_file/tests/unit/c/test-file-stream_write_until.c
level_0/f_file/tests/unit/c/test-file-touch.c
level_0/f_file/tests/unit/c/test-file-touch_at.c
level_0/f_file/tests/unit/c/test-file-type.c
level_0/f_file/tests/unit/c/test-file-type_at.c
level_0/f_file/tests/unit/c/test-file-umask_get.c
level_0/f_file/tests/unit/c/test-file-write.c
level_0/f_file/tests/unit/c/test-file-write_block.c
level_0/f_file/tests/unit/c/test-file-write_range.c
level_0/f_file/tests/unit/c/test-file-write_until.c
level_0/f_iki/tests/unit/c/test-iki-content_is.c
level_0/f_iki/tests/unit/c/test-iki-content_partial_is.c
level_0/f_iki/tests/unit/c/test-iki-read.c
level_0/f_limit/tests/unit/c/test-limit-process.c
level_0/f_memory/tests/unit/c/test-memory-adjust.c
level_0/f_memory/tests/unit/c/test-memory-delete.c
level_0/f_memory/tests/unit/c/test-memory-destroy.c
level_0/f_memory/tests/unit/c/test-memory-new.c
level_0/f_memory/tests/unit/c/test-memory-new_aligned.c
level_0/f_memory/tests/unit/c/test-memory-resize.c
level_0/f_path/tests/unit/c/test-path-current.c
level_0/f_path/tests/unit/c/test-path-directory_cleanup.c
level_0/f_path/tests/unit/c/test-path-real.c
level_0/f_serialize/tests/unit/c/test-serialize-from_simple.c
level_0/f_serialize/tests/unit/c/test-serialize-from_simple_get.c
level_0/f_serialize/tests/unit/c/test-serialize-from_simple_range.c
level_0/f_serialize/tests/unit/c/test-serialize-from_simple_select.c
level_0/f_serialize/tests/unit/c/test-serialize-to_simple.c
level_0/f_status_string/tests/unit/c/test-status_string-to.c

index c4d7395a2c4c7b070b2c8f775c6fca0feb15f572..384ef8287ab078c1756eb5e373f0afaa13e9bc1d 100644 (file)
@@ -39,7 +39,7 @@ void test__f_account_by_id__fails(void **state) {
 
     const f_status_t status = f_account_by_id(uid, &account);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 
   macro_f_account_t_delete_simple(account);
@@ -72,7 +72,7 @@ void test__f_account_by_id__not_found(void **state) {
     {
       const f_status_t status = f_account_by_id(0, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 6fa40329bbfcf15b4201c87ab6182908c68cf109..fb59b4d52fbb0791aeb9ebfe17231a448c382e07 100644 (file)
@@ -43,7 +43,7 @@ void test__f_account_by_name__fails(void **state) {
 
     const f_status_t status = f_account_by_name(name, &account);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 
   macro_f_account_t_delete_simple(account);
@@ -82,7 +82,7 @@ void test__f_account_by_name__not_found(void **state) {
     {
       const f_status_t status = f_account_by_name(name, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 0e91d954a4587a5acdc07193880cd28b87a3c47d..abe7e5f8a0e558d69d13bde246a5b6a075842a25 100644 (file)
@@ -43,7 +43,7 @@ void test__f_account_group_id_by_name__fails(void **state) {
 
     const f_status_t status = f_account_group_id_by_name(name, &gid);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 }
 
@@ -78,7 +78,7 @@ void test__f_account_group_id_by_name__not_found(void **state) {
     {
       const f_status_t status = f_account_group_id_by_name(name, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index f5dccf22cddb5f2eef096e8528cae01af51a189b..72b31bad2c5db39daf8b396be8a1752b1c8c542c 100644 (file)
@@ -39,7 +39,7 @@ void test__f_account_group_name_by_id__fails(void **state) {
 
     const f_status_t status = f_account_group_name_by_id(gid, &name);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 
   f_string_dynamic_resize(0, &name);
@@ -72,7 +72,7 @@ void test__f_account_group_name_by_id__not_found(void **state) {
     {
       const f_status_t status = f_account_group_name_by_id(0, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index cb4998c3acdae4e0918618345e2df2b056e371d4..ebac5ea3195777ff553433c2b8bb4352793e2c4b 100644 (file)
@@ -43,7 +43,7 @@ void test__f_account_id_by_name__fails(void **state) {
 
     const f_status_t status = f_account_id_by_name(name, &uid);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 }
 
@@ -78,7 +78,7 @@ void test__f_account_id_by_name__not_found(void **state) {
     {
       const f_status_t status = f_account_id_by_name(name, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index d6889128ef072d365bbd8b7c03d56d9796fe07ce..16589176b76cd3ed58e47c52b9dbc8bf0819a80c 100644 (file)
@@ -39,7 +39,7 @@ void test__f_account_name_by_id__fails(void **state) {
 
     const f_status_t status = f_account_name_by_id(uid, &name);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 
   f_string_dynamic_resize(0, &name);
@@ -72,7 +72,7 @@ void test__f_account_name_by_id__not_found(void **state) {
     {
       const f_status_t status = f_account_name_by_id(0, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 42a9baa9881fd86700698379bd365d68a5aa850f..1642165f7b75875ed28e73c054c169c04ce3e865 100644 (file)
@@ -30,7 +30,7 @@ void test__f_capability_ambient_get__fails(void **state) {
     {
       const f_status_t status = f_capability_ambient_get(value, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 3459bb9851d2abda4438728678dc9ffe6feab1da..3a0d5c7dcb36a4d85d61f4539c25a985feec7a2b 100644 (file)
@@ -14,7 +14,7 @@ void test__f_capability_ambient_reset__fails(void **state) {
 
       const f_status_t status = f_capability_ambient_reset();
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
 
     int errnos[] = {
@@ -36,7 +36,7 @@ void test__f_capability_ambient_reset__fails(void **state) {
 
       const f_status_t status = f_capability_ambient_reset();
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   #endif // !defined(_di_libcap_) && !defined(_libcap_legacy_only_)
 }
index 584592abebb98a5a1cbdb21ae36c229973f651cd..549840aa151787d8e950b014a604b1cd93378454 100644 (file)
@@ -30,7 +30,7 @@ void test__f_capability_ambient_set__fails(void **state) {
 
       const f_status_t status = f_capability_ambient_set(value, flag_value);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   #endif // !defined(_di_libcap_) && !defined(_libcap_legacy_only_)
 }
index 8d481db3ece732671149daf6809de3448e0d726d..7a42e82cc7ed939c81cde6a4bbc4865ffb92b531 100644 (file)
@@ -31,7 +31,7 @@ void test__f_capability_clear__fails(void **state) {
 
       const f_status_t status = f_capability_clear(&capability);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   #endif // !defined(_di_libcap_)
 }
@@ -42,7 +42,7 @@ void test__f_capability_clear__fails(void **state) {
     {
       const f_status_t status = f_capability_clear(0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index e8dd3b171734b27acffe2f6286c49af6dc3a7c90..8eba172da0aa54aa70a93b0d97f24fc196c661d3 100644 (file)
@@ -13,7 +13,7 @@ extern "C" {
     {
       const f_status_t status = f_capability_clear_flag(flag, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
@@ -63,7 +63,7 @@ void test__f_capability_clear_flag__fails(void **state) {
 
       const f_status_t status = f_capability_clear_flag(flag, &capability);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   #endif // !defined(_di_libcap_)
 }
index 15833b9e4ababee04a4bb331c83f0d57bf8674c7..c935aab81570eab5b1e8255759bad90d0030aaf9 100644 (file)
@@ -29,7 +29,7 @@ void test__f_capability_compare__fails(void **state) {
 
       const f_status_t status = f_capability_compare(capability_1, capability_2, &flags);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   #endif // !defined(_di_libcap_)
 }
index cd0ff404b267d3d2687d36038e5b6a2b441d1ba7..74d3433742ca54b6da173dbbcf2ff671b70866ed 100644 (file)
@@ -18,7 +18,7 @@ void test__f_capability_copy__fails(void **state) {
 
       const f_status_t status = f_capability_copy(capability_1, &capability_2);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     } // for
   #endif // !defined(_di_libcap_)
 }
@@ -31,7 +31,7 @@ void test__f_capability_copy__fails(void **state) {
     {
       const f_status_t status = f_capability_copy(capability, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 418ed4aada95ce3a54d578df1e7a480cb43d4c03..4241bd1096c16e49aaef2caf88069f4e6f0d54c3 100644 (file)
@@ -33,7 +33,7 @@ void test__f_capability_copy_external__fails(void **state) {
 
       const f_status_t status = f_capability_copy_external(capability, max, external, &size);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   #endif // !defined(_di_libcap_)
 }
@@ -46,7 +46,7 @@ void test__f_capability_copy_external__fails(void **state) {
     {
       const f_status_t status = f_capability_copy_external(capability, 0, 0, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index ccd3794d14a805102d2a9a87e7cd5d9a2cc60571..bc07f4f12be596b4839e50f1dd213d67e9371245 100644 (file)
@@ -31,7 +31,7 @@ void test__f_capability_copy_internal__fails(void **state) {
 
       const f_status_t status = f_capability_copy_internal(external, &capability);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   #endif // !defined(_di_libcap_)
 }
@@ -46,13 +46,13 @@ void test__f_capability_copy_internal__fails(void **state) {
     {
       const f_status_t status = f_capability_copy_internal(0, &capability);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
 
     {
       const f_status_t status = f_capability_copy_internal(external, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 3eadd39aa28a776ce1efbab7d86a44dbc494ea8a..5be93ecc8e21947e4ccb74e23c72c013b89d0010 100644 (file)
@@ -29,7 +29,7 @@ void test__f_capability_delete__fails(void **state) {
 
       const f_status_t status = f_capability_delete(&capability);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   #endif // !defined(_di_libcap_)
 }
@@ -40,7 +40,7 @@ void test__f_capability_delete__fails(void **state) {
     {
       const f_status_t status = f_capability_delete(0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 461d47686da3cbaf2207573b551f41d930f9909a..11c3e9624f9fb3e2f72247aa2c5742541f1f2fb9 100644 (file)
@@ -42,7 +42,7 @@ void test__f_capability_file_descriptor_get__fails(void **state) {
 
       const f_status_t status = f_capability_file_descriptor_get(descriptor, &capability);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   #endif // !defined(_di_libcap_)
 }
@@ -55,7 +55,7 @@ void test__f_capability_file_descriptor_get__fails(void **state) {
     {
       const f_status_t status = f_capability_file_descriptor_get(descriptor, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index f8462aec935cc9f853da9af9f7bc1359c6fb05fc..ef2a75b37aac9a04bec635fef4caae88d6fb6bf0 100644 (file)
@@ -42,7 +42,7 @@ void test__f_capability_file_descriptor_set__fails(void **state) {
 
       const f_status_t status = f_capability_file_descriptor_set(descriptor, capability);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   #endif // !defined(_di_libcap_)
 }
index 2c72f783ee741cafda3447ebbd0e2ec66a9e27fa..0af59dc1628f3d22418c58aaf770971d40b74ccd 100644 (file)
@@ -42,7 +42,7 @@ void test__f_capability_file_get__fails(void **state) {
 
       const f_status_t status = f_capability_file_get(path, &capability);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   #endif // !defined(_di_libcap_)
 }
@@ -55,7 +55,7 @@ void test__f_capability_file_get__fails(void **state) {
     {
       const f_status_t status = f_capability_file_get(path, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index a1bb9dc7f1c5c35baadee5496349752fe3e01593..781e273e069977a63f3d8a37bc381556a18e4c56 100644 (file)
@@ -42,7 +42,7 @@ void test__f_capability_file_set__fails(void **state) {
 
       const f_status_t status = f_capability_file_set(path, capability);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   #endif // !defined(_di_libcap_)
 }
index 8de3529898f2b5b84034e200580b843f90f23031..9815643d8d565274a61c1d449b2a20ba921d7a29 100644 (file)
@@ -30,7 +30,7 @@ void test__f_capability_flag_get__fails(void **state) {
 
       const f_status_t status = f_capability_flag_get(capability, capability_value, flag, &value);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   #endif // !defined(_di_libcap_)
 }
@@ -45,7 +45,7 @@ void test__f_capability_flag_get__fails(void **state) {
     {
       const f_status_t status = f_capability_flag_get(capability, capability_value, flag, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index afc0c70dc66323aef45fe3520c4bc631446450e3..fc5c50cc9a63a70ce539244ee6e993ef9f1ba5c3 100644 (file)
@@ -30,7 +30,7 @@ void test__f_capability_flag_set__fails(void **state) {
 
       const f_status_t status = f_capability_flag_set(flag, value, codes, &capability);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   #endif // !defined(_di_libcap_)
 }
@@ -45,7 +45,7 @@ void test__f_capability_flag_set__fails(void **state) {
     {
       const f_status_t status = f_capability_flag_set(flag, value, codes, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index c0e7eb806858486dae981d07e193247fb2130347..2cf9a6d24567594f1e8bface15dc6c4ecdf6accb 100644 (file)
@@ -30,7 +30,7 @@ void test__f_capability_from_name__fails(void **state) {
 
       const f_status_t status = f_capability_from_name(name, &capability_value);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   #endif // !defined(_di_libcap_)
 }
@@ -43,7 +43,7 @@ void test__f_capability_from_name__fails(void **state) {
     {
       const f_status_t status = f_capability_from_name(name, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index e9b48c659f2fa8ec96dad33c76e4086d8f280b93..7e92a9de7de2cbade434832796fbede7527d3b8b 100644 (file)
@@ -30,7 +30,7 @@ void test__f_capability_from_text__fails(void **state) {
 
       const f_status_t status = f_capability_from_text(text, &capability);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   #endif // !defined(_di_libcap_)
 }
@@ -43,7 +43,7 @@ void test__f_capability_from_text__fails(void **state) {
     {
       const f_status_t status = f_capability_from_text(text, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 669b8b9556127742564c6374495957d164942a10..0afc9879304c2af69efea78de0ceb70899897df2 100644 (file)
@@ -33,7 +33,7 @@ void test__f_capability_groups_set__fails(void **state) {
 
       const f_status_t status = f_capability_groups_set(group, total, groups);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   #endif // !defined(_di_libcap_) && !defined(_libcap_legacy_only_)
 }
index b4458529941a530bdbc18487b36e8839edde203c..004227bbc2ce35f786d4220c305ae66f1fbba316 100644 (file)
@@ -29,7 +29,7 @@ void test__f_capability_initialize__fails(void **state) {
 
       const f_status_t status = f_capability_initialize(&capability);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   #endif // !defined(_di_libcap_)
 }
@@ -40,7 +40,7 @@ void test__f_capability_initialize__fails(void **state) {
     {
       const f_status_t status = f_capability_initialize(0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 78dcc8d7773272dffb84a78d93b00cd3f4953690..9f704ee24f58acbf204ce84977bf4c656084ac73 100644 (file)
@@ -11,7 +11,7 @@ extern "C" {
     {
       const f_status_t status = f_capability_mode_get(0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 3e6f8f656e0973cd6d2624779ded12aec41834a9..88c216af534ed0a52e706301612b3f4f91dc2f52 100644 (file)
@@ -13,7 +13,7 @@ extern "C" {
     {
       const f_status_t status = f_capability_mode_get_name(mode, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index f1e05881429a587d14e1f9d25fffc5c142cdec6f..1e644c46863501e99bebe007acb3d0a3c7295633 100644 (file)
@@ -31,7 +31,7 @@ void test__f_capability_mode_set__fails(void **state) {
 
       const f_status_t status = f_capability_mode_set(mode);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   #endif // !defined(_di_libcap_) && !defined(_libcap_legacy_only_)
 }
index be036d2b06c546a543873f828b3b9b25ea9e5b88..f03f54599e595416f8f106c5e4ca7173b4e0efb0 100644 (file)
@@ -13,7 +13,7 @@ extern "C" {
     {
       const f_status_t status = f_capability_owner_get(capability, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 75f85a96a96de03b2c0c0ab0adf6b133e76b87c0..74334f2defca15e723de276ff3c75408c0386d60 100644 (file)
@@ -42,7 +42,7 @@ void test__f_capability_owner_set__fails(void **state) {
 
       const f_status_t status = f_capability_owner_set(capability, id);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   #endif // !defined(_di_libcap_) && !defined(_libcap_legacy_only_)
 }
index c3fa114cc129d55c8f7ba7ebac0e257119e8c42b..f487425e9bfe2f18bc8f1348051772144b158157 100644 (file)
@@ -32,7 +32,7 @@ void test__f_capability_process_bound_drop__fails(void **state) {
 
       const f_status_t status = f_capability_process_bound_drop(value, &bound);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   #endif // !defined(_di_libcap_)
 }
@@ -45,7 +45,7 @@ void test__f_capability_process_bound_drop__fails(void **state) {
     {
       const f_status_t status = f_capability_process_bound_drop(value, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 32c85d3f186bec879e85a00528bd0f47ab822e94..7810c8c5f39652e3d6ccdb1d57667caded6a7dff 100644 (file)
@@ -26,7 +26,7 @@ void test__f_capability_process_bound_get__fails(void **state) {
 
       const f_status_t status = f_capability_process_bound_get(value, &bound);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   #endif // !defined(_di_libcap_)
 }
@@ -39,7 +39,7 @@ void test__f_capability_process_bound_get__fails(void **state) {
     {
       const f_status_t status = f_capability_process_bound_get(value, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 8d34dfc218fe09959d51acf9663bff358090104a..baf37bfee3575d5262e9794f010eb987a0fed44e 100644 (file)
@@ -29,7 +29,7 @@ void test__f_capability_process_get__fails(void **state) {
 
       const f_status_t status = f_capability_process_get(&capability);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   #endif // !defined(_di_libcap_)
 }
@@ -40,7 +40,7 @@ void test__f_capability_process_get__fails(void **state) {
     {
       const f_status_t status = f_capability_process_get(0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 723b99818aa8dab203c30a3aff59a905f4901105..bb22ad0075f7cc7a8f6b20aa25d282f986cacd90 100644 (file)
@@ -26,7 +26,7 @@ void test__f_capability_process_get_by_id__fails(void **state) {
 
       const f_status_t status = f_capability_process_get_by_id(pid, &capability);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   #endif // !defined(_di_libcap_)
 }
@@ -37,7 +37,7 @@ void test__f_capability_process_get_by_id__fails(void **state) {
     {
       const f_status_t status = f_capability_process_get_by_id(0, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index a16bd13759456fe863228e260b3c25c5f89a049c..5b067edfe38c34a4d3a2493de11e1ff7144c87f0 100644 (file)
@@ -31,7 +31,7 @@ void test__f_capability_process_set__fails(void **state) {
 
       const f_status_t status = f_capability_process_set(capability);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   #endif // !defined(_di_libcap_)
 }
index fc13d0be1d88f99af550551ed749e7563d4e41a9..ceed1729979e7240731139819bcf02f7c09ae023 100644 (file)
@@ -31,7 +31,7 @@ void test__f_capability_security_bits_get__fails(void **state) {
 
       const f_status_t status = f_capability_security_bits_get(&bits);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   #endif // !defined(_di_libcap_) && !defined(_libcap_legacy_only_)
 }
@@ -42,7 +42,7 @@ void test__f_capability_security_bits_get__fails(void **state) {
     {
       const f_status_t status = f_capability_security_bits_get(0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 3e93ecf4b2b2890ee33052c4d2fbc5858fa9a5d7..e0436993e20d77a56a17233ee462353768c1cf7d 100644 (file)
@@ -41,7 +41,7 @@ void test__f_capability_security_bits_set__fails(void **state) {
 
       const f_status_t status = f_capability_security_bits_set(bits);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   #endif // !defined(_di_libcap_) && !defined(_libcap_legacy_only_)
 }
index 05475996061cba0a4dc2e4998bac97b724d83b83..c7c2d6cd44df0c8fa4d43dc8a0d96bd49ca304c0 100644 (file)
@@ -32,7 +32,7 @@ void test__f_capability_size__fails(void **state) {
 
       const f_status_t status = f_capability_size(capability, &size);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   #endif // !defined(_di_libcap_)
 }
@@ -45,7 +45,7 @@ void test__f_capability_size__fails(void **state) {
     {
       const f_status_t status = f_capability_size(capability, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 556cd99dd8eee961cf9861478d3019c2c2783623..581a300fe8d947500e2e77027633e809bb88763f 100644 (file)
@@ -30,7 +30,7 @@ void test__f_capability_to_name__fails(void **state) {
 
       const f_status_t status = f_capability_to_name(code, &name);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
       assert_int_equal(name.used, 0);
     } // for
   #endif // !defined(_di_libcap_)
@@ -44,7 +44,7 @@ void test__f_capability_to_name__fails(void **state) {
     {
       const f_status_t status = f_capability_to_name(code, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 49e376aa52fcc7d50f8ec1a231f10ee58b7b7e97..0d0416eb780bb3f069c7639457dd29d79e086ce5 100644 (file)
@@ -30,7 +30,7 @@ void test__f_capability_to_text__fails(void **state) {
 
       const f_status_t status = f_capability_to_text(capability, &text);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
       assert_int_equal(text.used, 0);
     } // for
   #endif // !defined(_di_libcap_)
@@ -44,7 +44,7 @@ void test__f_capability_to_text__fails(void **state) {
     {
       const f_status_t status = f_capability_to_text(capability, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 81aae3d6b28981caac879ac5e199e4c12beb6039..038eba37afd94fdb860d36d152fb81c44b292dd1 100644 (file)
@@ -52,7 +52,7 @@ void test__f_capability_user_set__fails(void **state) {
 
       const f_status_t status = f_capability_user_set(uid);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   #endif // !defined(_di_libcap_) && !defined(_libcap_legacy_only_)
 }
index e9ef3bb604eb95fc8199f9a7b85a107e1e92eeb7..fdc069be7e01f3af0f63d9c36f81cca0f9c3b564 100644 (file)
@@ -114,7 +114,7 @@ void test__f_color_context_delete__frees_memory(void **state) {
     {
       const f_status_t status = f_color_context_delete(0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index ab0572da07fbdcdf1575bbb5e67daf31959df52b..e5ff81200a00bf991b88d2bd6b4113617b389ec3 100644 (file)
@@ -114,7 +114,7 @@ void test__f_color_context_destroy__frees_memory(void **state) {
     {
       const f_status_t status = f_color_context_destroy(0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 59811175d7afb4259acf4ad0c1a679ff2b406b00..79b9e652039b4538db2a960599ac65d8b44c231b 100644 (file)
@@ -11,7 +11,7 @@ extern "C" {
     {
       const f_status_t status = f_color_load_context(F_true, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index d2750e96615d0603b506574d99ca5f7805e76a46..e9db186aa6d641db32219f0677eabbdbef330ee0 100644 (file)
@@ -14,7 +14,7 @@ extern "C" {
     {
       const f_status_t status = f_color_save_1(format, color, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 68eb5129726f7acf0f635c4c39447eb7d3a99ca5..ffb476ffe3e820a9df2d11ef3dcb3bef16eafe52 100644 (file)
@@ -14,7 +14,7 @@ extern "C" {
     {
       const f_status_t status = f_color_save_2(format, color, color, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index db7b0ab28e3c2e566f3095e57f4ccd5f3ca174bd..fe6996d515e517be26741f5453643ab00277e512 100644 (file)
@@ -14,7 +14,7 @@ extern "C" {
     {
       const f_status_t status = f_color_save_3(format, color, color, color, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 2db5d12cb2115a5a927943b16a97c2e4919105ae..98fd1bd3437ddc65a94bc40d5f024eddb44b5635 100644 (file)
@@ -14,7 +14,7 @@ extern "C" {
     {
       const f_status_t status = f_color_save_4(format, color, color, color, color, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 3e983da60d385b99344de8cdd4ddd5b658aa1197..e3bf534dbbe88d988e6d510eb9d2a663629f12de 100644 (file)
@@ -14,7 +14,7 @@ extern "C" {
     {
       const f_status_t status = f_color_save_5(format, color, color, color, color, color, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 6931ecbcc35fe25c24c6ee8c0598838deee92ceb..0ad0ce87678b61bc380a084bd4adb4f2e01b9f79 100644 (file)
@@ -35,7 +35,7 @@ void test__f_console_environment_process__data_not(void **state) {
     {
       const f_status_t status = f_console_environment_process(arguments, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 0109ecee9b623b5f1b97efbc57d37048d5766c4c..03515fa92b57dc2a602a7551d36f656037c3f76c 100644 (file)
@@ -13,7 +13,7 @@ extern "C" {
     {
       const f_status_t status = f_console_identify(input, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index bc1d30f5e0b4deec2c025c9d9ac2997c7740993e..fe0927232e3f1ef5c79a55b631073d5c834a8fd5 100644 (file)
@@ -23,7 +23,7 @@ void test__f_console_parameter_prioritize_left__fails(void **state) {
 
     const f_status_t status = f_console_parameter_prioritize_left(parameters, choices, &decision);
 
-    assert_int_equal(F_status_set_fine(status), F_parameter);
+    assert_int_equal(status, F_status_set_error(F_parameter));
   }
 
   f_console_parameters_delete(&parameters);
@@ -38,7 +38,7 @@ void test__f_console_parameter_prioritize_left__fails(void **state) {
     {
       const f_status_t status = f_console_parameter_prioritize_left(parameters, choices, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
 
     {
@@ -47,7 +47,7 @@ void test__f_console_parameter_prioritize_left__fails(void **state) {
 
       const f_status_t status = f_console_parameter_prioritize_left(parameters, choices, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
 
     f_console_parameters_delete(&parameters);
index 3e38a64ebc2f0cefc918ba30845824587b03ee66..97917d9e91e7e7f007762d8d6f9db72bec78c7b4 100644 (file)
@@ -23,7 +23,7 @@ void test__f_console_parameter_prioritize_right__fails(void **state) {
 
     const f_status_t status = f_console_parameter_prioritize_right(parameters, choices, &decision);
 
-    assert_int_equal(F_status_set_fine(status), F_parameter);
+    assert_int_equal(status, F_status_set_error(F_parameter));
   }
 
   f_console_parameters_delete(&parameters);
@@ -38,7 +38,7 @@ void test__f_console_parameter_prioritize_right__fails(void **state) {
     {
       const f_status_t status = f_console_parameter_prioritize_right(parameters, choices, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
 
     {
@@ -47,7 +47,7 @@ void test__f_console_parameter_prioritize_right__fails(void **state) {
 
       const f_status_t status = f_console_parameter_prioritize_right(parameters, choices, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
 
     f_console_parameters_delete(&parameters);
index e5261c28c943c4222a3af8af6beb62260dab1582..641f23f46ae90707a1c07a26ada03288c803ff6b 100644 (file)
@@ -378,7 +378,7 @@ void test__f_console_parameter_process__only_remaining(void **state) {
     {
       const f_status_t status = f_console_parameter_process(arguments, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 68de1744749061907415e905d17a589a42ac8a9d..9129cb05491e0d81921bb619069b3edb446748e1 100644 (file)
@@ -56,7 +56,7 @@ void test__f_console_parameters_delete__frees_memory(void **state) {
     {
       const f_status_t status = f_console_parameters_delete(0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 33c8070e3b5f5d852fe6dcd1ee8395eac8469f92..825401827aad03fcdd03e3fbddf80c72b2069618 100644 (file)
@@ -56,7 +56,7 @@ void test__f_console_parameters_destroy__frees_memory(void **state) {
     {
       const f_status_t status = f_console_parameters_destroy(0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index dea42947f8ebf632261354d334428c2ca0baff03..6be257ac496785136f591091a2e058ed70d85a11 100644 (file)
@@ -13,7 +13,7 @@ extern "C" {
     {
       const f_status_t status = f_control_group_copy(source, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index de97bed27f892d84398a675db9cf6cd59eb1a7c9..7fe6b7a53393bab3f728149564444b94cab89acb 100644 (file)
@@ -34,7 +34,7 @@ void test__f_conversion_character_to_binary__fails(void **state) {
     {
       const f_status_t status = f_conversion_character_to_binary(0, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 74b679af066aed44ddf1d67b86ae0dbbd1841065..6c9ee0f5c9844a43d638012ab57b74fe241cd2cd 100644 (file)
@@ -42,7 +42,7 @@ void test__f_conversion_character_to_decimal__fails(void **state) {
     {
       const f_status_t status = f_conversion_character_to_decimal(0, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 47d37279db0e55e499abfa0936b1fdb688ac309c..e78a5ef54ee9a0ea4c3f07d8eeb0f23ed804cc83 100644 (file)
@@ -46,7 +46,7 @@ void test__f_conversion_character_to_duodecimal__fails(void **state) {
     {
       const f_status_t status = f_conversion_character_to_duodecimal(0, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index ff3d4e349665e9076700a4fcf1a387152199885a..4e7f7d8a3eabcb76d319f6a6ca70d10b16ecb3ee 100644 (file)
@@ -54,7 +54,7 @@ void test__f_conversion_character_to_hexidecimal__fails(void **state) {
     {
       const f_status_t status = f_conversion_character_to_hexidecimal(0, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 490ccd3dcf34d086c04665911fef758fb43640be..6c9fcb4bff3bf600d68aa835388b7e3e4d73d84b 100644 (file)
@@ -40,7 +40,7 @@ void test__f_conversion_character_to_octal__fails(void **state) {
     {
       const f_status_t status = f_conversion_character_to_octal(0, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index a7530e5c36c721d1636020989e1edb862684986f..e3258a8ff3126dce95663516beda49ee5e6f38e6 100644 (file)
@@ -55,7 +55,7 @@ void test__f_conversion_number_signed_print__fails_for_zero(void **state) {
 
       const f_status_t status = f_conversion_number_signed_print(0, data, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
 
     {
@@ -64,7 +64,7 @@ void test__f_conversion_number_signed_print__fails_for_zero(void **state) {
 
       const f_status_t status = f_conversion_number_signed_print(0, data, file);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index b9d7563e7836b9a62ab115fd46ce8606e14edd26..5ebdd0c1b2034f5b27d9f12d774c3538f52add33 100644 (file)
@@ -13,7 +13,7 @@ extern "C" {
 
       const f_status_t status = f_conversion_number_signed_to_string(0, data, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
 
     {
@@ -22,7 +22,7 @@ extern "C" {
 
       const f_status_t status = f_conversion_number_signed_to_string(0, data, &string);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index e66222389fd342a013d87e85bb47ae228cb645bb..6d3208cb9cabe3bee312136cad4ef9180cc54dd4 100644 (file)
@@ -55,7 +55,7 @@ void test__f_conversion_number_unsigned_print__fails_for_zero(void **state) {
 
       const f_status_t status = f_conversion_number_unsigned_print(0, data, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
 
     {
@@ -64,7 +64,7 @@ void test__f_conversion_number_unsigned_print__fails_for_zero(void **state) {
 
       const f_status_t status = f_conversion_number_unsigned_print(0, data, file);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index bac49a637c748c4efa0b71d0723f6ceb96f9f6ef..338a42088193a88dc9ad619abff72914d699182d 100644 (file)
@@ -13,7 +13,7 @@ extern "C" {
 
       const f_status_t status = f_conversion_number_unsigned_to_string(0, data, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
 
     {
@@ -22,7 +22,7 @@ extern "C" {
 
       const f_status_t status = f_conversion_number_unsigned_to_string(0, data, &string);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 4878ee1b559f2e2efde385331651eab72e8b8ff6..668fb8e30ca8bbddf610929bb2a70208186a03f7 100644 (file)
@@ -52,7 +52,7 @@ void test__f_directory_create__fails(void **state) {
 
     const f_status_t status = f_directory_create(path, 0);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 }
 
index 1ec4fd60a26fbacb252c2cf3a1e6e3a749650d70..47ffce9bdf1cf784a883474ccd03b1dcf1e42ca7 100644 (file)
@@ -54,7 +54,7 @@ void test__f_directory_create_at__fails(void **state) {
 
     const f_status_t status = f_directory_create_at(0, path, 0);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 }
 
index 0feb2cbe5dc9c2a440a6224c5c8881eb12297976..a7a91c643030d8cd0159b0659958337c4f7310ec 100644 (file)
@@ -22,15 +22,15 @@ void test__f_directory_exists__fails(void **state) {
   };
 
   f_status_t statuss[] = {
-    F_access_denied,
-    F_buffer,
-    F_loop,
-    F_name,
+    F_status_set_error(F_access_denied),
+    F_status_set_error(F_buffer),
+    F_status_set_error(F_loop),
+    F_status_set_error(F_name),
     F_file_found_not,
-    F_memory_not,
+    F_status_set_error(F_memory_not),
     F_false,
-    F_number_overflow,
-    F_file_stat,
+    F_status_set_error(F_number_overflow),
+    F_status_set_error(F_file_stat),
   };
 
   for (int i = 0; i < 9; ++i) {
@@ -40,7 +40,7 @@ void test__f_directory_exists__fails(void **state) {
 
     const f_status_t status = f_directory_exists(path);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, statuss[i]);
   } // for
 }
 
index 84d611af8ab79477876893528b8fbefe1b245b7c..300a89fbaad4bf76f3b00d75c41b5c4cba397b56 100644 (file)
@@ -23,16 +23,16 @@ void test__f_directory_exists_at__fails(void **state) {
   };
 
   f_status_t statuss[] = {
-    F_access_denied,
-    F_directory_descriptor,
-    F_buffer,
-    F_loop,
-    F_name,
+    F_status_set_error(F_access_denied),
+    F_status_set_error(F_directory_descriptor),
+    F_status_set_error(F_buffer),
+    F_status_set_error(F_loop),
+    F_status_set_error(F_name),
     F_file_found_not,
-    F_memory_not,
+    F_status_set_error(F_memory_not),
     F_false,
-    F_number_overflow,
-    F_file_stat,
+    F_status_set_error(F_number_overflow),
+    F_status_set_error(F_file_stat),
   };
 
   for (int i = 0; i < 10; ++i) {
@@ -42,7 +42,7 @@ void test__f_directory_exists_at__fails(void **state) {
 
     const f_status_t status = f_directory_exists_at(0, path, 0);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, statuss[i]);
   } // for
 }
 
index a93d7a339df2805f4c94a8d1efe3b7c3f8ff7182..52ce4dc53c6e02787addfc46e667fdabae8110c6 100644 (file)
@@ -22,15 +22,15 @@ void test__f_directory_is__fails(void **state) {
   };
 
   f_status_t statuss[] = {
-    F_access_denied,
-    F_buffer,
-    F_loop,
-    F_name,
+    F_status_set_error(F_access_denied),
+    F_status_set_error(F_buffer),
+    F_status_set_error(F_loop),
+    F_status_set_error(F_name),
     F_file_found_not,
-    F_memory_not,
+    F_status_set_error(F_memory_not),
     F_false,
-    F_number_overflow,
-    F_file_stat,
+    F_status_set_error(F_number_overflow),
+    F_status_set_error(F_file_stat),
   };
 
   for (int i = 0; i < 9; ++i) {
@@ -40,7 +40,7 @@ void test__f_directory_is__fails(void **state) {
 
     const f_status_t status = f_directory_is(path);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, statuss[i]);
   } // for
 }
 
index afc6531f44ad7b849f8f86a3638372f6b2c3c8d5..e5c6acf1662ba2dc997bc61c8c7616b22339db7f 100644 (file)
@@ -23,16 +23,16 @@ void test__f_directory_is_at__fails(void **state) {
   };
 
   f_status_t statuss[] = {
-    F_access_denied,
-    F_directory_descriptor,
-    F_buffer,
-    F_loop,
-    F_name,
+    F_status_set_error(F_access_denied),
+    F_status_set_error(F_directory_descriptor),
+    F_status_set_error(F_buffer),
+    F_status_set_error(F_loop),
+    F_status_set_error(F_name),
     F_file_found_not,
-    F_memory_not,
+    F_status_set_error(F_memory_not),
     F_false,
-    F_number_overflow,
-    F_file_stat,
+    F_status_set_error(F_number_overflow),
+    F_status_set_error(F_file_stat),
   };
 
   for (int i = 0; i < 10; ++i) {
@@ -42,7 +42,7 @@ void test__f_directory_is_at__fails(void **state) {
 
     const f_status_t status = f_directory_is_at(0, path, 0);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, statuss[i]);
   } // for
 }
 
index 64a16392c336f9e9c64be9f127b51b373defd801..a8b7c4d2bcc7bf0d116a3fd2b20528d6d8dd269c 100644 (file)
@@ -29,8 +29,8 @@ void test__f_directory_list__fails(void **state) {
 
       const f_status_t status = f_directory_list(path, 0, 0, &names);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   }
 
@@ -45,7 +45,7 @@ void test__f_directory_list__fails(void **state) {
     {
       const f_status_t status = f_directory_list(path, 0, 0, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 4aee77c781f38b78aa885ff4bbe68cd4dae15195..0fb1c0f271b60c3ab9da78029f386d8ab07ddf3b 100644 (file)
@@ -56,7 +56,7 @@ void test__f_directory_open__fails(void **state) {
 
     const f_status_t status = f_directory_open(path, F_false, &id);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 }
 
@@ -68,7 +68,7 @@ void test__f_directory_open__fails(void **state) {
     {
       const f_status_t status = f_directory_open(path, 0, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 601c5c6aea1a79319496d61bc8ceb9807fe80221..bffb3b660491d144db8c4440f0dad0fab8fac639 100644 (file)
@@ -59,7 +59,7 @@ void test__f_directory_open_at__fails(void **state) {
 
     const f_status_t status = f_directory_open_at(at, path, F_false, &id);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 }
 
@@ -71,7 +71,7 @@ void test__f_directory_open_at__fails(void **state) {
     {
       const f_status_t status = f_directory_open_at(0, path, 0, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 1860364e3dd4d82333f28aeb0a15e038d5270bc7..d6511ede5b1f91803f4e11ac7ceb4787ed1ba1c1 100644 (file)
@@ -57,7 +57,7 @@ void test__f_directory_remove__fails(void **state) {
 
       const f_status_t status = f_directory_remove(path, 0, F_false);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   }
 
@@ -71,7 +71,7 @@ void test__f_directory_remove__fails(void **state) {
 
       const f_status_t status = f_directory_remove(path, 1, F_false);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   }
 
@@ -83,7 +83,7 @@ void test__f_directory_remove__fails(void **state) {
 
       const f_status_t status = f_directory_remove(path, 1, F_true);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   }
 }
@@ -96,7 +96,7 @@ void test__f_directory_remove__fails(void **state) {
     {
       const f_status_t status = f_directory_remove(path, -1, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index e9b41f5d3531540b1371b8c483dfc1560cc49a37..fd52c3e56f6ca13cf8da9e1a1233ae78d244e8ef 100644 (file)
@@ -57,7 +57,7 @@ void test__f_directory_remove_custom__fails(void **state) {
 
       const f_status_t status = f_directory_remove_custom(path, 0, F_false, 0);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   }
 
@@ -71,7 +71,7 @@ void test__f_directory_remove_custom__fails(void **state) {
 
       const f_status_t status = f_directory_remove_custom(path, 1, F_false, 0);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   }
 
@@ -83,7 +83,7 @@ void test__f_directory_remove_custom__fails(void **state) {
 
       const f_status_t status = f_directory_remove_custom(path, 1, F_true, 0);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   }
 }
@@ -96,7 +96,7 @@ void test__f_directory_remove_custom__fails(void **state) {
     {
       const f_status_t status = f_directory_remove_custom(path, -1, 0, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 303f37fe08bc1ecc042f3848c2320218d012c8d2..4170a1ee523ba9f55165668f6c8915aba243c3e5 100644 (file)
@@ -39,7 +39,7 @@ void test__f_directory_touch__fails(void **state) {
 
       const f_status_t status = f_directory_touch(path, 0);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   }
 
@@ -89,7 +89,7 @@ void test__f_directory_touch__fails(void **state) {
 
       const f_status_t status = f_directory_touch(path, 0);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   } // for
 
@@ -140,7 +140,7 @@ void test__f_directory_touch__fails(void **state) {
 
       const f_status_t status = f_directory_touch(path, 0);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   }
 }
index 6cd970d53ffe6156696474973cb348c608047c05..163cb1309c83bfc3c5dbded42d8fbd025de93637 100644 (file)
@@ -39,7 +39,7 @@ void test__f_directory_touch_at__fails(void **state) {
 
       const f_status_t status = f_directory_touch_at(1, path, 0, 0);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   }
 
@@ -89,7 +89,7 @@ void test__f_directory_touch_at__fails(void **state) {
 
       const f_status_t status = f_directory_touch_at(1, path, 0, 0);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   } // for
 
@@ -140,7 +140,7 @@ void test__f_directory_touch_at__fails(void **state) {
 
       const f_status_t status = f_directory_touch_at(1, path, 0, 0);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   }
 }
index 352b28b03113c2d0e7b94f79271f05780bfe4e4c..90324ee5600384327a9159d1fb62d2263b91ad7d 100644 (file)
@@ -30,7 +30,7 @@ void test__f_environment_get__fails(void **state) {
     {
       const f_status_t status = f_environment_get(path, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 80e78b3da64dc9506fd8b3c6931d4f4a5e5270ee..b3dff9c074bba140ecfe67e62c7851230fcda4db 100644 (file)
@@ -33,7 +33,7 @@ void test__f_environment_secure_is__fails(void **state) {
 
         const f_status_t status = f_environment_secure_is();
 
-        assert_int_equal(F_status_set_fine(status), statuss[i]);
+        assert_int_equal(status, F_status_set_error(statuss[i]));
       } // for
     }
 
@@ -69,7 +69,7 @@ void test__f_environment_secure_is__fails(void **state) {
 
         const f_status_t status = f_environment_secure_is();
 
-        assert_int_equal(F_status_set_fine(status), statuss[i]);
+        assert_int_equal(status, F_status_set_error(statuss[i]));
       } // for
     }
   #endif // _di_libcap_
index 6d1572678955fe918ea396f1910d8046614f61e1..408f6830d3c38df59dc9658e99fa04f56a503d18 100644 (file)
@@ -29,7 +29,7 @@ void test__f_environment_set__fails(void **state) {
 
       const f_status_t status = f_environment_set(path, path, F_false);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   }
 }
index 2c630e22285d910632b3841face948e3125a3223..6b08a03c1beb1e3c54a60fa9d5077345c4d57bc3 100644 (file)
@@ -29,7 +29,7 @@ void test__f_environment_unset__fails(void **state) {
 
       const f_status_t status = f_environment_unset(path);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   }
 }
index 1d188514c60ecf49429efc11349d5af2609c4e94..88e56b06f4d8d4e995e8c4ff3425de93abdbcfd2 100644 (file)
@@ -145,7 +145,7 @@ void test__f_file_clone__fails_for_link(void **state) {
         assert_int_equal(status, F_none);
       }
       else {
-        assert_int_equal(F_status_set_fine(status), statuss[i]);
+        assert_int_equal(status, F_status_set_error(statuss[i]));
       }
     } // for
   }
@@ -203,7 +203,7 @@ void test__f_file_clone__fails_for_link(void **state) {
 
       const f_status_t status = f_file_clone(path, path, 0, 0);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   }
 
@@ -265,7 +265,7 @@ void test__f_file_clone__fails_for_link(void **state) {
 
       const f_status_t status = f_file_clone(path, path, 0, f_file_stat_flag_reference_e | f_file_stat_flag_group_e | f_file_stat_flag_owner_e);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   }
 
@@ -330,7 +330,7 @@ void test__f_file_clone__fails_for_link(void **state) {
 
       const f_status_t status = f_file_clone(path, path, 0, f_file_stat_flag_reference_e | f_file_stat_flag_group_e | f_file_stat_flag_owner_e);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   }
 }
@@ -408,7 +408,7 @@ void test__f_file_clone__fails_for_regular(void **state) {
 
       const f_status_t status = f_file_clone(path, path, 0, 0);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   }
 
@@ -478,7 +478,7 @@ void test__f_file_clone__fails_for_regular(void **state) {
 
       const f_status_t status = f_file_clone(path, path, 0, 0);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   }
 
@@ -524,7 +524,7 @@ void test__f_file_clone__fails_for_regular(void **state) {
 
       const f_status_t status = f_file_clone(path, path, 0, 0);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   }
 
@@ -583,7 +583,7 @@ void test__f_file_clone__fails_for_regular(void **state) {
 
       const f_status_t status = f_file_clone(path, path, 0, 0);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   }
 
@@ -645,7 +645,7 @@ void test__f_file_clone__fails_for_regular(void **state) {
 
       const f_status_t status = f_file_clone(path, path, 0, f_file_stat_flag_reference_e | f_file_stat_flag_owner_e | f_file_stat_flag_group_e);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   }
 
@@ -710,7 +710,7 @@ void test__f_file_clone__fails_for_regular(void **state) {
 
       const f_status_t status = f_file_clone(path, path, 0, f_file_stat_flag_reference_e | f_file_stat_flag_owner_e | f_file_stat_flag_group_e);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   }
 
@@ -792,7 +792,7 @@ void test__f_file_clone__fails_for_regular(void **state) {
 
       const f_status_t status = f_file_clone(path, path, 0, 0);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   }
 
@@ -884,7 +884,7 @@ void test__f_file_clone__fails_for_regular(void **state) {
 
       const f_status_t status = f_file_clone(path, path, 0, 0);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   }
 
@@ -965,7 +965,7 @@ void test__f_file_clone__fails_for_regular(void **state) {
 
       const f_status_t status = f_file_clone(path, path, 0, 0);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   }
 
@@ -1061,7 +1061,7 @@ void test__f_file_clone__fails_for_regular(void **state) {
 
       const f_status_t status = f_file_clone(path, path, 0, f_file_stat_flag_exclusive_e);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   }
 }
index 61c6da87dd5ecf7c4606c709d2de460c5f27d2bb..cb3c3a2e444dd4cd971c210374b98cbe66009e80 100644 (file)
@@ -35,7 +35,7 @@ void test__f_file_close__fails(void **state) {
 
       const f_status_t status = f_file_close(&id);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
 
       if (errnos[i] == EBADF || errnos[i] == EINTR) {
         assert_int_equal(id, 0);
@@ -53,7 +53,7 @@ void test__f_file_close__fails(void **state) {
     {
       const f_status_t status = f_file_close(0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index f3a0496e6abe45394f48197e197f60046d0cf00e..0825517330b92459cfd2cfef3a5e8f2bb9961641 100644 (file)
@@ -38,7 +38,7 @@ void test__f_file_close_flush__fails(void **state) {
 
       const f_status_t status = f_file_close_flush(&id);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
 
       if (errnos[i] == EBADF || errnos[i] == EINTR) {
         assert_int_equal(id, 0);
@@ -56,7 +56,7 @@ void test__f_file_close_flush__fails(void **state) {
     {
       const f_status_t status = f_file_close_flush(0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index cadcc348ed6db32b72dd536590036a03a4b55279..d148adc7b42a3e777b4d57402b83949357c63388 100644 (file)
@@ -138,7 +138,7 @@ void test__f_file_copy__fails_for_block(void **state) {
         assert_int_equal(status, F_none);
       }
       else {
-        assert_int_equal(F_status_set_fine(status), statuss[i]);
+        assert_int_equal(status, F_status_set_error(statuss[i]));
       }
     } // for
   }
@@ -200,7 +200,7 @@ void test__f_file_copy__fails_for_block(void **state) {
         assert_int_equal(status, F_none);
       }
       else {
-        assert_int_equal(F_status_set_fine(status), statuss[i]);
+        assert_int_equal(status, F_status_set_error(statuss[i]));
       }
     } // for
   }
@@ -274,7 +274,7 @@ void test__f_file_copy__fails_for_character(void **state) {
         assert_int_equal(status, F_none);
       }
       else {
-        assert_int_equal(F_status_set_fine(status), statuss[i]);
+        assert_int_equal(status, F_status_set_error(statuss[i]));
       }
     } // for
   }
@@ -336,7 +336,7 @@ void test__f_file_copy__fails_for_character(void **state) {
         assert_int_equal(status, F_none);
       }
       else {
-        assert_int_equal(F_status_set_fine(status), statuss[i]);
+        assert_int_equal(status, F_status_set_error(statuss[i]));
       }
     } // for
   }
@@ -410,7 +410,7 @@ void test__f_file_copy__fails_for_directory(void **state) {
         assert_int_equal(status, F_none);
       }
       else {
-        assert_int_equal(F_status_set_fine(status), statuss[i]);
+        assert_int_equal(status, F_status_set_error(statuss[i]));
       }
     } // for
   }
@@ -472,7 +472,7 @@ void test__f_file_copy__fails_for_directory(void **state) {
         assert_int_equal(status, F_none);
       }
       else {
-        assert_int_equal(F_status_set_fine(status), statuss[i]);
+        assert_int_equal(status, F_status_set_error(statuss[i]));
       }
     } // for
   }
@@ -536,7 +536,7 @@ void test__f_file_copy__fails_for_fifo(void **state) {
         assert_int_equal(status, F_none);
       }
       else {
-        assert_int_equal(F_status_set_fine(status), statuss[i]);
+        assert_int_equal(status, F_status_set_error(statuss[i]));
       }
     } // for
   }
@@ -598,7 +598,7 @@ void test__f_file_copy__fails_for_fifo(void **state) {
         assert_int_equal(status, F_none);
       }
       else {
-        assert_int_equal(F_status_set_fine(status), statuss[i]);
+        assert_int_equal(status, F_status_set_error(statuss[i]));
       }
     } // for
   }
@@ -654,7 +654,7 @@ void test__f_file_copy__fails_for_link(void **state) {
 
       const f_status_t status = f_file_copy(path, path, mode, 0, 0);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   }
 
@@ -731,7 +731,7 @@ void test__f_file_copy__fails_for_link(void **state) {
         assert_int_equal(status, F_none);
       }
       else {
-        assert_int_equal(F_status_set_fine(status), statuss[i]);
+        assert_int_equal(status, F_status_set_error(statuss[i]));
       }
     } // for
   }
@@ -774,7 +774,7 @@ void test__f_file_copy__fails_for_regular(void **state) {
 
       const f_status_t status = f_file_copy(path, path, mode, 0, 0);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   }
 
@@ -845,7 +845,7 @@ void test__f_file_copy__fails_for_regular(void **state) {
 
       const f_status_t status = f_file_copy(path, path, mode, 0, 0);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   }
 
@@ -892,7 +892,7 @@ void test__f_file_copy__fails_for_regular(void **state) {
 
       const f_status_t status = f_file_copy(path, path, mode, 0, 0);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   }
 
@@ -952,7 +952,7 @@ void test__f_file_copy__fails_for_regular(void **state) {
 
       const f_status_t status = f_file_copy(path, path, mode, 0, 0);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   }
 
@@ -1035,7 +1035,7 @@ void test__f_file_copy__fails_for_regular(void **state) {
 
       const f_status_t status = f_file_copy(path, path, mode, 0, 0);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   }
 
@@ -1128,7 +1128,7 @@ void test__f_file_copy__fails_for_regular(void **state) {
 
       const f_status_t status = f_file_copy(path, path, mode, 0, 0);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   }
 
@@ -1210,7 +1210,7 @@ void test__f_file_copy__fails_for_regular(void **state) {
 
       const f_status_t status = f_file_copy(path, path, mode, 0, 0);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   }
 
@@ -1307,7 +1307,7 @@ void test__f_file_copy__fails_for_regular(void **state) {
 
       const f_status_t status = f_file_copy(path, path, mode, 0, f_file_stat_flag_exclusive_e);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   }
 }
@@ -1381,7 +1381,7 @@ void test__f_file_copy__fails_for_socket(void **state) {
         assert_int_equal(status, F_none);
       }
       else {
-        assert_int_equal(F_status_set_fine(status), statuss[i]);
+        assert_int_equal(status, F_status_set_error(statuss[i]));
       }
     } // for
   }
@@ -1444,7 +1444,7 @@ void test__f_file_copy__fails_for_socket(void **state) {
         assert_int_equal(status, F_none);
       }
       else {
-        assert_int_equal(F_status_set_fine(status), statuss[i]);
+        assert_int_equal(status, F_status_set_error(statuss[i]));
       }
     } // for
   }
index 5713f65443720b7422dd86b837b30bcad7fb1044..efd8a3294b788d690f102fd2dbf18df60c788fa5 100644 (file)
@@ -65,7 +65,7 @@ void test__f_file_create__fails(void **state) {
 
       const f_status_t status = f_file_create(path, 0, F_false);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   }
 
@@ -101,7 +101,7 @@ void test__f_file_create__fails(void **state) {
 
       const f_status_t status = f_file_create(path, 0, F_false);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   }
 }
index 84f0ce3fb68e338a01ce79e97c80b26d07beae07..d92584020d18bc04f61c21c7f58b495f70919454 100644 (file)
@@ -67,7 +67,7 @@ void test__f_file_create_at__fails(void **state) {
 
       const f_status_t status = f_file_create_at(0, path, 0, F_false);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   }
 
@@ -103,7 +103,7 @@ void test__f_file_create_at__fails(void **state) {
 
       const f_status_t status = f_file_create_at(0, path, 0, F_false);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   }
 }
index 9ba1c248eb6baebd3cbdd33140bfb2dac38bd255..61d4c70a1759d99675897a4b3e230165ddd07362 100644 (file)
@@ -61,7 +61,7 @@ void test__f_file_create_device__fails(void **state) {
 
         const f_status_t status = f_file_create_device(path, modes[j], 1, 1);
 
-        assert_int_equal(F_status_set_fine(status), statuss[i]);
+        assert_int_equal(status, F_status_set_error(statuss[i]));
       } // for
     } // for
   }
index 60bd48eacb80a38679ec268874d4b57d5f3f28d0..a97b98414cc69aef2b9d856dff769bc86b3e8c5b 100644 (file)
@@ -63,7 +63,7 @@ void test__f_file_create_device_at__fails(void **state) {
 
         const f_status_t status = f_file_create_device_at(0, path, modes[j], 1, 1);
 
-        assert_int_equal(F_status_set_fine(status), statuss[i]);
+        assert_int_equal(status, F_status_set_error(statuss[i]));
       } // for
     } // for
   }
index d4d50b8ae66838968f7a958d789f368ac29cc489..6c4b5a92feb2d2aa7ce0a6d655211152762e5822 100644 (file)
@@ -43,7 +43,7 @@ void test__f_file_create_fifo__fails(void **state) {
 
       const f_status_t status = f_file_create_fifo(path, 0);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   }
 }
index d15fb6665dbae3b5f23af82cbca262af10684c76..a30d6f56e0a5e04a5998e8c5100046257f35b0fe 100644 (file)
@@ -45,7 +45,7 @@ void test__f_file_create_fifo_at__fails(void **state) {
 
       const f_status_t status = f_file_create_fifo_at(0, path, 0);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   }
 }
index b10821ff331a7c3792d0b3db4638c8b3e44a6fb7..a5c369bb6aae3d1345c88a8d98898cbd0faf6891 100644 (file)
@@ -61,7 +61,7 @@ void test__f_file_create_node__fails(void **state) {
 
         const f_status_t status = f_file_create_node(path, modes[j], 1);
 
-        assert_int_equal(F_status_set_fine(status), statuss[i]);
+        assert_int_equal(status, F_status_set_error(statuss[i]));
       } // for
     } // for
   }
index cb5ba7482647873922ec142222d04fc3efc61742..4b44c2252d799bb7cd9e9fda516d17b90822b484 100644 (file)
@@ -63,7 +63,7 @@ void test__f_file_create_node_at__fails(void **state) {
 
         const f_status_t status = f_file_create_node_at(0, path, modes[j], 1);
 
-        assert_int_equal(F_status_set_fine(status), statuss[i]);
+        assert_int_equal(status, F_status_set_error(statuss[i]));
       } // for
     } // for
   }
index e92f4f6899c60dee5c7b3b8ca0fb17cf08b37f43..3be16fe0e505ee8ccf7fb9ace5705ab8bb38abfa 100644 (file)
@@ -24,7 +24,7 @@ void test__f_file_descriptor__fails(void **state) {
     {
       const f_status_t status = f_file_descriptor(0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 01e9e03421a4c2a14f9fe91ff62c3a4061fdcc27..599bdd2683418f69b964b2d19578e08206e9024c 100644 (file)
@@ -23,16 +23,16 @@ void test__f_file_exists__fails(void **state) {
   };
 
   f_status_t statuss[] = {
-    F_access_denied,
-    F_buffer,
-    F_parameter,
-    F_loop,
-    F_name,
+    F_status_set_error(F_access_denied),
+    F_status_set_error(F_buffer),
+    F_status_set_error(F_parameter),
+    F_status_set_error(F_loop),
+    F_status_set_error(F_name),
     F_false,
-    F_memory_not,
-    F_directory_not,
-    F_number_overflow,
-    F_file_stat,
+    F_status_set_error(F_memory_not),
+    F_status_set_error(F_directory_not),
+    F_status_set_error(F_number_overflow),
+    F_status_set_error(F_file_stat),
   };
 
   for (int i = 0; i < 10; ++i) {
@@ -42,7 +42,7 @@ void test__f_file_exists__fails(void **state) {
 
     const f_status_t status = f_file_exists(path, F_false);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, statuss[i]);
   } // for
 
   for (int i = 0; i < 9; ++i) {
@@ -52,7 +52,7 @@ void test__f_file_exists__fails(void **state) {
 
     const f_status_t status = f_file_exists(path, F_true);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, statuss[i]);
   } // for
 }
 
index 6650e6ae72f6b20309c67d2eb0bc8a3f82a4812e..a1bccc17134cff93a970b1d6edbb84c92905ae83 100644 (file)
@@ -23,16 +23,16 @@ void test__f_file_exists_at__fails(void **state) {
   };
 
   f_status_t statuss[] = {
-    F_access_denied,
-    F_directory_descriptor,
-    F_buffer,
-    F_loop,
-    F_name,
+    F_status_set_error(F_access_denied),
+    F_status_set_error(F_directory_descriptor),
+    F_status_set_error(F_buffer),
+    F_status_set_error(F_loop),
+    F_status_set_error(F_name),
     F_false,
-    F_memory_not,
-    F_directory_not,
-    F_number_overflow,
-    F_file_stat,
+    F_status_set_error(F_memory_not),
+    F_status_set_error(F_directory_not),
+    F_status_set_error(F_number_overflow),
+    F_status_set_error(F_file_stat),
   };
 
   for (int i = 0; i < 10; ++i) {
@@ -42,7 +42,7 @@ void test__f_file_exists_at__fails(void **state) {
 
     const f_status_t status = f_file_exists_at(0, path, 0);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, statuss[i]);
   } // for
 }
 
index 7e4362c91065e62d4aa19224d430d2e6e3f701b9..cc5a2ae06bc4c49b1077f765e7573a9ea43ee6c3 100644 (file)
@@ -34,7 +34,7 @@ void test__f_file_flush__fails(void **state) {
 
     const f_status_t status = f_file_flush(0);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 }
 
index 72ea0b0e7bce563f34fa58ff9e6a2073529b37f5..04fdf5e6875bc963b01708c479ec4050f18ace8a 100644 (file)
@@ -42,7 +42,7 @@ void test__f_file_group_read__fails(void **state) {
 
     const f_status_t status = f_file_group_read(path, F_true, &id);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 }
 
@@ -52,7 +52,7 @@ void test__f_file_group_read__fails(void **state) {
     {
       const f_status_t status = f_file_group_read(f_string_empty_s, F_false, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 2786cc8d409e194daeab3d94e8fe1c8ce9b83c16..7a846bd5caeb63cfbb13775e9d1af41b63f0545d 100644 (file)
@@ -55,7 +55,7 @@ void test__f_file_is__fails(void **state) {
 
       const f_status_t status = f_file_is(path, types[j], F_false);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   } // for
 
@@ -68,7 +68,7 @@ void test__f_file_is__fails(void **state) {
 
       const f_status_t status = f_file_is(path, types[j], F_true);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   } // for
 }
index 203f9448ba5d633080c951bc40072d40f88aeddb..41ed324497f6d1ef79cdbe389488e0b8c1d26e38 100644 (file)
@@ -23,16 +23,16 @@ void test__f_file_is_at__fails(void **state) {
   };
 
   f_status_t statuss[] = {
-    F_access_denied,
-    F_directory_descriptor,
-    F_buffer,
-    F_loop,
-    F_name,
+    F_status_set_error(F_access_denied),
+    F_status_set_error(F_directory_descriptor),
+    F_status_set_error(F_buffer),
+    F_status_set_error(F_loop),
+    F_status_set_error(F_name),
     F_file_found_not,
-    F_memory_not,
-    F_directory_not,
-    F_number_overflow,
-    F_file_stat,
+    F_status_set_error(F_memory_not),
+    F_status_set_error(F_directory_not),
+    F_status_set_error(F_number_overflow),
+    F_status_set_error(F_file_stat),
   };
 
   f_status_t types[] = {
@@ -55,7 +55,7 @@ void test__f_file_is_at__fails(void **state) {
 
       const f_status_t status = f_file_is_at(0, path, types[j], 0);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, statuss[i]);
     } // for
   } // for
 }
index 62843aa4b729248bd6873811930dafbfc0a06d71..14e23cd68d9a8a131699d001c251129041ea8ce3 100644 (file)
@@ -58,7 +58,7 @@ void test__f_file_link__fails(void **state) {
 
     const f_status_t status = f_file_link(path, path);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 }
 
index 8d9c664bd3e15981cc0fd6df1da8a3b38dac16b0..73993bb446425e4df1af1190b0219afb6c4fa5b2 100644 (file)
@@ -60,7 +60,7 @@ void test__f_file_link_at__fails(void **state) {
 
     const f_status_t status = f_file_link_at(0, path, path);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 }
 
index 3cec4e6a64aa44bc38961bbeb96dc1dce8c6c0ac..72ee732e057bae271217befc0000377b16fc1717 100644 (file)
@@ -58,7 +58,7 @@ void test__f_file_link_hard__fails(void **state) {
 
     const f_status_t status = f_file_link_hard(path, path);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 }
 
index 2619a42adb3cbbbf19a4db3bc80e03a1c0c53da8..23d7c74345a9f062f5247e48d02be59a1ab56e53 100644 (file)
@@ -60,7 +60,7 @@ void test__f_file_link_hard_at__fails(void **state) {
 
     const f_status_t status = f_file_link_hard_at(0, 0, path, path, 0);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 }
 
index 0ab03780353efceee56931ddbe1fb3cc42056070..cf7fcb871b68e38eff172cc8284c02019d782677 100644 (file)
@@ -56,7 +56,7 @@ void test__f_file_link_read__fails(void **state) {
 
     const f_status_t status = f_file_link_read(path, F_true, &buffer);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 
   f_string_dynamic_resize(0, &buffer);
@@ -74,7 +74,7 @@ void test__f_file_link_read__fails(void **state) {
     {
       const f_status_t status = f_file_link_read(f_string_empty_s, F_true, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
 
     f_string_dynamic_resize(0, &buffer);
index 23f2f3b10e8b83513ddcdf05336e2b97e711192c..f163ade7a280a3d06eab25efd77fd9a92f0cd47d 100644 (file)
@@ -56,7 +56,7 @@ void test__f_file_link_read_at__fails(void **state) {
 
     const f_status_t status = f_file_link_read_at(0, path, 0, &buffer);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 
   f_string_dynamic_resize(0, &buffer);
@@ -70,7 +70,7 @@ void test__f_file_link_read_at__fails(void **state) {
     {
       const f_status_t status = f_file_link_read_at(0, f_string_empty_s, 0, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
 
     f_string_dynamic_resize(0, &buffer);
index 411bd34ec2a74674077ac60e5bdfa50d18b213c1..1e57d8214f9f16b21aabc9837af5ae498e09eb84 100644 (file)
@@ -14,7 +14,7 @@ extern "C" {
     {
       const f_status_t status = f_file_mode_determine(mode_file, mode_change, 0, F_false, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index d5db526d9aeefa70e6ca3f163b159f31b4ce4d93..8128f29df7ec49aa0948956fd3dab08692303dfd 100644 (file)
@@ -190,7 +190,7 @@ void test__f_file_mode_from_string__fails_basic(void **state) {
 
     const f_status_t status = f_file_mode_from_string(codes[i], 0, &mode, &replace);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 }
 
@@ -200,7 +200,7 @@ void test__f_file_mode_from_string__fails_basic(void **state) {
     {
       const f_status_t status = f_file_mode_from_string(f_string_empty_s, 0, 0, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
 
     {
@@ -208,7 +208,7 @@ void test__f_file_mode_from_string__fails_basic(void **state) {
 
       const f_status_t status = f_file_mode_from_string(f_string_empty_s, 0, &mode_file, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
 
     {
@@ -216,7 +216,7 @@ void test__f_file_mode_from_string__fails_basic(void **state) {
 
       const f_status_t status = f_file_mode_from_string(f_string_empty_s, 0, 0, &replace);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 876bb25f25bbd734f189106892ad5ccae1e160fc..4380f5f1fff8aea91b61ea841e7616f9290bb74a 100644 (file)
@@ -44,7 +44,7 @@ void test__f_file_mode_read__fails(void **state) {
 
     const f_status_t status = f_file_mode_read(path, F_false, &mode);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 }
 
@@ -54,7 +54,7 @@ void test__f_file_mode_read__fails(void **state) {
     {
       const f_status_t status = f_file_mode_read(f_string_empty_s, F_true, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 06a55300399f60d2f7653b0aca0ab2a902f9390d..f726ec9bc41279035a0c1db7e0e48757b384b165 100644 (file)
@@ -44,7 +44,7 @@ void test__f_file_mode_read_at__fails(void **state) {
 
     const f_status_t status = f_file_mode_read_at(0, path, 0, &mode);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 }
 
@@ -54,7 +54,7 @@ void test__f_file_mode_read_at__fails(void **state) {
     {
       const f_status_t status = f_file_mode_read_at(0, f_string_empty_s, 0, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 1d4c2f4d11d03b936a14110f0b3a5971358a50fd..b82384ca31bbebb25f5234a90dd0772d300730d5 100644 (file)
@@ -46,7 +46,7 @@ void test__f_file_mode_set__fails(void **state) {
 
     const f_status_t status = f_file_mode_set(path, mode);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 }
 
index 46112866cd66f954a35ce509f8bbd9c5a91ba81d..9456b8b3e5e123b273b603b8591ae919aaf4fde7 100644 (file)
@@ -48,7 +48,7 @@ void test__f_file_mode_set_at__fails(void **state) {
 
     const f_status_t status = f_file_mode_set_at(0, path, mode);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 }
 
index 1fb61131fd52431078521e8db8a753154ae44347..88d5526ba114469edcd574eafb479c079b7770c0 100644 (file)
@@ -13,7 +13,7 @@ extern "C" {
     {
       const f_status_t status = f_file_mode_to_mode(mode, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 2592ff67e8d638d8899dc48ffdf0da9c2eaefc0b..a8f0726e109be3fa1ee1d0fc9b046bb98a18e96d 100644 (file)
@@ -11,7 +11,7 @@ extern "C" {
     {
       const f_status_t status = f_file_name_base(f_string_empty_s, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 238b8cebcbe68181b37ab919614be5b69def7f33..6fdc8a43e75a20ee6f2d942283c19de01abc7e3b 100644 (file)
@@ -11,7 +11,7 @@ extern "C" {
     {
       const f_status_t status = f_file_name_directory(f_string_empty_s, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index ff6ca9f06fc78a797fb89545e19923becf87e222..5cbb4c579547161bbaafb478e3e35c9b0179ad09 100644 (file)
@@ -66,7 +66,7 @@ void test__f_file_open__fails(void **state) {
 
     const f_status_t status = f_file_open(path, 0, &file);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 }
 
@@ -78,7 +78,7 @@ void test__f_file_open__fails(void **state) {
     {
       const f_status_t status = f_file_open(path, 0, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index d18b6b354088bf3a7c9998034d9e8d8744458a50..6f406ec6751fb520d297eb0fa7ed5f53af8a8bea 100644 (file)
@@ -68,7 +68,7 @@ void test__f_file_open_at__fails(void **state) {
 
     const f_status_t status = f_file_open_at(0, path, 0, &file);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 }
 
@@ -78,7 +78,7 @@ void test__f_file_open_at__fails(void **state) {
     {
       const f_status_t status = f_file_open_at(0, f_string_empty_s, 0, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 6f3cd29ecb1306c29470a682285f053a864f9c9b..ac7e6419a5c161e3c1f21c9d1d6d635b543d6081 100644 (file)
@@ -42,7 +42,7 @@ void test__f_file_owner_read__fails(void **state) {
 
     const f_status_t status = f_file_owner_read(path, F_true, &id);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 }
 
@@ -52,7 +52,7 @@ void test__f_file_owner_read__fails(void **state) {
     {
       const f_status_t status = f_file_owner_read(f_string_empty_s, F_false, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 18346745cfb781dab22c2fdc67e8dfa19d3a7d5d..92234227a4d22eb11bb9407ac34372893269f0eb 100644 (file)
@@ -43,7 +43,7 @@ void test__f_file_read__fails(void **state) {
 
     const f_status_t status = f_file_read(file, &buffer);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 
   f_string_dynamic_resize(0, &buffer);
@@ -60,7 +60,7 @@ void test__f_file_read__fails(void **state) {
     {
       const f_status_t status = f_file_read(file, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
 
     file.size_read = 0;
@@ -68,7 +68,7 @@ void test__f_file_read__fails(void **state) {
     {
       const f_status_t status = f_file_read(file, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
 
     {
@@ -76,7 +76,7 @@ void test__f_file_read__fails(void **state) {
 
       const f_status_t status = f_file_read(file, &string);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
 
     f_string_dynamic_resize(0, &buffer);
index 74ad8957ed08ef286f382729b9b2777f3b66b971..8e6b0fa034424e4b6c9f2092c5ab1359c3ef4310 100644 (file)
@@ -43,7 +43,7 @@ void test__f_file_read_block__fails(void **state) {
 
     const f_status_t status = f_file_read_block(file, &buffer);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 
   f_string_dynamic_resize(0, &buffer);
@@ -60,7 +60,7 @@ void test__f_file_read_block__fails(void **state) {
     {
       const f_status_t status = f_file_read_block(file, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
 
     file.size_read = 0;
@@ -68,7 +68,7 @@ void test__f_file_read_block__fails(void **state) {
     {
       const f_status_t status = f_file_read_block(file, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
 
     {
@@ -76,7 +76,7 @@ void test__f_file_read_block__fails(void **state) {
 
       const f_status_t status = f_file_read_block(file, &string);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
 
     f_string_dynamic_resize(0, &buffer);
index 796f391e449c27441dce76f99d7bf08462324995..3e44aa6b506f2a220878ab3fb5fe18580dc57b57 100644 (file)
@@ -43,7 +43,7 @@ void test__f_file_read_until__fails(void **state) {
 
     const f_status_t status = f_file_read_until(file, 1, &buffer);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 
   f_string_dynamic_resize(0, &buffer);
@@ -60,7 +60,7 @@ void test__f_file_read_until__fails(void **state) {
     {
       const f_status_t status = f_file_read_until(file, 1, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
 
     file.size_read = 0;
@@ -68,7 +68,7 @@ void test__f_file_read_until__fails(void **state) {
     {
       const f_status_t status = f_file_read_until(file, 1, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
 
     {
@@ -76,7 +76,7 @@ void test__f_file_read_until__fails(void **state) {
 
       const f_status_t status = f_file_read_until(file, 1, &string);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
 
     f_string_dynamic_resize(0, &buffer);
index bd3db21a6993ecc9e649e3cc8f4e5bd49aa5ba05..43b26f5a3869fb43072b321a1f7e56379144dc2a 100644 (file)
@@ -49,7 +49,7 @@ void test__f_file_remove__fails(void **state) {
 
       const f_status_t status = f_file_remove(path);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   }
 }
index aac3ca89fef1768e4a4414f40177486d2124a966..edc42ae2aeda60cca9cab5ef7b09dadb869a6aab 100644 (file)
@@ -51,7 +51,7 @@ void test__f_file_remove_at__fails(void **state) {
 
       const f_status_t status = f_file_remove_at(0, path, 0);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   }
 }
index e38fb2668e2265575fcb6062d29f7145116c3c18..347de5cac4aa1b3d602a3b6abfe1093bd604acff 100644 (file)
@@ -61,7 +61,7 @@ void test__f_file_rename__fails(void **state) {
 
       const f_status_t status = f_file_rename(path, path);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   }
 }
index 0373bf0780320be9bb10ba08619dd2696a7abbec..9c58ac2db3835f85e04e17b5cc6b2855b37df0b4 100644 (file)
@@ -68,7 +68,7 @@ void test__f_file_rename_at__fails(void **state) {
 
       const f_status_t status = f_file_rename_at(0, 0, path, path, 0);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   }
 }
index a1bae7f29e24d8a1fa6c5ed81930499f9a0a57a3..8f03596800986d05a77f7571d866a3bccb1b52c4 100644 (file)
@@ -34,7 +34,7 @@ void test__f_file_seek__fails(void **state) {
 
     const f_status_t status = f_file_seek(0, 0, 0, &seeked);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 }
 
@@ -46,19 +46,19 @@ void test__f_file_seek__fails(void **state) {
     {
       const f_status_t status = f_file_seek(0, -1, 0, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
 
     {
       const f_status_t status = f_file_seek(0, -1, 0, &seeked);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
 
     {
       const f_status_t status = f_file_seek(0, 0, 0, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 7a8eab30a43687ca4074ee3dbae90a5561d566b1..ee07e1e0195c01de3c56b7b187f5989c97d91ed4 100644 (file)
@@ -44,7 +44,7 @@ void test__f_file_size__fails(void **state) {
 
     const f_status_t status = f_file_size(path, F_false, &size);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 }
 
@@ -54,7 +54,7 @@ void test__f_file_size__fails(void **state) {
     {
       const f_status_t status = f_file_size(f_string_empty_s, F_false, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 3de4ad83104aac073b9d8e0ddfa58a4cbac69774..b5559de2b246347fd8772c1850f0565a067235c1 100644 (file)
@@ -46,7 +46,7 @@ void test__f_file_size_at__fails(void **state) {
 
     const f_status_t status = f_file_size_at(0, path, F_false, &size);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 }
 
@@ -56,7 +56,7 @@ void test__f_file_size_at__fails(void **state) {
     {
       const f_status_t status = f_file_size_at(0, f_string_empty_s, F_false, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 619e993deb67d334eee41388c6f7940db5524b62..8bf580f451f124fe82c8c2d5ad76a09f26d947ca 100644 (file)
@@ -44,7 +44,7 @@ void test__f_file_size_by_id__fails(void **state) {
 
     const f_status_t status = f_file_size_by_id(0, &size);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 }
 
@@ -54,7 +54,7 @@ void test__f_file_size_by_id__fails(void **state) {
     {
       const f_status_t status = f_file_size_by_id(0, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index c19228c04c5db27c955ce1947d1ecc037c4f822d..29dca5c6ae105761642eceb6ccba12f79f78f550 100644 (file)
@@ -46,7 +46,7 @@ void test__f_file_stat__fails(void **state) {
 
     const f_status_t status = f_file_stat(path, F_false, &result);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 }
 
@@ -56,7 +56,7 @@ void test__f_file_stat__fails(void **state) {
     {
       const f_status_t status = f_file_stat(f_string_empty_s, F_false, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index ba565f1efa921667007464bb33a8586cbbc3f58e..4d9aee0375c9c99cb8e3fcb4296cefa7eec3c73a 100644 (file)
@@ -48,7 +48,7 @@ void test__f_file_stat_at__fails(void **state) {
 
     const f_status_t status = f_file_stat_at(0, path, F_false, &result);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 }
 
@@ -58,7 +58,7 @@ void test__f_file_stat_at__fails(void **state) {
     {
       const f_status_t status = f_file_stat_at(0, f_string_empty_s, F_false, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index ca8c5a052437373ef8ee168d079f5eb4184b0ff2..ba220eff8a49440acbd8a9468551b18f20fb7e5e 100644 (file)
@@ -46,7 +46,7 @@ void test__f_file_stat_by_id__fails(void **state) {
 
     const f_status_t status = f_file_stat_by_id(0, &result);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 }
 
@@ -56,7 +56,7 @@ void test__f_file_stat_by_id__fails(void **state) {
     {
       const f_status_t status = f_file_stat_by_id(0, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index aaf8aabe94d265ef4498acefb6341dc2e3401c6b..3c42a81f959586a1b6c6daa047350b167115f8c9 100644 (file)
@@ -157,7 +157,7 @@ void test__f_file_stream_close__fails_for_stream(void **state) {
     {
       const f_status_t status = f_file_stream_close(F_false, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index d1ddfcaecc6ca76b65999aec34d4b15ac1a7c810..38726c835d89c3eca5de4e52e0c903bb16482924 100644 (file)
@@ -66,7 +66,7 @@ void test__f_file_stream_open__fails(void **state) {
 
     const f_status_t status = f_file_stream_open(path, path, &file);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 
   for (int i = 0; i < 21; ++i) {
@@ -78,7 +78,7 @@ void test__f_file_stream_open__fails(void **state) {
 
     const f_status_t status = f_file_stream_open(path, f_string_empty_s, &file);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 }
 
@@ -88,7 +88,7 @@ void test__f_file_stream_open__fails(void **state) {
     {
       const f_status_t status = f_file_stream_open(f_string_empty_s, f_string_empty_s, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 7d4d9970d102752521e59535120f5362bee3f1d2..317ac8e19633388d79199d5e1eea8602bd81bd4a 100644 (file)
@@ -64,7 +64,7 @@ void test__f_file_stream_open_descriptor__fails(void **state) {
 
     const f_status_t status = f_file_stream_open_descriptor(path, &file);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 
   for (int i = 0; i < 20; ++i) {
@@ -76,7 +76,7 @@ void test__f_file_stream_open_descriptor__fails(void **state) {
 
     const f_status_t status = f_file_stream_open_descriptor(f_string_empty_s, &file);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 }
 
@@ -86,7 +86,7 @@ void test__f_file_stream_open_descriptor__fails(void **state) {
     {
       const f_status_t status = f_file_stream_open_descriptor(f_string_empty_s, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 2a8b581db0f6e4ab519729e3c1054f9e755d7ff4..fcdf1a785e35b705f30eaabfb955cc04cd8f15b3 100644 (file)
@@ -53,7 +53,7 @@ void test__f_file_stream_read__fails(void **state) {
 
     const f_status_t status = f_file_stream_read(file, &buffer);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 
   f_string_dynamic_resize(0, &buffer);
@@ -67,7 +67,7 @@ void test__f_file_stream_read__fails(void **state) {
     {
       const f_status_t status = f_file_stream_read(file, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
 
     file.size_read = 0;
@@ -75,7 +75,7 @@ void test__f_file_stream_read__fails(void **state) {
     {
       const f_status_t status = f_file_stream_read(file, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
 
     {
@@ -83,7 +83,7 @@ void test__f_file_stream_read__fails(void **state) {
 
       const f_status_t status = f_file_stream_read(file, &string);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 0410682546f9668cf0457bfc4cd8e4083b8e89c0..2f0f122c7e8430101d8251c919bad3ca0f9d586c 100644 (file)
@@ -53,7 +53,7 @@ void test__f_file_stream_read_block__fails(void **state) {
 
     const f_status_t status = f_file_stream_read_block(file, &buffer);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 
   f_string_dynamic_resize(0, &buffer);
@@ -67,7 +67,7 @@ void test__f_file_stream_read_block__fails(void **state) {
     {
       const f_status_t status = f_file_stream_read_block(file, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
 
     file.size_read = 0;
@@ -75,7 +75,7 @@ void test__f_file_stream_read_block__fails(void **state) {
     {
       const f_status_t status = f_file_stream_read_block(file, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
 
     {
@@ -83,7 +83,7 @@ void test__f_file_stream_read_block__fails(void **state) {
 
       const f_status_t status = f_file_stream_read_block(file, &string);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index dbdbfd7a17205eb4ee44de95eada6508efc82a29..c8a408c5f4e663f23a567fdd303175732dabd183 100644 (file)
@@ -53,7 +53,7 @@ void test__f_file_stream_read_until__fails(void **state) {
 
     const f_status_t status = f_file_stream_read_until(file, 1, &buffer);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 
   f_string_dynamic_resize(0, &buffer);
@@ -67,7 +67,7 @@ void test__f_file_stream_read_until__fails(void **state) {
     {
       const f_status_t status = f_file_stream_read_until(file, 0, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
 
     file.size_read = 0;
@@ -75,7 +75,7 @@ void test__f_file_stream_read_until__fails(void **state) {
     {
       const f_status_t status = f_file_stream_read_until(file, 0, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
 
     {
@@ -83,7 +83,7 @@ void test__f_file_stream_read_until__fails(void **state) {
 
       const f_status_t status = f_file_stream_read_until(file, 0, &string);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index e176a4881c3e55e2653e1840939b796e97caa781..a208463d755ba5f565328c11f580a071c7b9a877 100644 (file)
@@ -62,7 +62,7 @@ void test__f_file_stream_reopen__fails(void **state) {
 
     const f_status_t status = f_file_stream_reopen(path, path, &file);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 
   for (int i = 0; i < 19; ++i) {
@@ -74,7 +74,7 @@ void test__f_file_stream_reopen__fails(void **state) {
 
     const f_status_t status = f_file_stream_reopen(path, f_string_empty_s, &file);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 }
 
@@ -84,7 +84,7 @@ void test__f_file_stream_reopen__fails(void **state) {
     {
       const f_status_t status = f_file_stream_reopen(f_string_empty_s, f_string_empty_s, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 4b62b812a7651492346419a7a078b0028f2d60ae..7af121d6a534e7750782a838cbcef7d7bbb9fc4a 100644 (file)
@@ -47,7 +47,7 @@ void test__f_file_stream_write__fails(void **state) {
 
     const f_status_t status = f_file_stream_write(file, path, 0);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 }
 
@@ -60,7 +60,7 @@ void test__f_file_stream_write__fails(void **state) {
     {
       const f_status_t status = f_file_stream_write(file, f_string_empty_s, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 6ad1ac787e5ada3f5052d6a014c6bc6cf1f9832b..40e9d1a4dd3f729d22effca8579d810f3f8259fd 100644 (file)
@@ -47,7 +47,7 @@ void test__f_file_stream_write_block__fails(void **state) {
 
     const f_status_t status = f_file_stream_write_block(file, path, 0);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 }
 
@@ -60,7 +60,7 @@ void test__f_file_stream_write_block__fails(void **state) {
     {
       const f_status_t status = f_file_stream_write_block(file, f_string_empty_s, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 6d8e5b9d7ef02703bc2b30e302975031b06428f1..34cbb22ea3574968c51ddbf26ead84dfcb46e09c 100644 (file)
@@ -48,7 +48,7 @@ void test__f_file_stream_write_range__fails(void **state) {
 
     const f_status_t status = f_file_stream_write_range(file, path, range, 0);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 }
 
@@ -63,7 +63,7 @@ void test__f_file_stream_write_range__fails(void **state) {
     {
       const f_status_t status = f_file_stream_write_range(file, f_string_empty_s, range, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 149d42c5778dcc3a1358625e763736e4410c2440..fba5f52e5bd3bf1d0144bba5dedea97c8b72a56f 100644 (file)
@@ -47,7 +47,7 @@ void test__f_file_stream_write_until__fails(void **state) {
 
     const f_status_t status = f_file_stream_write_until(file, path, 1, 0);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 }
 
@@ -60,7 +60,7 @@ void test__f_file_stream_write_until__fails(void **state) {
     {
       const f_status_t status = f_file_stream_write_until(file, f_string_empty_s, 0, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 90fbea6d043f2585a3f17cdc05348143408327f1..9efe15f3437110fc82303ee4516debc47e625975 100644 (file)
@@ -59,7 +59,7 @@ void test__f_file_touch__fails(void **state) {
         assert_int_equal(status, F_none);
       }
       else {
-        assert_int_equal(F_status_set_fine(status), statuss[i]);
+        assert_int_equal(status, F_status_set_error(statuss[i]));
       }
     } // for
   }
@@ -112,7 +112,7 @@ void test__f_file_touch__fails(void **state) {
 
       const f_status_t status = f_file_touch(path, mode, F_true);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   }
 }
index 59fbe26f374df4c43b3d4ef90db65c3fcd26f711..2e3b72c7b35aafcf97ebc1dfd357bc5f97d3ddb0 100644 (file)
@@ -61,7 +61,7 @@ void test__f_file_touch_at__fails(void **state) {
         assert_int_equal(status, F_none);
       }
       else {
-        assert_int_equal(F_status_set_fine(status), statuss[i]);
+        assert_int_equal(status, F_status_set_error(statuss[i]));
       }
     } // for
   }
@@ -114,7 +114,7 @@ void test__f_file_touch_at__fails(void **state) {
 
       const f_status_t status = f_file_touch_at(1, path, mode, 0);
 
-      assert_int_equal(F_status_set_fine(status), statuss[i]);
+      assert_int_equal(status, F_status_set_error(statuss[i]));
     } // for
   }
 }
index 55e01c348c1c38d0b4ba46ef57126a89c1388769..a35807ed1177588e6070ba56cc3c218dfd2d089f 100644 (file)
@@ -44,7 +44,7 @@ void test__f_file_type__fails(void **state) {
 
     const f_status_t status = f_file_type(path, F_false, &type);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 }
 
@@ -54,7 +54,7 @@ void test__f_file_type__fails(void **state) {
     {
       const f_status_t status = f_file_type(f_string_empty_s, F_true, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 8ea5a8a12a3f3c2333715ac6d9f6845d2b9057fb..229f63a7a02c1d4f0ef9f0dd3ef221f3a87884b2 100644 (file)
@@ -44,7 +44,7 @@ void test__f_file_type_at__fails(void **state) {
 
     const f_status_t status = f_file_type_at(0, path, 0, &mode);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 }
 
@@ -54,7 +54,7 @@ void test__f_file_type_at__fails(void **state) {
     {
       const f_status_t status = f_file_type_at(0, f_string_empty_s, 0, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 9f405d00ac212e130f1b17812d7719cff7cd307a..d9cd6e1bcb7d24ea5138e58d6d5ae5703fa0e25f 100644 (file)
@@ -11,7 +11,7 @@ extern "C" {
     {
       const f_status_t status = f_file_umask_get(0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 3830b4fd8af22a51688528b97dae99a973829802..301bf7062b4c1874676cfdae48c42501273be597 100644 (file)
@@ -44,7 +44,7 @@ void test__f_file_write__fails(void **state) {
 
     const f_status_t status = f_file_write(file, path, 0);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 
   for (int i = 0; i < 9; ++i) {
@@ -61,7 +61,7 @@ void test__f_file_write__fails(void **state) {
 
     const f_status_t status = f_file_write(file, path, 0);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 }
 
@@ -74,7 +74,7 @@ void test__f_file_write__fails(void **state) {
     {
       const f_status_t status = f_file_write(file, f_string_empty_s, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index ef7bd8cd8f888379671529446905cdcb6c96e15e..406923d35614f083ff2e812190c1ec75c9fb8da9 100644 (file)
@@ -44,7 +44,7 @@ void test__f_file_write_block__fails(void **state) {
 
     const f_status_t status = f_file_write_block(file, path, 0);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 }
 
@@ -57,7 +57,7 @@ void test__f_file_write_block__fails(void **state) {
     {
       const f_status_t status = f_file_write_block(file, f_string_empty_s, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 5c3bcb3405668732a52f034a243b3b8c0a1199c1..3cb1f65ed0eac186247a5461250655ee8e847fb3 100644 (file)
@@ -45,7 +45,7 @@ void test__f_file_write_range__fails(void **state) {
 
     const f_status_t status = f_file_write_range(file, path, range, 0);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 }
 
@@ -60,7 +60,7 @@ void test__f_file_write_range__fails(void **state) {
     {
       const f_status_t status = f_file_write_range(file, f_string_empty_s, range, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index efcb9327c8517973d1f82e93a6774ba1d501fc15..aa71a6d22576838a62a5a6543cec02c7de0e4fe7 100644 (file)
@@ -44,7 +44,7 @@ void test__f_file_write_until__fails(void **state) {
 
     const f_status_t status = f_file_write_until(file, path, 1, 0);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, F_status_set_error(statuss[i]));
   } // for
 }
 
@@ -57,7 +57,7 @@ void test__f_file_write_until__fails(void **state) {
     {
       const f_status_t status = f_file_write_until(file, f_string_empty_s, 0, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index bf776514d337ccd80133575d1a847dd91f868f98..f66e749336d1cf04badd0fe9777b788ef2615478 100644 (file)
@@ -47,7 +47,7 @@ void test__f_iki_content_is__returns_false(void **state) {
     {
       const f_status_t status = f_iki_content_is(f_string_empty_s, f_string_empty_s);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 9f3da1cbeef07303dd5ad6ad01b0371df5b1bdbd..c039071a6af1c3ff40eda741f0fc2c066ec37a1c 100644 (file)
@@ -65,7 +65,7 @@ void test__f_iki_content_partial_is__returns_false(void **state) {
 
       const f_status_t status = f_iki_content_partial_is(f_string_empty_s, range, f_string_empty_s);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 163c262cb09722e8c4e84331b88a90ad624792d6..1f6a02d0de5e1dd6ddd72108d8f7ad9d410cbfef 100644 (file)
@@ -17,7 +17,7 @@ extern "C" {
 
       const f_status_t status = f_iki_read(the_state, 0, &range, &iki);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
 
     {
@@ -25,7 +25,7 @@ extern "C" {
 
       const f_status_t status = f_iki_read(the_state, &empty, 0, &iki);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
 
     {
@@ -33,7 +33,7 @@ extern "C" {
 
       const f_status_t status = f_iki_read(the_state, &empty, &range, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
@@ -246,7 +246,7 @@ void test__f_iki_read__works(void **state) {
 
     const f_status_t status = f_iki_read(the_state, &buffers[i], &range, &iki);
 
-    assert_int_equal(F_status_set_fine(status), statuss[i]);
+    assert_int_equal(status, statuss[i]);
 
     if (matches[i] == 2) {
       const f_status_t status = f_iki_read(the_state, &buffers[i], &range, &iki);
index 57deb853e2b5c974ac1c3e221e3fd355ca5708c1..a073c628551094f92a24c84516d773e54bae1063 100644 (file)
@@ -42,7 +42,7 @@ void test__f_limit_process__fails(void **state) {
     {
       const f_status_t status = f_limit_process(1, 1, 0, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 892e2d5d0b6dbdf45ee641fce2e88834f004e77b..04b911e296d918bf05d92fa5f0e9b3f7a4f8e459 100644 (file)
@@ -11,13 +11,13 @@ extern "C" {
     {
       const f_status_t status = f_memory_adjust(1, 4, 0, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
 
     {
       const f_status_t status = f_memory_adjust(1, 4, 1, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 85ddd6aa5f4af323d577881d962dc4e44311c4f3..44522d3eedab0a044bd6d22f2a1b104fca679e00 100644 (file)
@@ -101,7 +101,7 @@ void test__f_memory_delete__frees_resized_memory(void **state) {
     {
       const f_status_t status = f_memory_delete(4, 0, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 75c30460e49e01276fcc92b4536eefc27b7f4f6a..9b844eedc84a6ca21b17af6cb48c42ed9a93f93c 100644 (file)
@@ -101,7 +101,7 @@ void test__f_memory_destroy__frees_resized_memory(void **state) {
     {
       const f_status_t status = f_memory_destroy(4, 0, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 257500e162f833ebe4b02aae66380c215caa0547..66d3a46a045fa95e7645d49d60de06164f5af509 100644 (file)
@@ -11,7 +11,7 @@ extern "C" {
     {
       const f_status_t status = f_memory_new(1, 0, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 859727bf97fbf71036e8b596b21301b827183649..990a7b098020b8799f13ea5407e8494fc84a64aa 100644 (file)
@@ -11,7 +11,7 @@ extern "C" {
     {
       const f_status_t status = f_memory_new_aligned(1, 0, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 8070bf0bcf492e236167af79e65568c0cf43d53b..4ea57d8e58cc50e99a4f0e213e432649e788117f 100644 (file)
@@ -11,13 +11,13 @@ extern "C" {
     {
       const f_status_t status = f_memory_resize(1, 4, 0, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
 
     {
       const f_status_t status = f_memory_resize(1, 4, 1, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 5627d2e46321907a461a95cdafcac0801af684af..e592b901d4d1574fb2a974002438ad656f1a6e49 100644 (file)
@@ -93,7 +93,7 @@ void test__f_path_current__fails(void **state) {
     {
       const f_status_t status = f_path_current(F_false, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index 744c61617c132af6ade2f1ddfc131ec83087be90..889f038e6e196a91d9af1830bf4d65e9751f836b 100644 (file)
@@ -13,7 +13,7 @@ extern "C" {
     {
       const f_status_t status = f_path_directory_cleanup(path, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index a3957f6aff87d0dc17cfe6184f7162960038d942..7cf24c353f8b9461784073e767daaa847b565361 100644 (file)
@@ -56,7 +56,7 @@ void test__f_path_real__fails(void **state) {
     {
       const f_status_t status = f_path_real(path, 0);
 
-      assert_int_equal(F_status_set_fine(status), F_parameter);
+      assert_int_equal(status, F_status_set_error(F_parameter));
     }
   }
 #endif // _di_level_0_parameter_checking_
index e308c73c9cd41fb970c6c7dea57c2de3cbe7d871..571daadfd0bc8639175ebdf58b493bb2139a1c5e 100644 (file)
@@ -12,7 +12,7 @@ void test__f_serialize_from_simple__parameter_checking(void **state) {
   {
     const f_status_t status = f_serialize_from_simple(source, 0);
 
-    assert_int_equal(F_status_set_fine(status), F_parameter);
+    assert_int_equal(status, F_status_set_error(F_parameter));
   }
 }
 
index cd87b4a7f09509908533fde08747cc475984d05d..a4ec8bcfe687b0549e85fd394e5c40bc1592795c 100644 (file)
@@ -12,7 +12,7 @@ void test__f_serialize_from_simple_get__parameter_checking(void **state) {
   {
     const f_status_t status = f_serialize_from_simple_get(source, 0, 0);
 
-    assert_int_equal(F_status_set_fine(status), F_parameter);
+    assert_int_equal(status, F_status_set_error(F_parameter));
   }
 }
 
index 85f658df9f3294807b0513742e44d01de810776b..23dddea058407fb203017d8e4672e49373cddfba 100644 (file)
@@ -12,7 +12,7 @@ void test__f_serialize_from_simple_range__parameter_checking(void **state) {
   {
     const f_status_t status = f_serialize_from_simple_range(source, 0);
 
-    assert_int_equal(F_status_set_fine(status), F_parameter);
+    assert_int_equal(status, F_status_set_error(F_parameter));
   }
 }
 
index 8c5668ff2f96fa81aabe2be200d3b5119424657f..53692722b2bcdfee58b1f321d64753467bec19b4 100644 (file)
@@ -12,7 +12,7 @@ void test__f_serialize_from_simple_select__parameter_checking(void **state) {
   {
     const f_status_t status = f_serialize_from_simple_select(source, 0, 0);
 
-    assert_int_equal(F_status_set_fine(status), F_parameter);
+    assert_int_equal(status, F_status_set_error(F_parameter));
   }
 }
 
index fac323a0e8c7c00bfd2661f70bf9e18009122ec2..83406f7d9529ac068896b6a683e1d40c0fb99ad5 100644 (file)
@@ -12,7 +12,7 @@ void test__f_serialize_to_simple__parameter_checking(void **state) {
   {
     const f_status_t status = f_serialize_to_simple(source, 0);
 
-    assert_int_equal(F_status_set_fine(status), F_parameter);
+    assert_int_equal(status, F_status_set_error(F_parameter));
   }
 }
 
index e8dea18a9eb4ee9c0c63fbe5fc5b1b33d67acdf6..9026a10ac5924ebacfbc2b595da414ccba0c250b 100644 (file)
@@ -23,7 +23,7 @@ void test__f_status_string_to__parameter_checking(void **state) {
   {
     const f_status_t status = f_status_string_to(F_false, 0);
 
-    assert_int_equal(F_status_set_fine(status), F_parameter);
+    assert_int_equal(status, F_status_set_error(F_parameter));
   }
 }