Debian Codegraph @

tests/mock_messages_tests.expected

raw
1 Running "mock_messages_tests" (21 tests)...
2 mock_messages_tests.c:000: Failure: Mocks -> calls_beyond_expected_sequence_fail_when_mocks_are_strict
3 Mocked function [integer_out] was called too many times
4
5 mock_messages_tests.c:000: Failure: Mocks -> calls_beyond_expected_sequence_fail_when_mocks_are_strict
6 Expected [integer_out()] to [equal] [3]
7 actual value: [0]
8 expected value: [3]
9
10 mock_messages_tests.c:000: Failure: Mocks -> can_declare_function_never_called
11 Mocked function [sample_mock] has an expectation that it will never be called, but it was
12
13 mock_messages_tests.c:000: Failure: Mocks -> constraint_number_of_calls_out_of_order_expectations_fail
14 Expected [[first] parameter in [simple_mocked_function]] to [equal] [1]
15 actual value: [2]
16 expected value: [1]
17
18 mock_messages_tests.c:000: Failure: Mocks -> constraint_number_of_calls_out_of_order_expectations_fail
19 Expected [[first] parameter in [simple_mocked_function]] to [equal] [2]
20 actual value: [1]
21 expected value: [2]
22
23 mock_messages_tests.c:000: Failure: Mocks -> constraint_number_of_calls_when_not_called_enough_times
24 Expected [simple_mocked_function] to [be called] [times]
25 actual value: [1]
26 expected to have been called: [2] times
27
28 mock_messages_tests.c:000: Failure: Mocks -> failure_reported_when_expect_after_always_expect_for_same_function
29 Mocked function [integer_out] already has an expectation that it will always be called a certain way; any expectations declared after an always expectation are invalid
30
31 mock_messages_tests.c:000: Failure: Mocks -> failure_reported_when_expect_after_never_expect_for_same_function
32 Mocked function [integer_out] already has an expectation that it will never be called; any expectations declared after a never call expectation are invalid
33
34 mock_messages_tests.c:000: Failure: Mocks -> failure_when_no_presets_for_default_strict_mock
35 Mocked function [integer_out] did not have an expectation that it would be called
36
37 mock_messages_tests.c:000: Failure: Mocks -> lists_unexpected_mock_calls
38 Mocked function [unexpected_mock] did not have an expectation that it would be called
39
40 mock_messages_tests.c:000: Failure: Mocks -> reports_always_expect_after_never_expect_for_same_function
41 Mocked function [integer_out] already has an expectation that it will never be called; any expectations declared after a never call expectation are discarded
42
43 mock_messages_tests.c:000: Failure: Mocks -> reports_multiple_always_expect
44 Mocked function [integer_out] already has an expectation and will always be called a certain way; any expectations declared after an always expectation are discarded
45
46 mock_messages_tests.c:000: Failure: Mocks -> reports_multiple_never_expect
47 Mocked function [integer_out] already has an expectation that it will never be called; declaring an expectation for a function after a never call expectation is not allowed
48
49 mock_messages_tests.c:000: Failure: Mocks -> reports_never_expect_after_always_expect_for_same_function
50 Mocked function [integer_out] already has an expectation and will always be called a certain way; declaring an expectation after an always expectation is not allowed
51
52 mock_messages_tests.c:000: Failure: Mocks -> should_detect_two_unfulfilled_expectations_on_unknown_functions
53 Expected call was not made to mocked function [f1]
54
55 mock_messages_tests.c:000: Failure: Mocks -> should_detect_two_unfulfilled_expectations_on_unknown_functions
56 Expected call was not made to mocked function [f2]
57
58 mock_messages_tests.c:000: Failure: Mocks -> should_detect_two_unfulfilled_expectations_without_constraints_on_unknown_functions
59 Expected call was not made to mocked function [f1]
60
61 mock_messages_tests.c:000: Failure: Mocks -> should_detect_two_unfulfilled_expectations_without_constraints_on_unknown_functions
62 Expected call was not made to mocked function [f2]
63
64 mock_messages_tests.c:000: Failure: Mocks -> single_uncalled_expectation_fails_tally
65 Expected call was not made to mocked function [string_out]
66
67 "Mocks": 5 passes, 2 skipped, 19 failures in 0ms.
68 Completed "mock_messages_tests": 5 passes, 2 skipped, 19 failures in 0ms.
69 Mocks -> can_learn_double_expects : Learned mocks are
70 expect(double_in, when(in, is_equal_to_double(3.140000)));
71 Mocks -> learning_mocks_emit_none_when_learning_no_mocks : Learned mocks are
72 <none>
73 Mocks -> learning_mocks_emit_pastable_code : Learned mocks are
74 expect(string_out, when(p1, is_equal_to(1)));
75 expect(string_out, when(p1, is_equal_to(2)));
76 expect(integer_out);
77 expect(integer_out);
78 expect(string_out, when(p1, is_equal_to(3)));
79 expect(integer_out);