mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-09 16:40:37 +01:00
shared: add nmtst_g_source_assert_not_called() helper
This commit is contained in:
parent
e54047608e
commit
c1559dae3f
1 changed files with 9 additions and 0 deletions
|
|
@ -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__ */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue