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.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/test-common.h b/tests/test-common.h
index 28a850ae..22953f2d 100644
--- a/tests/test-common.h
+++ b/tests/test-common.h
@@ -6,6 +6,10 @@ char * diff_with_file (const char *file,
gssize len,
GError **error);
+gboolean file_has_prefix (const char *file,
+ const char *str,
+ GError **error);
+
void print_attribute (PangoAttribute *attr,
GString *string);
@@ -15,6 +19,9 @@ void print_attributes (GSList *attrs,
void print_attr_list (PangoAttrList *attrs,
GString *string);
+PangoAttrList *
+attributes_from_string (const char *string);
+
const char *get_script_name (GUnicodeScript s);