[librsvg] Add some more no-op functions to the API tests
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg] Add some more no-op functions to the API tests
- Date: Fri, 28 Dec 2018 01:20:35 +0000 (UTC)
commit fdb33ac71aa3aee692f6afae3aaa6170d561f7b9
Author: Federico Mena Quintero <federico gnome org>
Date: Thu Dec 27 19:19:21 2018 -0600
Add some more no-op functions to the API tests
tests/api.c | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/tests/api.c b/tests/api.c
index 5b535e9b..1f6690ee 100644
--- a/tests/api.c
+++ b/tests/api.c
@@ -12,14 +12,8 @@
#include "test-utils.h"
/*
-rsvg_handle_get_base_uri
-rsvg_handle_set_base_uri
rsvg_handle_set_size_callback
rsvg_handle_internal_set_testing
-rsvg_handle_set_base_gfile
-rsvg_handle_get_title
-rsvg_handle_get_desc
-rsvg_handle_get_metadata
*/
static void
@@ -167,6 +161,11 @@ noops (void)
rsvg_init ();
rsvg_term ();
rsvg_cleanup ();
+
+ /* Just test that these are in the binary */
+ g_assert (rsvg_handle_get_title != NULL);
+ g_assert (rsvg_handle_get_desc != NULL);
+ g_assert (rsvg_handle_get_metadata != NULL);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]