| 3710 | static int *g_cbdata_received = NULL; |
| 3711 | |
| 3712 | static int capture_data_callback(const char *name, const char *path, void *ud) { |
| 3713 | (void)name; |
| 3714 | (void)path; |
| 3715 | g_cbdata_received = (int *)ud; |
| 3716 | return 0; |
| 3717 | } |
| 3718 | |
| 3719 | TEST(watcher_callback_data_passed) { |
| 3720 | /* Verify that user_data pointer is accessible in the callback */ |
nothing calls this directly
no outgoing calls
no test coverage detected