Mock static initialization order 03
cpp static order initialization is not guarantee. In order to avoid the mess, we need to have a lazy init schema. Replacing all custom getter with the function call: ``` sed -i 's|mock_function_count_map\[\("[A-Za-z_]*"\)\]|get_func_call_count(\1)|' $(rg mock_function_count_map -l) ``` Bug: 265217208 Test: atest --host Change-Id: I849ab6c212d39cb0f2f03caa94320d5988b760b0
Loading
Please register or sign in to comment