-
```
The C++11 standard introduces new "override" and "final" keywords in virtual
function declarations. The "override" keyword is especially useful in context
of creating mock functions. Macros MOCK…
-
Efficient isolated fuzzing of our message processing code (net processing) would be very valuable. However, to make that deterministic, fast and fuzzer friendly it appears that extensive refactoring i…
-
Given the provided codebase spanning multiple files and responsibilities, from configuration and logging utilities to the integration with external services like GitHub and an LLM, pinpointing a singl…
-
When using Grid, ComboBox or any other component using data providers, I want to be able just to supply a Stream and let the provider filter/sort/skip/limit with Stream methods, so that I can use my o…
-
```
Mockito is easy to use when the test needs to provide canned values for a
certain method.
But it gets harder when a canned value isn't sufficient.
======Example 1: Fake with trivial Logic======…
-
```
Mockito is easy to use when the test needs to provide canned values for a
certain method.
But it gets harder when a canned value isn't sufficient.
======Example 1: Fake with trivial Logic======…
-
```
Mockito is easy to use when the test needs to provide canned values for a
certain method.
But it gets harder when a canned value isn't sufficient.
======Example 1: Fake with trivial Logic======…
-
```
The new C++11 standard allows for rvalue references in method parameters. Using
those for move semantics is very useful. We need to suppor them, e.g.:
MOCK_METHOD1(mock, foo(int&& i));
```
Orig…
-
```
The new C++11 standard allows for rvalue references in method parameters. Using
those for move semantics is very useful. We need to suppor them, e.g.:
MOCK_METHOD1(mock, foo(int&& i));
```
Orig…
-
```
The new C++11 standard allows for rvalue references in method parameters. Using
those for move semantics is very useful. We need to suppor them, e.g.:
MOCK_METHOD1(mock, foo(int&& i));
```
Orig…