Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Google Mockは、テスト対象のオブジェクトのデストラクタで発生するモック関数への呼び出しをカウントしますか?
はい!
私はこれをテストし、実際にデストラクタ内のモックされた関数の呼び出しはカウントされます。つまり、それらをEXPECT_CALL()する必要があります...