summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2018-09-08 16:13:01 +0200
committerThomas Haller <thaller@redhat.com>2018-10-25 16:37:35 +0200
commit6dcc0999a6091f21f705343f12984c38c8f64efa (patch)
treeb068e4acd0dd15b6d267e3ceea860143576e222f
parent50e092a967e3e8baac75dd09f69ec2a94f70f889 (diff)
downloadNetworkManager-6dcc0999a6091f21f705343f12984c38c8f64efa.tar.gz
shared/tests: add NMTST_EXPECT_LIBNM_WARNING() macro
-rw-r--r--shared/nm-utils/nm-test-utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/shared/nm-utils/nm-test-utils.h b/shared/nm-utils/nm-test-utils.h
index 89bd111992..4a329f1534 100644
--- a/shared/nm-utils/nm-test-utils.h
+++ b/shared/nm-utils/nm-test-utils.h
@@ -700,6 +700,7 @@ nmtst_test_quick (void)
#else
#define NMTST_EXPECT_LIBNM(level, msg) NMTST_EXPECT ("libnm", level, msg)
+#define NMTST_EXPECT_LIBNM_WARNING(msg) NMTST_EXPECT_LIBNM (G_LOG_LEVEL_WARNING, msg)
#define NMTST_EXPECT_LIBNM_CRITICAL(msg) NMTST_EXPECT_LIBNM (G_LOG_LEVEL_CRITICAL, msg)
#endif