Matt Durak
Matt Durak
`##[warning]No test sources found matching the given filter '**\*test*.dll,!**\obj\**'`
Example: ``` typedef unsigned char my_type[32]; // … test code ASSERT_ARE_EQUAL(my_type, a, b); ``` Fails to compile in `CTEST_ASSERT_ARE_EQUAL` because the code tries to cast/assign an array type: ``` #define...
Current code might do something like this: ```c static void setup(int* optional_value) { if (optional_value != NULL) { STRICT_EXPECTED_CALL(foo(IGNORED_ARG)) .CopyOutArgumentBuffer_result(optional_value, sizeof(optional_value)); } else { STRICT_EXPECTED_CALL(foo(IGNORED_ARG)); } } ``` Would be...
Would be nice to have IGNORED_ARG, but fail if the argument is NULL. Only possible to do now with mock hook that explicitly checks.
Call recorder is not thread safe, but it would be nice to be thread safe in case of multi-threaded tests that want to ignore certain mocked calls in the call...