| 295 CX_TEST_ASSERT(test == NULL); |
295 CX_TEST_ASSERT(test == NULL); |
| 296 } |
296 } |
| 297 } |
297 } |
| 298 |
298 |
| 299 static void *test_allocator_mock_failing_realloc( |
299 static void *test_allocator_mock_failing_realloc( |
| 300 cx_attr_unused void *p, |
300 CX_UNUSED void *p, |
| 301 cx_attr_unused void *d, |
301 CX_UNUSED void *d, |
| 302 cx_attr_unused size_t n |
302 CX_UNUSED size_t n |
| 303 ) { |
303 ) { |
| 304 return NULL; |
304 return NULL; |
| 305 } |
305 } |
| 306 |
306 |
| 307 CX_TEST(test_allocator_reallocate_fails) { |
307 CX_TEST(test_allocator_reallocate_fails) { |