cmocka: Deprecated List

cmocka 2.0.0 Unit testing library with mock support

Loading...
Searching...
No Matches
Deprecated List

Global assert_in_range (uintmax_t value, uintmax_t minimum, uintmax_t maximum)
  Use assert_int_in_range() and assert_uint_in_range()
Global assert_in_set (uintmax_t value, uintmax_t values[], size_t count)
  Use assert_int_in_set() or assert_uint_in_set()
Global assert_not_in_range (uintmax_t value, uintmax_t minimum, uintmax_t maximum)
  Use assert_int_not_in_range() or assert_uint_not_in_range()
Global check_expected (#parameter)
  Use check_expected_int(), check_expected_uint(), check_expected_float or check_expetecd_double() instead.
Global cm_print_error (const char *const format,...)
  Use cmocka_print_error()
Global expect_check (function, parameter, CheckParameterValue check_function, const void *check_data)
  Use expect_check_data()
Global expect_check_count (function, parameter, CheckParameterValue check_function, const void *check_data, size_t count)
  Use expect_check_data_count()
Global expect_in_range (#function, #parameter, uintmax_t minimum, uintmax_t maximum)
  Use expect_int_in_range()
Global expect_in_range_count (#function, #parameter, uintmax_t minimum, uintmax_t maximum, size_t count)
  Use expect_int_in_range_count()
Global expect_in_set (#function, #parameter, uintmax_t value_array[])
  Use expect_int_in_set() or expect_uint_in_set()
Global expect_in_set_count (#function, #parameter, uintmax_t value_array[], size_t count)
  Use expect_int_in_set_count() or expect_uint_in_set_count()
Global expect_not_in_set (#function, #parameter, uintmax_t value_array[])
  Use expect_int_not_in_set() or expect_uint_not_in_set()
Global expect_not_in_set_count (#function, #parameter, uintmax_t value_array[], size_t count)
  Use expect_int_not_in_set_count() or expect_uint_not_in_set_count()
Global expect_not_value (#function, #parameter, uintmax_t value)
  Use expect_int_not_value() or expect_uint_not_value()
Global expect_not_value_count (#function, #parameter, uintmax_t value, size_t count)
  Use expect_int_not_value_count() or expect_uint_not_value_count()
Global expect_value (#function, #parameter, uintmax_t value)
  Use expect_int_value() or expect_uint_value()
Global expect_value_count (#function, #parameter, uintmax_t value, size_t count)
  Use expect_int_value_count() or expect_uint_value_count()
Global group_test_setup (setup)
  This function was deprecated in favor of cmocka_run_group_tests
Global group_test_teardown (teardown)
  This function was deprecated in favor of cmocka_run_group_tests
Global unit_test (f)
  This function was deprecated in favor of cmocka_unit_test
Global unit_test_setup (test, setup)
  This function was deprecated in favor of cmocka_unit_test_setup
Global unit_test_setup_teardown (test, setup, teardown)
  This function was deprecated in favor of cmocka_unit_test_setup_teardown
Global unit_test_teardown (test, teardown)
  This function was deprecated in favor of cmocka_unit_test_teardown
Global will_return_always (#function, uintmax_t value)
  Use will_return_int_always() or will_return_uint_always()
Global will_return_count (#function, uintmax_t value, int count)
  Use will_return_int_count() or will_return_uint_count()
Global will_return_maybe (#function, uintmax_t value)
  Use will_return_int_maybe() or will_return_uint_maybe()
Global will_set_parameter_always (#function, #name, uintmax_t value)
  Use will_set_parameter_int_always() or will_set_parameter_uint_always()
Global will_set_parameter_count (#function, #name, uintmax_t value, int count)
  Use will_set_parameter_int_count() or will_set_parameter_uint_count()
Global will_set_parameter_maybe (#function, #name, uintmax_t value)
  Use will_set_parameter_int_maybe() or will_set_parameter_uint_maybe()