Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 7c242acf authored by William Escande's avatar William Escande
Browse files

Mock static initialization order 04

cpp static order initialization is not guarantee.
In order to avoid the mess, we need to have a lazy init schema.
Replacing all clear with the function call:
```
's|mock_function_count_map.clear()|reset_mock_function_count_map()|'
```

Bug: 265217208
Test: atest --host
Change-Id: I65bf13382a0193393de017696bbeccd2b273ef07
parent 2506317f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment