How can I test a call is made after a delay in google test using a mocking framework
问题 I'm currently trying to evaluate different testing frameworks. When using mocking frameworks (I'm leaning towards FakeIt, but google mock is good too), I know that you can roll your own "performance" testing by using the OS's timer calls before and after calling a function to verify the function's performance. This is not what I'm after. What I do have are classes that implement delays on outputs given certain inputs. For example: input 1 goes from low to high output 1 goes from low to high