shared: add nmtst_g_source_assert_not_called() helper

This commit is contained in:
Thomas Haller 2019-09-30 09:39:25 +02:00
parent e54047608e
commit c1559dae3f

View file

@ -2283,4 +2283,13 @@ nmtst_keyfile_get_num_keys (GKeyFile *keyfile,
/*****************************************************************************/
static inline gboolean
nmtst_g_source_assert_not_called (gpointer user_data)
{
g_assert_not_reached ();
return G_SOURCE_CONTINUE;
}
/*****************************************************************************/
#endif /* __NM_TEST_UTILS_H__ */