diff options
author | Matthias Clasen <mclasen@redhat.com> | 2015-03-12 21:51:35 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-03-13 00:11:33 -0400 |
commit | a2b0c3367d75b066a18914e7ab820c3e2229fc5d (patch) | |
tree | 93096e6cca070d4e6ead3798b5e5f38da469e385 /tests/test-common.h | |
parent | 5a00bdb4873056749a833173112d78d578f82c72 (diff) | |
download | pango-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.h | 22 |
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 |