API Reference¶
Class Hierarchy¶
File Hierarchy¶
Full API¶
Namespaces¶
Classes and Structs¶
- Struct MutinyMockActualCall
- Struct Documentation
MutinyMockActualCallwith_bool_parameterswith_int_parameterswith_unsigned_int_parameterswith_long_int_parameterswith_unsigned_long_int_parameterswith_long_long_int_parameterswith_unsigned_long_long_int_parameterswith_double_parameterswith_string_parameterswith_pointer_parameterswith_const_pointer_parameterswith_function_pointer_parameterswith_memory_buffer_parameterwith_parameter_of_typewith_output_parameterwith_output_parameter_of_typehas_return_valuereturn_valuebool_return_valuereturn_bool_value_or_defaultint_return_valuereturn_int_value_or_defaultunsigned_int_return_valuereturn_unsigned_int_value_or_defaultlong_int_return_valuereturn_long_int_value_or_defaultunsigned_long_int_return_valuereturn_unsigned_long_int_value_or_defaultlong_long_int_return_valuereturn_long_long_int_value_or_defaultunsigned_long_long_int_return_valuereturn_unsigned_long_long_int_value_or_defaultstring_return_valuereturn_string_value_or_defaultdouble_return_valuereturn_double_value_or_defaultpointer_return_valuereturn_pointer_value_or_defaultconst_pointer_return_valuereturn_const_pointer_value_or_defaultfunction_pointer_return_valuereturn_function_pointer_value_or_default
- Struct Documentation
- Struct MutinyMockExpectedCall
- Struct Documentation
MutinyMockExpectedCallwith_bool_parameterswith_int_parameterswith_unsigned_int_parameterswith_long_int_parameterswith_unsigned_long_int_parameterswith_long_long_int_parameterswith_unsigned_long_long_int_parameterswith_double_parameterswith_double_parameters_and_tolerancewith_string_parameterswith_pointer_parameterswith_const_pointer_parameterswith_function_pointer_parameterswith_memory_buffer_parameterwith_parameter_of_typewith_output_parameter_returningwith_output_parameter_of_type_returningwith_unmodified_output_parameterignore_other_parametersand_return_bool_valueand_return_unsigned_int_valueand_return_int_valueand_return_long_int_valueand_return_unsigned_long_int_valueand_return_long_long_int_valueand_return_unsigned_long_long_int_valueand_return_double_valueand_return_string_valueand_return_pointer_valueand_return_const_pointer_valueand_return_function_pointer_value
- Struct Documentation
- Struct MutinyMockSupport
- Struct Documentation
MutinyMockSupportstrict_orderexpect_one_callexpect_no_callexpect_n_callsactual_callhas_return_valuereturn_valuebool_return_valuereturn_bool_value_or_defaultint_return_valuereturn_int_value_or_defaultunsigned_int_return_valuereturn_unsigned_int_value_or_defaultlong_int_return_valuereturn_long_int_value_or_defaultunsigned_long_int_return_valuereturn_unsigned_long_int_value_or_defaultlong_long_int_return_valuereturn_long_long_int_value_or_defaultunsigned_long_long_int_return_valuereturn_unsigned_long_long_int_value_or_defaultstring_return_valuereturn_string_value_or_defaultdouble_return_valuereturn_double_value_or_defaultpointer_return_valuereturn_pointer_value_or_defaultconst_pointer_return_valuereturn_const_pointer_value_or_defaultfunction_pointer_return_valuereturn_function_pointer_value_or_defaultset_bool_dataset_int_dataset_unsigned_int_dataset_long_int_dataset_unsigned_long_int_dataset_long_long_int_dataset_unsigned_long_long_int_dataset_string_dataset_double_dataset_pointer_dataset_const_pointer_dataset_function_pointer_dataset_data_objectset_data_const_objectget_datadisableenableignore_other_callscheck_expectationsexpected_calls_leftclearcrash_on_failureinstall_comparatorinstall_copierremove_all_comparators_and_copiers
- Struct Documentation
- Class ActualCall
- Class Documentation
mu::tiny::mock::ActualCallFunctionPointerReturnValueActualCall()~ActualCall()with_name()with_call_order()with_parameter()with_parameter()with_typed_parameter()with_parameter_of_type()with_output_parameter()with_output_parameter_of_type()has_return_value()return_value()return_value()return_value_or_default()on_object()
- Class Documentation
- Class ExpectedCall
- Class Documentation
mu::tiny::mock::ExpectedCallExpectedCall()~ExpectedCall()with_name()with_call_order()with_call_order()with_parameter()with_parameter()with_parameter()with_typed_parameter()with_parameter_of_type()with_output_parameter_returning()with_output_parameter_of_type_returning()with_unmodified_output_parameter()ignore_other_parameters()and_return_value()and_return_typed_value()on_object()
- Class Documentation
- Class NamedValue
- Class Documentation
mu::tiny::mock::NamedValueFunctionPointerValueNamedValue()NamedValue()NamedValue()operator=()~NamedValue()set_value()set_value()set_memory_buffer()set_const_object_pointer()set_object_pointer()set_size()set_name()equals()compatible_for_copying()to_string()get_name()get_type()get_value()get_double_tolerance()get_memory_buffer()get_const_object_pointer()get_object_pointer()is_const_object()get_size()get_comparator()get_copier()set_value()set_value()set_value()set_value()set_value()set_value()set_value()set_value()set_value()set_value()set_value()get_value()get_value()get_value()get_value()get_value()get_value()get_value()get_value()get_value()get_value()get_value()set_value()set_value()set_value()set_value()set_value()get_value()get_value()get_value()get_value()get_value()bool_valueint_valueunsigned_int_valuelong_int_valueunsigned_long_int_valuelong_long_int_valueunsigned_long_long_int_valuevaluetolerancedouble_valuestring_valuepointer_valueconst_pointer_valuefunction_pointer_valuememory_buffer_valueconst_object_pointer_valueobject_pointer_valueoutput_pointer_valueset_default_comparators_and_copiers_repository()get_default_comparators_and_copiers_repository()default_double_tolerance
- Class Documentation
- Class Support
- Class Documentation
mu::tiny::mock::SupportFunctionPointerValueSupport()~Support()strict_order()expect_one_call()expect_no_call()expect_n_calls()actual_call()has_return_value()return_value()return_value()return_value_or_default()has_data()set_data()set_data()set_data()set_data()set_data()set_data()set_data()set_data()set_data()set_data()set_data()set_data()set_data_object()set_data_const_object()get_data()get_mock_support_scope()disable()enable()tracing()ignore_other_calls()check_expectations()expected_calls_left()clear()crash_on_failure()set_mock_failure_standard_reporter()set_active_reporter()set_default_comparators_and_copiers_repository()install_comparator()install_copier()install_comparators_and_copiers()remove_all_comparators_and_copiers()get_trace_output()clone()create_actual_call()fail_test()count_check()
- Class Documentation
- Class String
- Class Documentation
mu::tiny::StringString()String()String()String()String()String()~String()operator=()operator=()operator+()operator+=()operator+=()operator+=()operator+=()operator[]()operator[]()find()find()substr()substr()c_str()data()data()size()length()capacity()empty()clear()reserve()resize()nposoperator<
- Class Documentation
- Class CommandLineArguments
- Class Documentation
mu::tiny::test::CommandLineArgumentsCommandLineArguments()~CommandLineArguments()CommandLineArguments()operator=()parse()need_help()is_verbose()is_very_verbose()is_color()is_listing_test_group_names()is_listing_test_group_and_case_names()is_listing_test_locations()is_listing_ordered_test_locations()is_listing_test_group_locations()is_run_skipped()get_repeat_count()is_shuffling()is_reversing()is_crashing_on_fail()is_rethrowing_exceptions()get_shuffle_seed()get_group_filters()get_name_filters()help()
- Class Documentation
- Class Failure
- Inheritance Relationships
- Class Documentation
mu::tiny::test::FailureFailure()Failure()Failure()Failure()Failure()~Failure()get_file_name()get_test_name()get_test_name_only()get_failure_line_number()get_message()get_test_file_name()get_test_line_number()is_error()is_outside_test_file()is_in_helper_function()operator=()test_name_test_name_only_file_name_line_number_test_file_name_test_line_number_message_create_but_was_string()create_difference_at_pos_string()create_user_text()
- Class Output
- Inheritance Relationships
- Class Documentation
mu::tiny::test::OutputMutinyVerbosityLevelFileFOpenFuncFPutsFuncFCloseFuncOutput()~Output()print_tests_started()print_tests_ended()print_current_test_started()print_current_test_ended()print_current_group_started()print_current_group_ended()verbose()color()print_buffer()print()print()print()print()print()print_failure()print_test_property()print_skipped()print_test_run()set_progress_indicator()print_very_verbose()needs_console_companion()flush()stdout_fopen_fputs_fclose_print_progress_indicator()print_file_and_line_for_test_and_failure()print_file_and_line_for_failure()print_failure_in_test()print_failure_message()print_error_in_file_on_line_formatted_for_working_environment()Output()operator=()dot_count_verbose_color_progress_indication_
- Class Plugin
- Inheritance Relationships
- Class Documentation
mu::tiny::test::PluginPlugin()~Plugin()pre_test_action()post_test_action()parse_arguments()get_help()create_output()create_all_outputs()run_all_pre_test_action()run_all_post_test_action()parse_all_arguments()parse_all_arguments()get_all_help()add_plugin()get_next()disable()enable()is_enabled()get_name()Plugin()
- Class Registry
- Class Documentation
mu::tiny::test::RegistryRegistry()~Registry()add_test()un_do_last_add_test()count_tests()run_all_tests()shuffle_tests()reverse_tests()list_test_group_names()list_test_group_and_case_names()list_test_locations()list_ordered_test_locations()list_test_group_locations()set_name_filters()set_group_filters()install_plugin()reset_plugins()restore_plugins()get_first_plugin()count_plugins()get_first_test()get_test_with_next()find_test_with_name()find_test_with_group()set_current_registry()get_current_repetition()set_run_skipped()get_current_registry()
- Class Documentation
- Class Result
- Class Documentation
mu::tiny::test::ResultResult()Result()~Result()tests_started()tests_ended()current_group_started()current_group_ended()current_test_started()current_test_ended()count_test()count_run()count_check()count_filtered_out()count_skipped()skip_test()add_failure()add_test_property()print()print_very_verbose()get_test_count()get_run_count()get_check_count()get_filtered_out_count()get_skipped_count()get_failure_count()is_failure()get_total_execution_time()set_total_execution_time()get_current_test_total_execution_time()get_current_group_total_execution_time()
- Class Documentation
- Class Shell
- Inheritance Relationships
- Class Documentation
mu::tiny::test::ShellShell()~Shell()add_test()get_next()count_tests()should_run()get_name()get_group()get_formatted_name()get_file()get_line_number()will_run()has_failed()is_ordered()assert_true()assert_cstr_equal()assert_cstr_n_equal()assert_cstr_contains()assert_intmax_equal()assert_uintmax_equal()assert_pointers_equal()assert_approx_equal()assert_equals()assert_equals()assert_binary_equal()assert_compare()fail()exit_test()skip_test()print_very_verbose()set_file_name()set_line_number()set_group_name()set_test_name()set_run_skipped()create_test()destroy_test()run_one_test()run_one_test_in_current_process()add_failure()add_test_property()get_macro_name()get_current()get_current_test_terminator()get_current_test_terminator_without_exceptions()set_crash_on_fail()restore_default_test_terminator()set_rethrow_exceptions()is_rethrowing_exceptions()count_check()crash()set_crash_method()reset_crash_method()Shell()get_test_result()
- Class TestingFixture
- Class Documentation
mu::tiny::test::TestingFixtureTestingFixture()~TestingFixture()flush_output_and_reset_result()add_test()install_plugin()set_test_function()set_test_function()set_setup()set_teardown()set_output_verbose()run_test_with_method()run_all_tests()get_failure_count()get_check_count()get_skip_count()get_run_count()get_test_count()get_output()get_registry()has_test_failed()assert_print_contains()assert_print_contains_not()check_test_fails_with_proper_test_location()line_executed_after_check()replace_output()
- Class Documentation
Enums¶
- Enum MutinyMockValueType
- Enum Documentation
MutinyMockValueTypemutiny_type_boolmutiny_type_unsigned_integermutiny_type_integermutiny_type_long_integermutiny_type_unsigned_long_integermutiny_type_long_long_integermutiny_type_unsigned_long_long_integermutiny_type_doublemutiny_type_stringmutiny_type_pointermutiny_type_const_pointermutiny_type_functionpointermutiny_type_memorybuffermutiny_type_objectmutiny_type_const_object
- Enum Documentation