summaryrefslogtreecommitdiff
path: root/tests/test-common.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-07-08 13:38:36 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-07-08 13:38:36 -0400
commit5988509d25a99836e904988be57541997e237f23 (patch)
treee53f3367ba90bd038253f98a0df58fd454367826 /tests/test-common.h
parent18cfe50caa1dc6e3295ad6bf5151b14ffbcfbc37 (diff)
downloadglib-unicode-test.tar.gz
Add a unicode data testunicode-test
This just dumps out our Unicode data for given input, and can compare the results to expected values. This has been useful to me for some quick inspection of Unicode data.
Diffstat (limited to 'tests/test-common.h')
-rw-r--r--tests/test-common.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/test-common.h b/tests/test-common.h
new file mode 100644
index 000000000..2b4de821e
--- /dev/null
+++ b/tests/test-common.h
@@ -0,0 +1,10 @@
+#ifndef __TEST_COMMON_H__
+#define __TEST_COMMON_H__
+
+char * diff_with_file (const char *file,
+ char *text,
+ gssize len,
+ GError **error);
+
+
+#endif