aboutsummaryrefslogtreecommitdiffstats
path: root/libfonts_decode_font_description.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-01-08 11:11:55 +0100
committerMattias Andrée <maandree@kth.se>2023-01-08 11:11:55 +0100
commitaaf631e76df1e1a730b6a0ffb0d62b3ba661643e (patch)
tree1a737835a07eaebd3436a1fee19bf691f63d918b /libfonts_decode_font_description.c
parentFix and test libfonts_get_default_font_name (diff)
downloadlibfonts-aaf631e76df1e1a730b6a0ffb0d62b3ba661643e.tar.gz
libfonts-aaf631e76df1e1a730b6a0ffb0d62b3ba661643e.tar.bz2
libfonts-aaf631e76df1e1a730b6a0ffb0d62b3ba661643e.tar.xz
Move test-todos into .c-files and add empty test functions
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--libfonts_decode_font_description.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/libfonts_decode_font_description.c b/libfonts_decode_font_description.c
index 46031de..2348d97 100644
--- a/libfonts_decode_font_description.c
+++ b/libfonts_decode_font_description.c
@@ -1,5 +1,7 @@
/* See LICENSE file for copyright and license details. */
#include "common.h"
+#ifndef TEST
+
#define LIST_FIELDS_EXCEPT_FINAL(X)\
X(foundry)\
@@ -215,3 +217,16 @@ private:
desc->private_font_name = desc->_buf;
return 0;
}
+
+
+#else
+
+
+int
+main(void) /* TODO add test */
+{
+ return 0;
+}
+
+
+#endif