summaryrefslogtreecommitdiff
path: root/tests/test-common.h
diff options
context:
space:
mode:
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