Debian Codegraph @

test/system/test_interactions/ignore_strict_mock_calling.yml

raw symbols SCIP
1 ---
2 :cmock:
3 :plugins:
4 - 'ignore'
5 :fail_on_unexpected_calls: FALSE
6
7 :systest:
8 :types: |
9
10 :mockable: |
11 int foo(int a);
12 void bar(int b);
13
14 :source:
15 :header: |
16 int function(int a, int b, int c);
17 :code: |
18 int function(int a, int b, int c)
19 {
20 bar(b);
21 return foo(a) + foo(b) + foo(c);
22 }
23
24 :tests:
25 :common: |
26 void setUp(void) {}
27 void tearDown(void) {}
28 :units:
29 - :pass: TRUE
30 :should: 'With "fail_on_unexpected_calls" disabled, Expect/Ignore/... of bar is NOT required.'
31 :code: |
32 test()
33 {
34 function(1, 2, 3);
35 }
36
37 ...