summaryrefslogtreecommitdiff
path: root/tests/test-common.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-03-12 21:51:35 -0400
committerMatthias Clasen <mclasen@redhat.com>2015-03-13 00:11:33 -0400
commita2b0c3367d75b066a18914e7ab820c3e2229fc5d (patch)
tree93096e6cca070d4e6ead3798b5e5f38da469e385 /tests/test-common.h
parent5a00bdb4873056749a833173112d78d578f82c72 (diff)
downloadpango-a2b0c3367d75b066a18914e7ab820c3e2229fc5d.tar.gz
Split out some test functions
These will be reused later.
Diffstat (limited to 'tests/test-common.h')
-rw-r--r--tests/test-common.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/test-common.h b/tests/test-common.h
new file mode 100644
index 00000000..ae81d3aa
--- /dev/null
+++ b/tests/test-common.h
@@ -0,0 +1,22 @@
+#ifndef __TEST_COMMON_H__
+#define __TEST_COMMON_H__
+
+char * diff_with_file (const char *file,
+ char *text,
+ gssize len,
+ GError **error);
+
+void print_attribute (PangoAttribute *attr,
+ GString *string);
+
+void print_attributes (GSList *attrs,
+ GString *string);
+
+void print_attr_list (PangoAttrList *attrs,
+ GString *string);
+
+GSList *attr_list_to_list (PangoAttrList *attrs);
+
+
+
+#endif